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.
- CLAUDE.mdCLAUDE.md
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
- Distinctive: line 42
Use TypeScript strict mode
- Distinctive: line 43
Follow ESLint rules (no warnings allowed)
- Distinctive: line 45
Write tests for new features
- Very specific: line 46
Use conventional commits: feat:, fix:, docs:, refactor:
- Distinctive: line 48
Prefer composition over inheritance
- Distinctive: line 67
Run the relevant tests and linter
- Distinctive: line 69
Commit, push, create a PR, or merge only when the user explicitly requests it
≈ “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.
Files
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 # DocumentationCommands
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 PrettierCoding 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 configurationsrc/types/index.ts- Shared type definitionssrc/lib/api.ts- API clientprisma/schema.prisma- Database schema
Git Workflow
- Inspect the repository's current branch and contribution workflow
- Make the requested local changes while preserving existing work
- Run the relevant tests and linter
- Report the diff and validation results for review
- 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]
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.

