agentleFS
gerodpgerodp/claude-code-dev-skills/CLAUDE.md

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…

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
  1. Distinctive:

    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 …

    line 51

≈ “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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
CLAUDE.md

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/skills

Editing 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 linked

Conventions (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 prefers uv for 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
  • --json on 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.md in sync with the script. Flags, defaults, column names, and behaviour described in SKILL.md must match what the code actually does — the model acts on SKILL.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 by message.id.
  • Subagents are separate transcripts: a subagent (Task) conversation lives in its own agent-*.jsonl file whose sessionId field points at the parent session. Fold these into the parent rather than listing them separately. A type: "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.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.