Get Started with Claude Code¶
| Category | Claude Code |
| Status | โ Completed |
| Repo | nextwork-get-started-with-claude-code |
| Original NextWork guide | nextwork.ai |
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 Get Started with Claude Code guide. It is part of my Learning portfolio and is fully separate from my production projects.
Category: Learning โบ Claude Code
Status: โ
Completed
Overview¶
Claude Code is most useful when it plans first, remembers how I like things done, and has clear limits. I ran each step as its own fresh session so I could see what really carries over, then replayed the result from scratch in a test.
Summary¶
I used the real Claude Code CLI, logged in on my account, to do the whole walkthrough on a practice folder. It inventoried 22 messy files and found duplicates by SHA-256, wrote a plan, and moved the files only after my yes; nothing was deleted. I had it write a CLAUDE.md of my working preferences, and a brand-new session honoured them. The preferences also made it refuse to write outside the allowed folders until I widened the rule, which is the safety net working. For the secret mission it built a read-only /audit command and a standard-library audit script (storage by type, biggest files, duplicates and wasted space, files untouched for a year). The practice folder is a synthetic stand-in, not my real Downloads, and one step was mine: headless Claude Code can't write under .claude/, so I copied the command file in myself.
The checks behind this are in docs/verification.txt.
Skills & tools¶
Claude Code (headless), CLAUDE.md memory, Permissions, Slash commands, Python, git as a safety net
What I built¶
make_mess.py: builds the practice folder (22 fake files, three exact duplicate pairs, six files older than a year).prompts/: the exact prompts I gave Claude Code for each session.docs/session-log.mdis the readable log of every session: tool calls, refusals and replies.PLAN.mdandMOVED.md: the plan Claude wrote and the list of moves it made after my yes.CLAUDE.md: my preferences, plus the one rule I widened later.tools/audit.pyandcommand-src/audit.md(installed as.claude/commands/audit.md): the audit script and the /audit command, both written by Claude Code.AUDIT-REPORT.mdis its output.docs/safety-net.txt: the folder under git, tidied, then restored withgit checkoutandgit clean.tests/verify.py: rebuilds the folder, replays MOVED.md, checks every file's hash is unchanged, then runs the audit and checks its numbers.
How to run¶
python3 make_mess.py downloads # practice folder
python3 tests/verify.py
# with Claude Code installed: claude, then /audit
Verification¶
I ran the verification command on 2026-12-03. The full output is in docs/verification.txt.
/workspace/nextwork-portfolio/.venv/bin/python tests/verify.py | grep -q 'GET STARTED OK' && echo CLAUDE START OK
Notes¶
It wasn't smooth. Early on my CLAUDE.md said downloads/ was the only place Claude could touch, so it correctly refused to create the audit tool until I changed that line. A first run of the audit also stalled because fresh sessions don't remember an earlier plan, so the approval has to be restated in the prompt. Those refusals are kept in the log.
Original project: https://nextwork.ai/projects/f27c129d-947a-48d0-a4c6-8f2f461bc433 ยท Part of my NextWork Learning portfolio (hub).
Verification output¶
From docs/verification.txt:
$ /workspace/nextwork-portfolio/.venv/bin/python tests/verify.py | grep -q 'GET STARTED OK' && echo CLAUDE START OK
CLAUDE START OK
[exit code 0]