agentleFS
sharmapuneet1510sharmapuneet1510/awesome-prompts/CLAUDE.md

awesome-prompts

CLAUDE.md4 starsChanged 6 months agoMITView on GitHub

Guidance for Claude Code working on this repository. Every path and command here is checked by tests/test_claude_md.py; keep it true and keep it short. A rulebook, 5 role-based agents with 43 callable functions (agent:function), reusable skills (44 skills, one file each), prompt templates, and an exporter that turns them into instruction files for 8 AI coding assistants. Overview: README.md · docs: docs/README.md · workflows for 15 use cases: docs/01-workflows/README.md. Generated — do not edit by hand: plugins/ and .claude-plugin/ (committed;…

  • Installs packages
  • In this repositoryOne other file it gives its agents.

The file

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

3 rules. About 0 are common, 1 is distinctive, and 2 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.

  • 2

    Very specific

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

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

    RULE 11: no feature code without approved requirements → design → tasks (skills/spec_driven_development_skill.md).

    line 48
  2. Very specific:

    New skill: follow skills/agent_skill_design_skill.md.

    line 54
  3. Distinctive:

    Claims must be checkable: no count, badge, or "verified" statement without the test or output that shows it.

    line 55

≈ “Common” is an estimate: at least 1 in 5 of the 29,248 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 Claude Code working on this repository. Every path and command here is checked by tests/test_claude_md.py; keep it true and keep it short.

What this repo is

A rulebook, 5 role-based agents with 43 callable functions (agent:function), reusable skills (44 skills, one file each), prompt templates, and an exporter that turns them into instruction files for 8 AI coding assistants. Overview: README.md · docs: docs/README.md · workflows for 15 use cases: docs/01-workflows/README.md.

Where things live

SourceWhat
instructions/master_instruction_set.mdThe rules every agent follows (RULES 0–12)
agents/<role>_agent.md, with agents/<role>/functions/*.md and agents/<role>/modules/*.md
skills/<name>_skill.md, each opening with a Quick Card; index in skills/README.md
prompts/Prompt templates by category
hooks/Hook scripts exported to platforms
tools/Python: tools/exporter.py, tools/skill_validator.py, tools/prompt_preflight/, …
archify/Diagram-as-code (TypeScript), with its own tests
tests/pytest suite, run in CI

Generated — do not edit by hand: plugins/ and .claude-plugin/ (committed; tests/test_plugins_repo.py fails when they are stale), .claude/hooks/, and .cursor/, .windsurf/, .gemini/, .continue/, .github/instructions/ (gitignored). Edit the sources, then re-run the exporter. To use the plugins while working here, run /plugin marketplace add ./ once in Claude Code.

Commands

pip install -e ".[dev]"                 # Python 3.11+
python3 -m pytest -q                    # full suite — CI requires it green
python3 tools/skill_validator.py        # frontmatter and structure of every skill
python3 tools/exporter.py               # regenerate all platform exports
python3 tools/exporter.py --list        # what would be exported
cd archify && npm ci && npm test && npm run lint

Rules for changes here

  • Principles: think before coding, simplicity first, surgical changes, goal-driven execution — instructions/master_instruction_set.md.
  • RULE 11: no feature code without approved requirements → design → tasks (skills/spec_driven_development_skill.md). 11a: a contract, data-shape, dependency, or failure-mode change needs an Accepted ADR (skills/adr_skill.md). RULE 12: label claims FACT, INFERENCE, PROPOSAL, or DECISION.
  • Adding a skill or function changes counts that tests/nemesis/test_nemesis_registration.py checks across the docs — update them.
  • New skill: follow skills/agent_skill_design_skill.md.
  • Claims must be checkable: no count, badge, or "verified" statement without the test or output that shows it. Close an issue only when its acceptance criteria are ticked and CI is green on the merge commit.
  • Conventional commit subjects (feat:, fix:, docs:, chore:).

Current work

Content review tracking issue: #68. Specs and plans for larger items: docs/superpowers/specs/, docs/superpowers/plans/.

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.