claude-skills
CLAUDE.md0 starsChanged 7 days agoMITView on GitHub
This repo is the source of truth for my Claude skills (handoff, spec-first, design-check, tdd, systematic-debugging, verification-before-completion, ux-principles, pr, retro, playbook), the subagents spec-first delegates to (implementer, reviewer) and the handoff hooks (handoff-load.sh, handoff-nudge.sh). Files in this repo (skills, README, commits) are written in English. ~/Developer/claude-skills always stays on main. Do all changes in a separate worktree, so sessions never load a work-in-progress branch: Commit, push and open the PR from the worktree. After I merge the PR: It updates…
In this repository10 other files it gives its agents.
- design-checkSkill
- handoffSkill
- playbookSkill
- prSkill
- retroSkill
- spec-firstSkill
- systematic-debuggingSkill
- tddSkill
- ux-principlesSkill
- verification-before-completionSkill
The file
We split this CLAUDE.md into the rules it gives an agent
7 rules. About 0 are common, 5 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈5
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 19
Commit, push and open the PR from the worktree.
- Very specific: line 31
Run bash tests/skill-frontmatter.test.sh: claude.ai rejects a description containing < or >, and Claude Code caps it at 1,024 characters.
- Distinctive: line 36
Check the app's copy matches the repo:
- Distinctive: line 53
Run each scenario at least 2 times with the new version, or 5 times when the change is only rewording, and compare with the baseline.
- Very specific: line 55
When a skill misbehaves in real use but not in tests, read the real transcripts in ~/.claude/projects/<project>/*.jsonl (the folder name is …
- Distinctive: line 62
If asked to publish all skills, list these exclusions with their reasons and ask before going further.
- Distinctive: line 66
When adding, renaming or removing a skill or hook, update the tables in README.md.
≈ “Common” is an estimate: at least 1 in 5 of the 26,980 CLAUDE.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
claude-skills
This repo is the source of truth for my Claude skills (handoff, spec-first, design-check, tdd, systematic-debugging, verification-before-completion, ux-principles, pr, retro, playbook), the subagents spec-first delegates to (implementer, reviewer) and the handoff hooks (handoff-load.sh, handoff-nudge.sh). Files in this repo (skills, README, commits) are written in English.
How the repo is wired to Claude
~/.claude/skills/<skill>,~/.claude/agents/*.mdand~/.claude/hooks/*.share symlinks into~/Developer/claude-skills. Every Claude Code session on this Mac loads whatever is checked out there, uncommitted edits included.ux-principleshas no local symlink. It reaches Claude through claude.ai sync.handoffis both symlinked and uploaded to claude.ai.~/.claude/skills/synced/has not updated since 21.09 and has no effect on the app. Ignore it.
Branches and worktrees
~/Developer/claude-skills always stays on main. Do all changes in a separate worktree, so sessions never load a work-in-progress branch:
git worktree add ../claude-skills-<name> -b feature/<name> mainCommit, push and open the PR from the worktree. After I merge the PR:
cd ~/Developer/claude-skills && scripts/pr-done.sh <PR number>It updates main, removes the worktree and deletes the branch. The change reaches sessions only after main is updated, because the symlinks point at ~/Developer/claude-skills. GitHub deletes the remote branch on merge. If pr-done refuses (uncommitted changes, or commits on the branch that are not in the PR), stop and tell me instead of cleaning up by hand.
After changing handoff or ux-principles
These two also live in claude.ai, so a change is not live there until re-uploaded.
- Run
bash tests/skill-frontmatter.test.sh: claude.ai rejects a description containing<or>, and Claude Code caps it at 1,024 characters. Then build a ZIP whose top-level folder is named after the skill, from the checkout that has the change (the worktree, or~/Developer/claude-skillsafter the pull):cd skills && zip -r ~/Downloads/<skill>.zip <skill> -x '*.DS_Store' - I delete the old skill in claude.ai (Customize → Skills) and upload the ZIP.
- Check the app's copy matches the repo:
There are severalls -dt ~/Library/Application\ Support/Claude/local-agent-mode-sessions/skills-plugin/*/*/skills/<skill> diff -r <newest path from above> skills/<skill>skills-plugin/*/*folders, so the skill can show up more than once. Check the newest.
ux-principles/SKILL.md ends with a ## Sources section. Keep it: claude.ai gets the skill folder without the README, so the credits must live in the skill itself.
Testing skill changes
For skills where firing or a measurable behaviour matters (tdd, verification-before-completion), use claude plugin eval first: add or reuse a case in evals/ and follow evals/README.md. The no-plugin arm runs alongside, and the version on main is the baseline: run it before changing the skill, at least 5 runs per case. Before trusting a score, read a few kept traces (--keep-temp): a grader can be wrong too.
Skills that rest on judgment (spec-first, pr, retro) and changes no eval case covers are tested with subagents:
- Baseline first: run a subagent on each scenario the change targets with the current version (the one on
main) and record what it does. - Make the change in the worktree. The installed skill is still
main's, so tell the test subagents to read the skill from the worktree path. - Run each scenario at least 2 times with the new version, or 5 times when the change is only rewording, and compare with the baseline.
When a skill misbehaves in real use but not in tests, read the real transcripts in ~/.claude/projects/<project>/*.jsonl (the folder name is the project path with / replaced by -) to see what the model actually did.
What stays out of this repo
humanize-text: its sources' licences are unclear.- Emil Kowalski's animation skills (
animate,find-animation-opportunities,improve-animations,mobile-native,review-animationsin~/.claude/skills): they are copies of emilkowalski/skills.
If asked to publish all skills, list these exclusions with their reasons and ask before going further.
Housekeeping
- When adding, renaming or removing a skill or hook, update the tables in
README.md. - Adapted skills keep their credit in
README.mdandTHIRD_PARTY_NOTICES.md.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

