A community-driven registry for Claude, Cursor, Windsurf, Cline & more. Not affiliated with Anthropic.
Are you the author? Sign in to claim
CLAUDE.md + AGENTS.md 12-rule behavior file for Claude Code, Codex, Cursor, Hermes — drop-in, ~700 tokens, cuts AI codin
Battle-tested behavior rules, prompts, and reusable skill templates for AI coding agents — Claude Code, Codex, Cursor, Hermes Agent.
Built from real-world agent failure modes across 30+ codebases. Drop-in files. No framework. ~700 tokens total.
Karpathy's original 4-rule CLAUDE.md cut Claude coding mistakes from ~40% to ~11%. This pack adds 8 more rules covering the agent-orchestration failures the original didn't — token spirals, silent partial failures, two-pattern pollution, duplicate-function drift.
cc-pro-pack/
├── CLAUDE.md # 12-rule behavior file — drop in project root
├── AGENTS.md # Same rules, Codex/OpenCode variant
├── templates/
│ ├── prd-generator.md # Senior PM prompt → agent-ready PRDs
│ ├── browser-skill-graduation.md # Turn browser workflows into reusable skills
│ └── skill-template.md # SKILL.md frontmatter + structure
├── examples/
│ ├── skill-plan-first.md
│ ├── skill-systematic-debugging.md
│ ├── skill-tdd-loop.md
│ ├── skill-github-pr-workflow.md
│ └── skill-code-review.md
└── docs/
├── why-12-rules.md # The failure mode each rule closes
└── adoption-guide.md # 10-minute setup for any project
CLAUDE.md (or AGENTS.md for Codex) into your project root.## Project specifics block and add your stack, test runner, and any "don't touch X" rules. Keep it under 50 lines.examples/ into .claude/skills/ or skills/.Full rationale for each rule → docs/why-12-rules.md.
Past ~200 lines of CLAUDE.md, compliance drops sharply — rules get buried. The pack holds at 12 rules + minimal boilerplate so the agent actually reads and follows the file. Every rule cites a real failure it closes, not a preference.
MIT. Fork it, modify it, redistribute it, ship it in your company guide.
CLAUDE.md / AGENTS.md against this 12-rule baseline. Use in CI.CLAUDE.md), then layer their skills on top./spec, /plan, /build, /test, /review, /ship). Complements the pack — our 12 rules tell the agent how to behave, their skills tell it what workflow to follow.browser-skill-graduation template.| This pack | anthropic/skills | addyosmani/agent-skills | |
|---|---|---|---|
| Shape | Drop-in CLAUDE.md + 5 example skills | Plugin marketplace | Plugin with slash commands |
| Install | Copy one file | /plugin install | /plugin install |
| Focus | Agent behavior baseline | Domain skills catalog | Dev lifecycle workflow |
| Token cost | ~700 total | Per-skill | Per-skill + hook |
| Works with | Claude Code, Codex, Cursor, Hermes, Copilot | Claude Code | Claude Code, Cursor, Gemini CLI |
Use all three — pack for behavior, anthropic/skills for domain tasks, addyosmani for lifecycle flow.
Pull requests welcome. New rules must cite the failure mode they close.
A practical approach to managing multiple AI agents in Cursor through strict file-tree partitioning and domain boundarie
📄 Configuration files that enhance Cursor AI editor experience with custom rules and behaviors
神奇海螺 cursorrules 阿拉丁神燈想要甚麼許願就有