agentleFS
aws-samplesaws-samples/sample-agent-skills-for-builders/CLAUDE.md

sample-agent-skills-for-builders

CLAUDE.md51 starsChanged 3 months agoApache-2.0View on GitHub

Notes for Claude Code working inside this repository. For the general skill spec (frontmatter, directory layout, conventions), read AGENTS.md — this file only covers repo-local behaviors that agents need on top of the spec. - skills/<kebab-case-name>/SKILL.md — one skill per directory. - skills/<name>/references/ — long-form docs the skill pulls in on demand. - skills/<name>/scripts/ — automation the skill can invoke. - AGENTS.md — canonical spec. Treat it as the source of truth over any loose conventions inferred from existing skills.

The file

We split this CLAUDE.md into the rules it gives an agent

4 rules. About 0 are common, 0 are distinctive, and 4 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈0

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 4

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Follow AGENTS.md exactly — including the template headings (When to Apply, How It Works, Usage, References).

    line 30
  2. Very specific:

    Don't shorten the description frontmatter field — it's the only text an agent sees at startup when deciding whether to load the skill, so …

    line 37
  3. Very specific:

    Keep SKILL.md under ~500 lines.

    line 40
  4. Very specific:

    If you rename a section heading, grep for anchor links first: grep -rn '#section-name' .

    line 41

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

Notes for Claude Code working inside this repository. For the general skill spec (frontmatter, directory layout, conventions), read AGENTS.md — this file only covers repo-local behaviors that agents need on top of the spec.

Repo shape

  • skills/<kebab-case-name>/SKILL.md — one skill per directory.
  • skills/<name>/references/ — long-form docs the skill pulls in on demand.
  • skills/<name>/scripts/ — automation the skill can invoke.
  • AGENTS.md — canonical spec. Treat it as the source of truth over any loose conventions inferred from existing skills.

Useful one-liners

# list skills
ls skills/

# show every SKILL.md's frontmatter
for f in skills/*/SKILL.md; do echo "### $f"; awk '/^---$/{c++; next} c==1' "$f"; done

# find all section headings across skills (spot structural drift)
grep -nE '^## ' skills/*/SKILL.md

When creating a skill

Follow AGENTS.md exactly — including the template headings (When to Apply, How It Works, Usage, References). Don't invent alternative heading names; structural consistency across skills is a feature of this repo.

When editing an existing skill

  • Don't shorten the description frontmatter field — it's the only text an agent sees at startup when deciding whether to load the skill, so richer trigger phrases help discovery.
  • Keep SKILL.md under ~500 lines; move detail into references/.
  • If you rename a section heading, grep for anchor links first: grep -rn '#section-name' .

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.