agentleFS
AgriciDanielAgriciDaniel/claude-code-essentials-vs-code/templates/CLAUDE.md

claude-code-essentials-vs-code / templates

CLAUDE.md61 starsChanged 9 months agoMITView on GitHub

This is an example, not detected project configuration. Replace the stack, commands, paths, and conventions with those verified in your repository before using this file. Record actual dependency versions from its manifests/lockfiles.

  • Reads credentials
  • In this repositoryOne other file it gives its agents.

The file

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

7 rules. About 0 are common, 6 are distinctive, and 1 is 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.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use TypeScript strict mode

    line 42
  2. Distinctive:

    Follow ESLint rules (no warnings allowed)

    line 43
  3. Distinctive:

    Write tests for new features

    line 45
  4. Very specific:

    Use conventional commits: feat:, fix:, docs:, refactor:

    line 46
  5. Distinctive:

    Prefer composition over inheritance

    line 48
  6. Distinctive:

    Run the relevant tests and linter

    line 67
  7. Distinctive:

    Commit, push, create a PR, or merge only when the user explicitly requests it

    line 69

≈ “Common” is an estimate: at least 1 in 5 of the 12,729 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

Project: [Your Project Name]

This is an example, not detected project configuration. Replace the stack, commands, paths, and conventions with those verified in your repository before using this file. Record actual dependency versions from its manifests/lockfiles.

Overview

[Brief description of what this project does]

Tech Stack

  • Frontend: [framework and verified project version, e.g., Next.js, React, Vue, Svelte]
  • Backend: [e.g., Node.js, Python, Go, Rust]
  • Database: [e.g., PostgreSQL, MongoDB, SQLite]
  • Styling: [e.g., TailwindCSS, CSS Modules, Styled Components]
  • Deployment: [e.g., Vercel, AWS, Docker, Railway]

Directory Structure

/src
  /components    # Reusable UI components
  /pages         # Page components / routes
  /lib           # Utility functions
  /hooks         # Custom React hooks
  /types         # TypeScript type definitions
  /styles        # Global styles
/tests           # Test files
/public          # Static assets
/docs            # Documentation

Commands

npm run dev      # Start development server
npm run build    # Build for production
npm run start    # Start production server
npm run test     # Run tests
npm run lint     # Lint code
npm run format   # Format code with Prettier

Coding Standards

  • Use TypeScript strict mode
  • Follow ESLint rules (no warnings allowed)
  • Format with Prettier on save
  • Write tests for new features
  • Use conventional commits: feat:, fix:, docs:, refactor:
  • Maximum function length: 50 lines
  • Prefer composition over inheritance

Environment Variables

Copy .env.example to .env.local and fill in:

DATABASE_URL=
API_KEY=
NEXT_PUBLIC_APP_URL=

Important Files

  • src/lib/config.ts - App configuration
  • src/types/index.ts - Shared type definitions
  • src/lib/api.ts - API client
  • prisma/schema.prisma - Database schema

Git Workflow

  1. Inspect the repository's current branch and contribution workflow
  2. Make the requested local changes while preserving existing work
  3. Run the relevant tests and linter
  4. Report the diff and validation results for review
  5. Commit, push, create a PR, or merge only when the user explicitly requests it

Notes

  • [Add any special instructions]
  • [Known issues or gotchas]
  • [Links to related docs]

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.