claude-code-dev-skills
CLAUDE.md1 starsChanged 5 months agoMITView on GitHub
Guidance for working in this repo. See README.md for the human-facing overview. A collection of Claude Code Agent Skills for software development. Each skill is a self-contained folder under skills/<name>/ with a SKILL.md (frontmatter + agent-facing instructions) and optional scripts/. Claude loads a skill's full instructions only when a task matches its description. install-local.sh symlinks each skill into ~/.claude/skills, so edits in this repo are live immediately — no reinstall. The installed skill at ~/.claude/skills/<name> is the same file as…
In this repository2 other files it gives its agents.
- analyze-claude-sessionsSkill
- _templateSkill
The file
We split this CLAUDE.md into the rules it gives an agent
1 rule. About 0 are common, 1 is distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 51
Present tool output verbatim: When reporting a skill's results to the user, paste the actual output in a code block — don't re-render it …
≈ “Common” is an estimate: at least 1 in 5 of the 12,729 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.md
Guidance for working in this repo. See README.md for the human-facing overview.
What this repo is
A collection of Claude Code Agent Skills for software development. Each skill
is a self-contained folder under skills/<name>/ with a SKILL.md (frontmatter +
agent-facing instructions) and optional scripts/. Claude loads a skill's full
instructions only when a task matches its description.
Layout
skills/
├── _template/ # starting point for a new skill (not installed)
└── <skill-name>/
├── SKILL.md # frontmatter (name, description) + usage reference
└── scripts/
├── <skill>.py # the tool the skill drives
└── test_<skill>.py # offline tests, next to the script
install-local.sh # symlinks skills into ~/.claude/skillsEditing skills locally
install-local.sh symlinks each skill into ~/.claude/skills, so edits in
this repo are live immediately — no reinstall. The installed skill at
~/.claude/skills/<name> is the same file as skills/<name>; edit the repo copy.
./install-local.sh # link every skill (skips _template)
./install-local.sh --list # preview what would be linkedConventions (follow these when changing or adding a skill)
- Stdlib-only Python where practical — scripts must run anywhere with no install
step. If a dependency is unavoidable, document it in the skill's
SKILL.md. (Note: this user prefersuvfor any Python that does need dependencies.) - Offline tests live next to the script and stub all I/O (no network; synthesise
transcripts in tempdirs). Run the test suite before and after every change:
python3 skills/<name>/scripts/test_<name>.py --jsonon anything that reports data, so the model parses a contract rather than scraping a table. Keep the human table and the JSON in sync.- Keep
SKILL.mdin sync with the script. Flags, defaults, column names, and behaviour described inSKILL.mdmust match what the code actually does — the model acts onSKILL.md. - Present tool output verbatim. When reporting a skill's results to the user, paste the actual output in a code block — don't re-render it into a different table format or collapse/aggregate rows.
Gotchas learned from Claude Code transcripts
analyze-claude-sessions parses ~/.claude/projects/**/*.jsonl. Two non-obvious
facts about that format, already handled in the code — preserve them:
- Streaming duplicates: each assistant API response is re-written across several
JSONL lines as it streams, all carrying the identical final
usage. Summing every record double-counts tokens/cost ~2×. De-duplicate bymessage.id. - Subagents are separate transcripts: a subagent (Task) conversation lives in
its own
agent-*.jsonlfile whosesessionIdfield points at the parent session. Fold these into the parent rather than listing them separately. Atype: "agent-name"record inside a normal transcript is just a relabel of that same session — it is not a subagent.
Shell note
This environment rewrites some shell commands through a proxy (RTK). If grep /
python3 heredocs return garbled output, prefix with rtk proxy <cmd> to bypass it.
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.

