Try “Claude Code skills”, “MCP servers for Cursor” or “Codex” · Esc to close

Agent Rules Books 🧩 Skill Open source

Agent rules and skills distilled from Clean Code, Refactoring, DDD and other classic books

Development workflow skills · Open source ★ 2.9k · +32 this week · MIT · updated 2026-09-10

7.3editor score
Visit Agent Rules Books ↗
GitHub stars
2.9k
Stars this week
+32
Forks
508
Licence
MIT
Last push
2026-09-10
Maintainer
ciembor
Installnpx skills add ciembor/agent-rules-books --all

Third-party agent skills run with your permissions. Read the source before installing, and prefer pinned versions.

Works with

Built on the open Agent Skills standard, so it works in every app that supports Agent Skills.

About Agent Rules Books

What it does

Agent Rules Books, by Maciej Ciemborowicz, turns the ideas of well-known software engineering books into rule sets that a coding agent can follow. Instead of telling an agent to "follow Clean Code", you give it a concrete list of practices drawn from that book. The rules are the author's own wording, not quotes from the books, and they are not official material from the authors or publishers.

What is inside

The repository has fourteen rule sets. Each one lives in its own folder with a standard SKILL.md entry point:

  • Design and code quality: A Philosophy of Software Design, Clean Code, Code Complete, The Pragmatic Programmer
  • Architecture: Clean Architecture, Patterns of Enterprise Application Architecture, Designing Data-Intensive Applications
  • Domain-Driven Design: the original book, DDD Distilled and Implementing DDD
  • Change and reliability: Refactoring, Refactoring.Guru, Working Effectively with Legacy Code, Release It!

Every rule set comes in three sizes. mini is the recommended default, nano suits tight context budgets, and full is the complete reference. The skill loads the mini version and keeps the full file for deeper lookups. Separate guides cover how to combine books and how the rules were extracted.

Works with

The README targets Claude Code, Codex and Cursor. It also describes pasting the rules into AGENTS.md, CLAUDE.md, Cursor rules or Copilot custom instructions. Because each book ships a SKILL.md, any agent that supports Agent Skills can load it.

How to install

npx skills add ciembor/agent-rules-books --all
npx skills add ciembor/agent-rules-books --skill refactoring

Maintenance and safety

MIT licensed and actively updated, with a changelog and versioned releases. The content is plain Markdown with no scripts, so it cannot execute anything. The author ran one small experiment comparing a refactor with and without the rules, and calls the result an early signal rather than a benchmark.

Who should use it

Developers who want an agent to refactor or design code according to a specific school of thought, especially on legacy or domain-heavy projects. Pick one or two books that match your codebase rather than loading them all.

agents-md refactoring clean-code domain-driven-design architecture

Pros

  • Fourteen rule sets in mini, nano and full sizes to fit any context budget
  • Plain Markdown with a SKILL.md per book, no scripts to run

Cons

  • Rules are one author's interpretation, not official book material; evidence of benefit is a single informal experiment

Superpowers 🧩 SkillFree

A skills library that makes coding agents plan, test-first and debug systematically

★ 294k · +2.7k this week

Matt Pocock's Skills 🧩 SkillOpen source

Small, composable engineering skills: grilling, TDD, specs, tickets and architecture review

★ 274k · +4.9k this week

8.4 Visit ↗

Agent Skills (Addy Osmani) 🧩 SkillOpen source

25 lifecycle skills and commands that make agents spec, test, review and ship with discipline

★ 100k · +1.4k this week

8.3 Visit ↗

Ponytail 🧩 SkillOpen source

Makes your coding agent write the minimum code a task needs, without cutting safety

★ 151k · +5.3k this week

8.0 Visit ↗

Understand Anything 🧩 SkillOpen source

Turns a codebase into an interactive knowledge graph with tours, search and Q&A

★ 85k · +858 this week

8.0 Visit ↗

Archify 🧩 SkillOpen source

Validated, interactive architecture, sequence and data-flow diagrams compiled from typed JSON

★ 76k · +4.5k this week

7.9 Visit ↗

Popular searches