claude-code-starter
AGENTS.md1 starsChanged 5 months agoMITView on GitHub
Package Manager: <!-- e.g., Bun, pnpm, npm --> - Commands: <install-command>, <run-command> - Executors: <executor> <!-- e.g., bunx, npx --> Testing: <!-- e.g., Vitest (unit) + Playwright (e2e) --> - Unit: <unit-test-command> - E2E: <e2e-test-command> - Type check: <typecheck-command> Dev Server: Check before starting - Verify: lsof -ti:<port> - Don't start duplicates if already running Required Process: 1. Branch from <base-branch>: git checkout <base-branch> && git pull && git checkout -b <type>/name 2. Configure identity: Branch naming: - feature/description -…
- Commits and pushes
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about code style.
Of the AGENTS.md files we read, the 35,196 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
In this repository13 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- address-pr-commentsSkill
- branches-cleanupSkill
- browser-debugSkill
- focused-committerSkill
- jira-attachmentsSkill
- performance-auditSkill
- plan-analyzerSkill
- playwright-cliSkill
- shipSkill
- techdebtSkill
- verify-diffSkill
- writing-great-skillsSkill
The file
We split this AGENTS.md into the rules it gives an agent
12 rules. About 0 are common, 11 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈11
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- could be automatic: a setting could enforce it
- Distinctive: line 18
Dev Server: Check before starting
- Distinctive: line 20
Don't start duplicates if already running
- Very specific: line 67
Always target <base-branch> branch
- Distinctive: line 68
Never merge or delete branches (human review)
- Distinctive: line 70
Commit and push after successful sessions
- Distinctive: line 93
Never bundle unrelated changes in the same commit
- Distinctive: line 94
When in doubt, prefer smaller commits over larger ones
- Distinctive: line 124
Use for broad investigation, not needle searches:
- Distinctive: line 134
Use for tasks requiring multiple rounds of search/analysis:
- Distinctive: line 145
Use Sentry tools for error investigation
- Distinctive: line 146
Debugging workflow: Check errors first → analyze stacktrace → fix → verify -->
- Distinctive: line 153
Delete rows you don't use.
≈ “Common” is an estimate: at least 1 in 5 of the 45,344 AGENTS.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
Project Development Guide
<!-- This is the single source of truth for your project's coding standards,
tooling, and conventions. Claude Code reads this file at the start of
every session via CLAUDE.md's @AGENTS.md reference. -->Essential Tooling
Package Manager: <!-- e.g., Bun, pnpm, npm -->
- Commands:
<install-command>,<run-command> - Executors:
<executor><!-- e.g., bunx, npx -->
Testing: <!-- e.g., Vitest (unit) + Playwright (e2e) -->
- Unit:
<unit-test-command> - E2E:
<e2e-test-command> - Type check:
<typecheck-command>
Dev Server: Check before starting
- Verify:
lsof -ti:<port> - Don't start duplicates if already running
Code Standards
Language & Framework
<!-- Define your language, framework version, and patterns here --><!-- e.g., Vue 3 Composition API with `<script setup>` + TypeScript --><!-- e.g., Auto-imports: No manual imports for common utilities --><!-- e.g., Modern JS: Optional chaining, nullish coalescing, ES6+ features -->
Component/Module Guidelines
<!-- Define how components or modules should be structured --><!-- e.g., Inline types in `defineProps<{}>()` --><!-- e.g., Semantic HTML with single named classes -->
File Organization
<!-- Define your project's directory structure -->
/src/components/ → <!-- naming convention -->
/src/composables/ → <!-- naming convention -->
/src/pages/ → <!-- naming convention -->
/shared/types/ → <!-- naming convention -->Documentation
- JSDoc block comments for complex logic
- Explain "why" not "what"
- Top-level functions use
functionkeyword
Git Workflow
Required Process:
- Branch from
<base-branch>:git checkout <base-branch> && git pull && git checkout -b <type>/name - Configure identity:
git config user.name "<Your Name>" git config user.email "<your@email.com>" - Make changes and commit
- Push and create PR:
gh pr create --base <base-branch> --title "..." --body "..."
Branch naming:
feature/description- New featuresfix/description- Bug fixeschore/description- Maintenance
Critical:
- Always target
<base-branch>branch - Never merge or delete branches (human review)
- Clear, descriptive commit messages
- Commit and push after successful sessions
- Submit PR for review
Pre-commit validation:
<test-command> && <lint-command>PR body template:
## Summary
- Bullet points of changes
## Test Plan
- [ ] Unit tests pass
- [ ] E2E smoke tests pass
- [ ] Manual verification stepsGit Commit Guidelines
Commit Scope
- Make small, focused commits where all changed files contribute to a single logical change
- Never bundle unrelated changes in the same commit
- When in doubt, prefer smaller commits over larger ones
Commit Messages
Use this format:
<type>(<scope>): <short summary>
<detailed explanation of what changed and why>
- Bullet points for specific changes if needed
- Reference issue numbers when applicableTypes: feat, fix, refactor, docs, style, test, chore
Terminology
<!-- Define project-specific terminology here so Claude uses the right words --><!-- Example:
**Rankings, NOT Ratings**
- The app doesn't use star ratings
- **Position** = rank in personal list
- **Score** = normalized score for comparison
-->Subagent Usage
When to use Task tool:
Explore Agent (Codebase Understanding)
Use for broad investigation, not needle searches:
"Where are errors from the client handled?"
"What is the codebase structure?"
"How does authentication work across components?"Don't use for: "Find the calculateTotal function" (use Grep instead)
General-Purpose Agent (Complex Multi-Step)
Use for tasks requiring multiple rounds of search/analysis:
"Analyze the algorithm and suggest optimizations"
"Find all API integration points and document them"
"Investigate performance bottlenecks"Error Monitoring
<!-- Configure your error monitoring integration --><!-- Example:
- Use **Sentry** tools for error investigation
- **Debugging workflow**: Check errors first → analyze stacktrace → fix → verify
-->External Integrations & Skill Requirements
<!-- Declare the tools/MCP servers/credentials the bundled skills rely on, so
Claude knows what's available. See README "Requirements" for the full list.
Delete rows you don't use. --><!-- Example:
- **Base branch:** `main` (ship / verify-diff target this)
- **Quality gates:** `<typecheck-command>`, `<lint-command>`, `<test-command>`
- **/goal:** available (Claude Code v2.1.139+) — /ship runs toward a goal condition
- **GitHub CLI:** `gh` authenticated — required by /ship (GitHub items), address-pr-comments
- **Chrome DevTools MCP:** connected — required by browser-debug, performance-audit
- **Atlassian MCP + env vars:** required by jira-attachments and /ship (Jira items)
(`ATLASSIAN_EMAIL`, `ATLASSIAN_API_TOKEN`, `ATLASSIAN_SITE` in shell profile)
-->Configuration Reference
<!-- Point to key config files --><!-- Example:
- Framework config: `.config/nuxt.ts`
- CSS variables: `src/assets/styles/globals.css`
-->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.

