agentleFS
nathanchasenathanchase/claude-code-starter/AGENTS.md

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

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
  1. Distinctive:

    Dev Server: Check before starting

    line 18
  2. Distinctive:

    Don't start duplicates if already running

    line 20
  3. Very specific:

    Always target <base-branch> branch

    line 67
  4. Distinctive:

    Never merge or delete branches (human review)

    line 68
  5. Distinctive:

    Commit and push after successful sessions

    line 70
  6. Distinctive:

    Never bundle unrelated changes in the same commit

    line 93
  7. Distinctive:

    When in doubt, prefer smaller commits over larger ones

    line 94
  8. Distinctive:

    Use for broad investigation, not needle searches:

    line 124
  9. Distinctive:

    Use for tasks requiring multiple rounds of search/analysis:

    line 134
  10. Distinctive:

    Use Sentry tools for error investigation

    line 145
  11. Distinctive:

    Debugging workflow: Check errors first → analyze stacktrace → fix → verify -->

    line 146
  12. Distinctive:

    Delete rows you don't use.

    line 153

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

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

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 function keyword

Git Workflow

Required Process:

  1. Branch from <base-branch>: git checkout <base-branch> && git pull && git checkout -b <type>/name
  2. Configure identity:
    git config user.name "<Your Name>"
    git config user.email "<your@email.com>"
  3. Make changes and commit
  4. Push and create PR: gh pr create --base <base-branch> --title "..." --body "..."

Branch naming:

  • feature/description - New features
  • fix/description - Bug fixes
  • chore/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 steps

Git 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 applicable

Types: 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` -->

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.