A 12-rule CLAUDE.md + AGENTS.md baseline for AI coding agents. Drop one file in your project root. Cuts coding mistakes from about 40% to about 3%.
MIT ~700 tokens Claude Code Codex Cursor Hermes
Karpathy's original 4-rule CLAUDE.md template cut Claude coding mistakes from ~40% to ~11%. Solid floor. After running it across 30+ codebases I kept hitting failure modes the original didn't catch:
This pack adds 8 more rules (12 total) that each close a specific, named failure mode.
curl -fsSL https://raw.githubusercontent.com/sisyphusse1-ops/claude-code-pro-pack/main/CLAUDE.md -o CLAUDE.md
# or
curl -fsSL https://raw.githubusercontent.com/sisyphusse1-ops/claude-code-pro-pack/main/AGENTS.md -o AGENTS.md
git add CLAUDE.md
git commit -m "chore: adopt claude-code-pro-pack baseline"
CLAUDE.md — the 12-rule baseline for Claude Code, Cursor, CopilotAGENTS.md — same rules in the Codex / OpenCode formattemplates/prd-generator.md — a Senior-PM prompt that produces agent-ready PRDstemplates/browser-skill-graduation.md — turn any browser workflow into a reusable skilltemplates/skill-template.md — ready-to-fill SKILL.md frontmatter + bodyexamples/ — 5 working skills (plan-first, systematic-debugging, TDD loop, PR workflow, code review)docs/why-12-rules.md — which failure mode each rule closesdocs/adoption-guide.md — 10-minute setup for any projectLint any CLAUDE.md or AGENTS.md against the 12-rule baseline. Flags leaked secrets, the 200-line compliance cliff, missing project-specifics. Single Python file, zero dependencies, CI-ready JSON output.
Single-file agentic coding CLI that loads this pack's CLAUDE.md as the rulebook for Gemma 4 (via Ollama or OpenRouter). Demonstrates CLAUDE.md working as a cross-model standard. Runs on a Raspberry Pi.
MIT. Fork it, modify it, redistribute it, ship it inside your company guide. Pull requests welcome — new rules must cite the failure mode they close.