agent-rules-books
Rules for coding agents distilled from classic software engineering books.
Install
npx skills add ciembor/agent-rules-books -a claude-code
npx skills add ciembor/agent-rules-books -a claude-code -g
Or copy the skill folder into .claude/skills/ (project) or ~/.claude/skills/ (all projects).
npx skills add ciembor/agent-rules-books -a codex
npx skills add ciembor/agent-rules-books -a codex -g
Or copy the skill folder into .agents/skills/ (project) or ~/.agents/skills/ (all projects).
npx skills add ciembor/agent-rules-books -a cursor
npx skills add ciembor/agent-rules-books -a cursor -g
Or copy the skill folder into .agents/skills/ (project) or ~/.cursor/skills/ (all projects).
npx skills add ciembor/agent-rules-books -a github-copilot
npx skills add ciembor/agent-rules-books -a github-copilot -g
Or copy the skill folder into .agents/skills/ (project) or ~/.copilot/skills/ (all projects).
Run npx skills add ciembor/agent-rules-books --all, or --list to see the books.
When to use
Add the relevant rule set when you want an agent to follow a specific design philosophy, like keeping modules deep or isolating domain logic, without pasting book summaries into every prompt.
These are rule sets for coding agents, distilled from classic software engineering books. The sources include A Philosophy of Software Design, Clean Architecture, Clean Code and Designing Data-Intensive Applications, and cover refactoring, architecture, DDD, legacy code and reliability.
Each set comes in three sizes: mini is recommended for most tasks, nano is for tight context budgets, and full is the complete reference. They are published both as AGENTS.md rules and as skills with a standard SKILL.md entrypoint. Install everything with npx skills add ciembor/agent-rules-books --all, or one book at a time with --skill. A USAGE.md covers always-on versus on-demand setups for Codex, Claude Code and Cursor.
Related skills
-
rea
Lets your agent reverse engineer an app from the outside, down to native binaries, and then build its own version.
-
superpowers
A set of development habits for your agent: test first, debug systematically, and plan before you code.
-
skills
The skills Matt Pocock uses in his own day-to-day engineering work.
-
ECC
A ready-made setup for coding agents that adds skills, persistent memory and security checks.