agentleFS
Sagargupta16Sagargupta16/claude-code-recipes/CLAUDE.md

claude-code-recipes

CLAUDE.md8 starsChanged 2 months agoMITView on GitHub

This file stacks on top of the workspace root at C:\Code\GitHub\: - Root CLAUDE.md -- voice, rules, routing map, references, skills, slash commands, conventions. - Root MEMORY.md -- live facts across repos. - Root STATUS.md -- live PR/CI/security dashboard. - .claude/resources/ -- deep reference for collaboration, workflow, git, OSS, debugging, voice. Read those first. The guidance below only adds repo-specific context -- it does not override anything in the root. This is a recipe collection repository for Claude Code. It…

The file

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

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

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈6

    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:

    Every recipe must work out of the box - no setup beyond copying the file

    line 37
  2. Distinctive:

    Keep recipes self-contained - don't require reading other files

    line 49
  3. Distinctive:

    Use imperative mood in instructions: "Run the tests" not "You should run the tests"

    line 50
  4. Distinctive:

    Add application code - this is a recipe collection, not a framework

    line 55
  5. Distinctive:

    Create deeply nested directory structures - keep it flat

    line 56
  6. Distinctive:

    Write recipes that require specific API keys or paid services to function

    line 57

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

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

CLAUDE.md

This file stacks on top of the workspace root at C:\Code\GitHub\:

  • Root CLAUDE.md -- voice, rules, routing map, references, skills, slash commands, conventions.
  • Root MEMORY.md -- live facts across repos.
  • Root STATUS.md -- live PR/CI/security dashboard.
  • .claude/resources/ -- deep reference for collaboration, workflow, git, OSS, debugging, voice.

Read those first. The guidance below only adds repo-specific context -- it does not override anything in the root.

Claude Code Recipes - Project Config

Project

This is a recipe collection repository for Claude Code. It contains copy-paste commands, subagents, hooks, skills, MCP configs, workflows, and CLAUDE.md templates. There is no application code - only Markdown files, shell scripts, and JSON configs.

Structure

commands/          # Slash commands (.md) for .claude/commands/
subagents/         # Agent definitions (.md) for .claude/agents/
hooks/             # Shell scripts (.sh) and settings examples for hooks
skills/            # SKILL.md files organized in subdirectories
mcp-configs/       # MCP server configuration (.json) for .mcp.json
workflows/         # End-to-end workflow guides (.md)
claude-md/         # CLAUDE.md templates for different project types
.claude-plugin/    # marketplace.json, generated by scripts/build_marketplace.py
scripts/           # Validator, hook behavior tests, marketplace generator, postgres MCP probe

The repo is also a plugin marketplace with five plugins (recipe-commands, recipe-agents, recipe-skills, recipe-hooks, recipe-guards). Each plugin's source is one recipe directory and lists its files by name, so the directory READMEs never load. Never hand-edit .claude-plugin/marketplace.json: change the recipes or scripts/build_marketplace.py, then run python scripts/build_marketplace.py. Its version comes from the newest CHANGELOG.md heading.

Gates: bash scripts/validate-recipes.sh, bash scripts/test-hooks.sh, shellcheck -S style hooks/*.sh scripts/*.sh, claude plugin validate --strict .

Conventions

  • Every recipe must work out of the box - no setup beyond copying the file
  • Markdown files use standard GitHub-Flavored Markdown
  • Shell scripts use #!/usr/bin/env bash and set -euo pipefail
  • JSON files include _comment fields for documentation
  • Each directory has a README.md index explaining its contents
  • File names use kebab-case: code-review.md, pre-commit-lint.sh
  • Skills use SKILL.md (uppercase) inside a kebab-case directory

Writing Style

  • Be specific and actionable - concrete rules over vague principles
  • Include examples (good and bad) in skills and commands
  • Keep recipes self-contained - don't require reading other files
  • Use imperative mood in instructions: "Run the tests" not "You should run the tests"
  • Recipes ship emoji-free; enforce on contributor PRs too

Do NOT

  • Add application code - this is a recipe collection, not a framework
  • Create deeply nested directory structures - keep it flat
  • Write recipes that require specific API keys or paid services to function
  • Include project-specific conventions - recipes must be generic

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.