CLAUDE.md
plugins/core/agents/CLAUDE.mdCLAUDE.md
Quality
66/100
Scores the file, not the repository.Length
506 words
12 headings · 5 code blocksRepository
24
— · pushed 41 days agoLast changed
3 days ago
First indexed 3 days ago.1# Creating Claude Code Agents23When creating custom agent files in `.claude/agents/`, the YAML frontmatter format4matters.56## Valid Frontmatter Format78```yaml9---10name: agent-name11# prettier-ignore12description: "Use when reviewing for X, checking Y, or verifying Z - include all semantic triggers"13model: opus14---15```1617**Critical constraints:**1819- **Single line only** - Claude Code doesn't parse block scalars (`>` or `|`) correctly20- **Use `# prettier-ignore`** - Add before description to allow longer, richer triggers21- **Use quotes** - Always quote descriptions to handle special characters like colons2223## Description Philosophy2425Agents are LLM-triggered. Descriptions should match against **user requests** to enable26Claude Code to auto-select the right agent. Use "Use when..." format with rich semantic27triggers.2829**Do: Match user language**3031Think about what users will say:3233- "review the code"34- "check if this is production ready"35- "debug this error"36- "test in the browser"3738Include those exact phrases in your descriptions.3940**Do: Include variations**4142```yaml43# prettier-ignore44description: "Use when reviewing for production readiness, fragile code, error handling, resilience, reliability, or catching bugs before deployment"45```4647This triggers on: "review for production", "check fragile code", "error handling48review", "catch bugs", etc.4950**Don't: Describe what it does**5152Bad: `"A code reviewer that analyzes production readiness and error handling patterns"`5354This is technical documentation, not a semantic trigger.5556## Example Agent5758```yaml59---60name: test-runner61# prettier-ignore62description: "Use when running tests, checking test results, or verifying tests pass before committing"63model: haiku64---65I run tests using the specified test runner (bun, pnpm, pytest, etc) and return a terse66summary with pass count and failure details only. This preserves your context by67filtering verbose test output to just what's needed for fixes.6869[Rest of agent prompt...]70```7172## Reviewer Agent Structure7374Reviewer agents (agents that analyze code and report findings) should include two75additional sections:7677### Review Signals7879Replace prose "What I Look For" sections with scannable bullet lists. These prime the80LLM to pattern-match against specific signals.8182```markdown83## Review Signals8485These patterns warrant investigation:8687**Category name**8889- Specific pattern to look for90- Another specific pattern91- Concrete example of the smell9293**Another category**9495- Pattern96- Pattern97```9899Bullet structure primes the LLM to look for these specific signals. Each bullet becomes100a micro-prompt. Not exhaustive—representative signals that train attention in the right101direction.102103### Handoff104105Reviewer agents typically run as subagents called by an orchestrator (like106multi-review). Add context so the agent understands its output goes to another LLM, not107a human.108109```markdown110## Handoff111112You're a subagent reporting to an orchestrating LLM (typically multi-review). The113orchestrator will synthesize findings from multiple parallel reviewers, deduplicate114across agents, and decide what to fix immediately vs. decline vs. defer.115116Optimize your output for that receiver. It needs to act on your findings, not read a117report.118```119120Do NOT prescribe output format in the Handoff section. Given context about who receives121the output and what they'll do with it, the agent can determine the most effective122format itself. Avoid over-specification.123
Also in TechNickAI/ai-coding-config
Diff this repo’s formatsOne repository carrying more than one format is the comparison this product exists for: does anyone actually write different content in each file, or is one a copy of the other?
| Repository | Format | Stack | Covers | Score | Changed |
|---|---|---|---|---|---|
| TechNickAI/ai-coding-config.cursor/rules/git-commit-message.mdc · 24 | Cursor rules | archgitdeployment | 58/100 | 3 days ago | |
| TechNickAI/ai-coding-config.cursor/rules/git-interaction.mdc · 24 | Cursor rules | testlint-formatstylearch+4 | 88/100 | 3 days ago | |
| TechNickAI/ai-coding-config.cursor/rules/heart-centered-ai-philosophy.mdc · 24 | Cursor rules | no sections | 30/100 | 3 days ago | |
| TechNickAI/ai-coding-config.cursor/rules/ruff-linting.mdc · 24 | Cursor rules | lint-format | 43/100 | 3 days ago | |
| TechNickAI/ai-coding-configAGENTS.md · 24 | AGENTS.md | stylearchgitdo-not+1 | 78/100 | 3 days ago | |
| TechNickAI/ai-coding-config.cursor/rules/external-apis.mdc · 24 | Cursor rules | testtesting-strategyapi | 54/100 | 3 days ago | |
| TechNickAI/ai-coding-config.claude-plugin/CLAUDE.md · 24 | CLAUDE.md | deployment | 25/100 | 3 days ago | |
| TechNickAI/ai-coding-config.claude/AGENTS.md · 24 | AGENTS.md | archagent-behaviour | 54/100 | 3 days ago | |
| TechNickAI/ai-coding-config.claude/CLAUDE.md · 24 | CLAUDE.md | lint-formatstyletypestesting-strategy+1 | 62/100 | 3 days ago | |
| TechNickAI/ai-coding-config.cursor/AGENTS.md · 24 | AGENTS.md | archdo-notagent-behaviour | 56/100 | 3 days ago | |
| TechNickAI/ai-coding-config.cursor/rules/autonomous-development-workflow.mdc · 24 | Cursor rules | testlint-formatgitagent-behaviour | 77/100 | 3 days ago | |
| TechNickAI/ai-coding-config.cursor/rules/code-review-standards.mdc · 24 | Cursor rules | testtypestesting-strategygit+2 | 59/100 | 3 days ago | |
| TechNickAI/ai-coding-config.cursor/rules/code-style-and-zen-of-python.mdc · 24 | Cursor rules | lint-formatstyledocs | 62/100 | 3 days ago | |
| TechNickAI/ai-coding-config.cursor/rules/fixing-github-actions-builds.mdc · 24 | Cursor rules | setupbuilddo-notagent-behaviour | 81/100 | 3 days ago | |
| TechNickAI/ai-coding-config.cursor/rules/git-worktree-task.mdc · 24 | Cursor rules | lint-formatgitagent-behaviour | 38/100 | 3 days ago | |
| TechNickAI/ai-coding-config.cursor/rules/naming-stuff.mdc · 24 | Cursor rules | style | 48/100 | 3 days ago | |
| TechNickAI/ai-coding-config.cursor/rules/prompt-engineering.mdc · 24 | Cursor rules | setuptestlint-formatstyle+6 | 57/100 | 3 days ago | |
| TechNickAI/ai-coding-config.cursor/rules/trust-and-decision-making.mdc · 24 | Cursor rules | no sections | 48/100 | 3 days ago | |
| TechNickAI/ai-coding-config.cursor/rules/user-facing-language.mdc · 24 | Cursor rules | lint-formatstylearch | 66/100 | 3 days ago | |
| TechNickAI/ai-coding-configplugins/core/skills/CLAUDE.md · 24 | CLAUDE.md | lint-formatagent-behaviour | 58/100 | 3 days ago |
Diff against .cursor/rules/git-commit-message.mdc Diff against .cursor/rules/git-interaction.mdc Diff against .cursor/rules/heart-centered-ai-philosophy.mdc Diff against .cursor/rules/ruff-linting.mdc Diff against AGENTS.md Diff against .cursor/rules/external-apis.mdc Diff against .claude-plugin/CLAUDE.md Diff against .claude/AGENTS.md Diff against .claude/CLAUDE.md Diff against .cursor/AGENTS.md Diff against .cursor/rules/autonomous-development-workflow.mdc Diff against .cursor/rules/code-review-standards.mdc Diff against .cursor/rules/code-style-and-zen-of-python.mdc Diff against .cursor/rules/fixing-github-actions-builds.mdc Diff against .cursor/rules/git-worktree-task.mdc Diff against .cursor/rules/naming-stuff.mdc Diff against .cursor/rules/prompt-engineering.mdc Diff against .cursor/rules/trust-and-decision-making.mdc Diff against .cursor/rules/user-facing-language.mdc Diff against plugins/core/skills/CLAUDE.md
Similar configs
Same format, overlapping stack, ranked by quality.
| Repository | Format | Stack | Covers | Score | Changed |
|---|---|---|---|---|---|
| livewire/livewireCLAUDE.md · 24k | CLAUDE.md | setupbuildteststyle+4 | 100/100 | 3 days ago | |
| filamentphp/filamentCLAUDE.md · 32k | CLAUDE.md | buildtestlint-formatstyle+7 | 100/100 | 3 days ago | |
| stacklok/toolhiveCLAUDE.md · 2.0k | CLAUDE.md | buildteststylearch+4 | 100/100 | 3 days ago | |
| dotCMS/corecore-web/CLAUDE.md · 949 | CLAUDE.md | teststylearchtesting-strategy+3 | 100/100 | 3 days ago | |
| Adit-Jain-srm/NightmareNetCLAUDE.md · 45 | CLAUDE.md | buildtestlint-formatstyle+6 | 100/100 | 3 days ago | |
| microsoft/playwrightCLAUDE.md · 94k | CLAUDE.md | buildtestlint-formatstyle+7 | 100/100 | 3 days ago | |
| nimbalyst/nimbalystpackages/android/CLAUDE.md · 1.4k | CLAUDE.md | setupbuildstylearch+2 | 100/100 | 3 days ago | |
| bagisto/bagistoCLAUDE.md · 28k | CLAUDE.md | setupbuildteststyle+5 | 100/100 | 3 days ago |
