Claude Code Skills Basics¶
| Category | Claude Code |
| Status | โ Completed |
| Repo | nextwork-claude-code-skills-basics |
| Original NextWork guide | nextwork.ai |
| Proof | Official NextWork write-up: web ยท PDF |
Learning project
Practice work following a NextWork guide, separate from my production projects.
๐ NextWork learning project. This is a practice project I built while working through NextWork's Claude Code Skills Basics guide. It is part of my Learning portfolio and is fully separate from my production projects.
Category: Learning โบ Claude Code
Status: โ
Completed
Proof: Official NextWork write-up: web ยท PDF
Overview¶
Two project-level skills in .claude/skills/. smart-commit stages changes and proposes a Conventional Commit message from the diff. changelog turns the commits since the last tag into a grouped CHANGELOG section. smart-commit chains into changelog for feat/fix commits. A PostToolUse hook tidies every file Claude edits.
Summary¶
Both skills (smart-commit, changelog), their helper scripts, the commit โ changelog pipeline, and the PostToolUse format hook (secret mission) are built and tested. In a live Claude Code session, typing /smart-commit loaded the skill, made a Conventional Commit, then chained into the changelog skill and committed CHANGELOG.md.
The checks behind this are in docs/verification.txt.
Skills & tools¶
Claude Code skills, Git, Conventional Commits, Bash, Claude Code hooks
What I built¶
- .claude/skills/smart-commit/: SKILL.md and scripts/suggest.sh.
- .claude/skills/changelog/: SKILL.md and scripts/changelog.sh.
- .claude/hooks/format.sh and .claude/settings.json: the PostToolUse hook (secret mission).
- tests/run.sh: an end-to-end check in a temporary repo.
docs/claude-code-session.md: a live Claude Code run./smart-commitโ stage +feat(src): โฆcommit โ the changelog skill โdocs(changelog): updatecommit.
How to run¶
bash tests/run.sh
# In your own repo: copy .claude/ in, start `claude`, and say "commit this" or "write a changelog"
Verification¶
I ran the verification command on 2026-12-02. The full output is in docs/verification.txt.
bash tests/run.sh && test -s docs/claude-code-session.md && grep -q 'Tool call' docs/claude-code-session.md && echo 'OK live Claude Code transcript present'
Notes¶
Model substitution: the guide uses Claude Code with a Claude subscription. I don't have a Claude account, so I ran the real Claude Code CLI (v2.1.335) headlessly and pointed it at a substitute model, either a local Ollama model or a free OpenRouter model, through the Anthropic-compatible API (ANTHROPIC_BASE_URL). Claude Code's skills, hooks, settings, and tools behave the same; only the model answering is different. The full session transcript is in docs/claude-code-session.md.
Original project: https://nextwork.ai/projects/5bae2568-dd25-5e78-80f4-66a02afac9ca ยท Part of my NextWork Learning portfolio (hub).
Verification output¶
From docs/verification.txt:
$ bash tests/run.sh && test -s docs/claude-code-session.md && grep -q 'Tool call' docs/claude-code-session.md && echo 'OK live Claude Code transcript present'
suggested: feat(src): update calc.py
suggested: fix(src): update calc.py
suggested: docs(root): update README.md
## 2026-12-02 (since v0.1.0)
### Features
- **calc**: add total() (11672d5)
### Fixes
- **calc**: ignore None values (5839f9c)
### Docs
- usage section (367e8c1)
ALL SKILL CHECKS PASSED
OK live Claude Code transcript present
formatted /tmp/tmp.sTSO7GnFDF/src/messy.py. Tip: run /smart-commit when this change is done.
[exit code 0]