claude-agent-team-starter
CLAUDE.md1 starsChanged 8 months agoMITView on GitHub
This file is the primary operating instruction for Claude Code in any project that has installed this starter. It is intentionally concise. Detailed project context belongs in references/. Procedural detail belongs in skills. Detects present stacks and generates only the applicable reference files. Creates references/methodology.md with observed conventions if patterns are visible in the code. Or use /dev-workflow to run all 15 steps in sequence with automatic checkpoints.
In this repository12 other files it gives its agents.
- create-prSkill
- delete-branchSkill
- dev-workflowSkill
- fix-planSkill
- implement-fixSkill
- implement-planSkill
- init-referencesSkill
- merge-mainSkill
- plan-featureSkill
- read-referencesSkill
- test-lintSkill
- update-referencesSkill
The file
Show its rules and text
We split this CLAUDE.md into the rules it gives an agent
17 rules. About 0 are common, 6 are distinctive, and 11 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.
11
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 24
Start with
/init-references: Run it from the project root when onboarding a codebase or after adding a new stack. - Very specific: line 26
Read references before planning: Use references/ as the primary project map.
- Distinctive: line 28
Do not invent structure: Every file path, route, model, component, or API referenced in a plan must be traceable to a reference file or a …
- Very specific: line 30
Separate planning from implementation: Use /plan-feature to produce a written plan before editing any files.
- Very specific: line 32
Refresh references before closing a task: Run /update-references auto after development work.
- Very specific: line 48
Run /read-references auto to load relevant maps
- Very specific: line 49
Run /plan-feature to identify affected files and produce an implementation plan
- Very specific: line 51
Run /implement-plan to execute the approved plan
- Very specific: line 52
Run /test-lint to validate
- Very specific: line 59
Run /update-references auto to refresh affected maps
- Very specific: line 60
Run /create-pr to push and open a pull request
- Distinctive: line 61
Do not mark the task complete until references reflect the current code
- Very specific: line 75
Keep this file operational, not explanatory.
- Distinctive: line 76
Keep procedural steps inside skills, not here.
- Distinctive: line 77
Prefer hook-enforced rules over guidelines that depend on memory.
- Distinctive: line 78
Never fabricate paths, APIs, or structure not present in references or code.
- Distinctive: line 79
When in doubt about scope, ask before expanding.
≈ “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.
Files
Claude Agent Team Starter
This file is the primary operating instruction for Claude Code in any project that has installed this starter. It is intentionally concise. Detailed project context belongs in references/. Procedural detail belongs in skills.
Purpose
- Give Claude Code a clean agent-team structure through
.claude/ - Build durable project maps in
references/from real code - Reduce repeated full-repo reading by keeping maps current after each task
Supported layouts
- Laravel only
- React only
- React Native only
- Laravel + React
- Laravel + React Native
- Laravel + React + React Native
- React + React Native
- Mixed monorepos (
apps/,packages/,services/structures)
Non-negotiable rules
- Start with
/init-references. Run it from the project root when onboarding a codebase or after adding a new stack. Do not proceed to implementation without reference maps in place. - Read references before planning. Use
references/as the primary project map. Do targeted code reads only where the task requires them. Do not re-read the full codebase. - Do not invent structure. Every file path, route, model, component, or API referenced in a plan must be traceable to a reference file or a direct code read. If something is absent from both, say so explicitly rather than assuming.
- Separate planning from implementation. Use
/plan-featureto produce a written plan before editing any files. Require explicit approval before starting/implement-plan. - Refresh references before closing a task. Run
/update-references autoafter development work. The post-task hook enforces this — tasks cannot be marked complete if affected reference files were not updated. - Treat absent reference files as not applicable. A missing
references/mobile_map.mdmeans no React Native app was detected. It does not mean initialization failed.
Default operating flow
Phase 1 — Bootstrap (once per project)
/init-referencesDetects present stacks and generates only the applicable reference files. Creates references/methodology.md with observed conventions if patterns are visible in the code.
Phase 2 — Plan and implement (each task)
- Run
/read-references autoto load relevant maps - Run
/plan-featureto identify affected files and produce an implementation plan - Get explicit approval before proceeding
- Run
/implement-planto execute the approved plan - Run
/test-lintto validate - Fix failures with
/fix-plan+/implement-fixif needed
Or use /dev-workflow to run all 15 steps in sequence with automatic checkpoints.
Phase 3 — Close the task
- Run
/update-references autoto refresh affected maps - Run
/create-prto push and open a pull request - Do not mark the task complete until references reflect the current code
Reference file roles
| File | What it tracks |
references/schema.md | Database tables, columns, indexes, relationships |
references/backend_map.md | Laravel routes, controllers, services, models, middleware |
references/frontend_map.md | React components, hooks, stores, services, routing |
references/mobile_map.md | React Native screens, navigation, Expo config, mobile services |
references/methodology.md | Project conventions, architecture patterns, naming rules |
Working principles
- Keep this file operational, not explanatory. Prose belongs in
docs/. - Keep procedural steps inside skills, not here.
- Prefer hook-enforced rules over guidelines that depend on memory.
- Never fabricate paths, APIs, or structure not present in references or code.
- When in doubt about scope, ask before expanding.
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
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.

