claude-code-production-starter
CLAUDE.md0 starsChanged 5 months agoMITView on GitHub
Maintain a minimal Node.js status service that demonstrates a production-minded Claude Code project configuration. Optimize for correctness, safety, and clear handoffs. See docs/ARCHITECTURE.md for boundaries and extension guidance.
We split this CLAUDE.md into the rules it gives an agent
7 rules. About 0 are common, 7 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈7
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 12
Keep changes scoped to the user's request.
- Distinctive: line 13
Do not expose, read, or modify secrets.
- Distinctive: line 14
Never push, deploy, publish, or release without explicit user approval.
- Distinctive: line 15
Do not bypass failing tests or weaken safeguards to make verification pass.
- Distinctive: line 16
Add or update tests when behavior changes.
- Distinctive: line 17
Prefer standard-library solutions unless a dependency provides clear value.
- Distinctive: line 45
No credentials or local-only files are added.
≈ “Common” is an estimate: at least 1 in 5 of the 25,680 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 Code Production Starter
Goal
Maintain a minimal Node.js status service that demonstrates a production-minded Claude Code project configuration. Optimize for correctness, safety, and clear handoffs.
Working Agreement
- Inspect existing code and tests before editing.
- Keep changes scoped to the user's request.
- Do not expose, read, or modify secrets.
- Never push, deploy, publish, or release without explicit user approval.
- Do not bypass failing tests or weaken safeguards to make verification pass.
- Add or update tests when behavior changes.
- Prefer standard-library solutions unless a dependency provides clear value.
- Report verification commands and their outcomes.
Architecture
src/status.js: domain logic for constructing service status.src/server.js: HTTP boundary and request handling.test/: Node test-runner coverage.scripts/: deterministic validation and release helpers..claude/: Claude Code automation and project guidance.
See docs/ARCHITECTURE.md for boundaries and extension guidance.
Commands
npm start # Run the service on PORT or 3000
npm test # Run the test suite
npm run lint # Run repository checks
npm run format # Validate JSON formatting
npm run verify # Run the complete production gateDefinition of Done
- Requested behavior is implemented.
- Relevant tests cover success and failure paths.
npm run verifypasses.- No credentials or local-only files are added.
- The final response states what changed and how it was verified.
Context Map
- API work: read
.claude/rules/api.md. - Tests: read
.claude/rules/testing.md. - Security-sensitive work: read
.claude/rules/security.md. - Release preparation: use
/ship. - Code review: delegate to
code-revieweror use/review-change. - Failure diagnosis: delegate to
debuggeror use/debug-failure.
In this repository3 other files it gives its agents.
- debug-failureSkill
- review-changeSkill
- shipSkill
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.

