Agent Rules / Skills from Programming Books

Rules and skills for AI coding agents (Codex, Cursor, Claude Code) distilled from classic software engineering books on refactoring, architecture, DDD, and code quality.

Stars
★ 3.1k
Last updated
1mo ago
License
MIT

At a glance

How it runs
CLIAgent plugin / skill
Works with
Universal · cross-platformCodex · Claude CodeChatGPT (Partial support)
Cost
Free, no paid service needed
Setup effort
Low · running in minutes
You'll need
GitMarkdown editorShell / CLI
Typical use
A developer starting a new project in Codex wants to apply Clean Code principles; they can add the clean-code rules to AGENTS.md.
Not a fit if
  • Teams expecting complete understanding without reading the books
  • Users wanting automated setup or a hosted service
  • Teams needing validation for every book's rule set

What does this agent do, and when should you use it?

This MIT-licensed repository provides ready-to-use AGENTS.md rule sets and skills for AI coding agents, distilled from well-known software engineering books such as Refactoring, Clean Architecture, and Domain-Driven Design. Each rule set is available in three tool-agnostic Markdown versions: mini (recommended), nano (compact), and full (canonical). The repository includes per-book rule files, usage guidance (USAGE.md), compatibility notes (COMPATIBILITY.md), changelog, and a validation experiment showing that using a mini rules set during refactoring yields code that better implements the book's principles compared to merely mentioning the book title. Rules can be integrated into Codex, Cursor, Claude Code, and GitHub Copilot.

The repository is a collection of Markdown files, each dedicated to a specific book (e.g., clean-code/clean-code.md, refactoring/refactoring.md), containing concrete coding rules, patterns, and skills. Users can copy these files into their projects as AGENTS.md, or adapt them for other tools like Cursor or Claude Code skills. The files are static and do not execute code; they serve as instructions for AI coding agents. The repository also includes documentation on usage, compatibility, and a validation experiment comparing refactoring with rules vs. without.

  1. A developer starting a new project in Codex wants to apply Clean Code principles; they can add the clean-code rules to AGENTS.md.
  2. An engineer maintaining legacy code uses the Working Effectively with Legacy Code rules to safely refactor.
  3. An architect designing microservices in Cursor uses Domain-Driven Design rules to define bounded contexts.
  4. A data engineer uses Designing Data-Intensive Applications rules to ensure reliability in data systems.
  5. A development team standardizes coding practices by combining rules from multiple books (e.g., Refactoring and Clean Code) in Claude Code.
  6. A developer wants to create Claude Code skills; they can convert a mini rule set into a skill.

How do you install or deploy this agent?

This repository is a collection of rule sets; no installation is required. Clone the repo: git clone https://github.com/ciembor/agent-rules-books.git. Then choose a book directory (e.g., clean-code/), copy the relevant .md file (e.g., clean-code.md) into your project, and rename it to AGENTS.md or CLAUDE.md as appropriate.

How do you use this agent?

  1. Select a rule set from the repository (e.g., clean-code/mini version). 2. Copy the corresponding file (e.g., clean-code.md) to your project root and rename it to AGENTS.md (or CLAUDE.md / .cursorrules). 3. Ensure your AI coding agent (Codex, Cursor, Claude Code) supports AGENTS.md. 4. Start coding or refactoring; the agent will follow the rules. For skills, convert the mini rules into a Claude Code skill format.

What are this agent's strengths and limitations?

Pros
  • Rules are based on classic books, providing well-established coding principles and patterns.
  • Three granularity versions (full/mini/nano) allow adjustment to different context budgets.
  • Integration guides for multiple popular AI agents (Codex, Cursor, Claude Code).
  • Validation experiment shows using rules improves refactoring effectiveness.
  • MIT license allows free use and modification.
Limitations
  • Rules are not book summaries; understanding may be incomplete without reading the books.
  • Requires manual integration into each project; no automated setup tools.
  • Validation experiment covers only one book; effectiveness for other books is unverified.
  • Rules may assume specific programming languages or technologies, requiring adjustments.
  • Dependent on AI agent support for Markdown files; compatibility varies across tools.

How does this agent compare with similar options?

The repository does not explicitly mention alternatives, but similar rule sets exist in community projects like 'Awesome AGENTS.md'. This repo differentiates by systematically extracting rules from classic books and providing multiple granularity versions.

Key facts side by side with the most closely related agents.

Agent Source review Form / cost Stars Updated Language Full support on
Agent Rules / Skills from Programming Books This agent 45 · Major gaps CLIFree ★ 3.1k 1mo ago — Codex · Claude Code
Solid Skills — Senior-Engineer Coding Skills for AI Agents 41 · Major gaps Agent plugin / skillFree ★ 611 1mo ago — —
Modern Go Guidelines 56 · Major gaps Agent plugin / skillFree ★ 3.9k 1mo ago Go Codex · Claude Code
TeaQL Agent Kit 42 · Major gaps Agent plugin / skillFreemium ★ 2.8k 22d ago Python —

How does FollowAgents rate this agent?

FollowAgents source review · FARS-2.1
Major gaps
45/ 100 5-point scale 2.3 / 5
Trust 2/29
Reliability 6/14
Adaptability 12/18
Convention 12/18
Effectiveness 9/13
Verifiability 4/8
Why each dimension lost points
Trust2 / 29 · 0.3/5

Evidence shows: The repository clearly states an MIT license and the author is Maciej Ciemborowicz, but the publisher is not verified by the FollowAgents curated enterprise registry, so identity is unknown. No permission requests, data collection, external calls, or sensitive data handling mechanisms are present, hence those criteria score 0. Source attribution is clear (author and license), but no mechanism to verify provenance is provided, hence score 2.

Reliability6 / 14 · 2.1/5

Evidence shows: The repository is internally consistent; no contradictions between README, docs, and rule sets. Rule sets are plain Markdown with no external dependencies, so dependency availability scores 2. No failure messages or error handling mechanisms are provided, hence score 0.

Adaptability12 / 18 · 3.3/5

Evidence shows: The repository targets AI coding agents like Codex, Cursor, and Claude Code, and provides multiple usage scenarios (always-on, on-demand, skills, scoped rules, MCP or RAG patterns). Capability boundaries are described in README and docs (e.g., rule sets are not a substitute for reading books). Trigger precision is supported by mini/nano/full versions and specific usage instructions. Environment fit is addressed via USAGE.md and COMPATIBILITY.md.

Convention12 / 18 · 3.3/5

Evidence shows: Information architecture is clear with README, docs directory, rule set directories, and CHANGELOG. Install notes are provided in USAGE.md. Naming is stable with consistent rule set names. Examples and FAQ are in README. Known limitations are stated in README's 'Important Note'. License is MIT. Versioning and changelog are in CHANGELOG.md. Maintenance responsibility is with the author, but no explicit maintenance plan is provided.

Effectiveness9 / 13 · 3.5/5

Evidence shows: Output usability is high; rule sets are plain Markdown directly usable by AI agents. Marginal value lies in converting book principles into actionable rules, with an experiment suggesting better effectiveness than merely naming the book. Cost-benefit is reasonable; rule sets are lightweight and easy to integrate.

Verifiability4 / 8 · 2.5/5

Evidence shows: Claims are traceable; README provides experiment details and results. Cross-source corroboration is limited; only one experiment and a Reek check, not cross-validated with independent sources. Fact and inference separation is clear; README distinguishes experimental observations from inferences.

Risks and how to mitigate them
  • Not found in source: least-privilege scopingGrant only what the task needs: a dedicated account or read-only token, scoped to specific directories and repos.
  • Not found in source: confirmation before actingTurn on (or add) a confirmation step before it acts, and try it in a sandbox or test environment before real data.
  • Not found in source: data-flow disclosureWatch which external services it contacts (proxy or firewall logs) and keep sensitive data out until you know where it goes.
  • Not found in source: sensitive-data handlingUse dedicated, low-privilege, revocable API keys — never production credentials — and keep secrets out of logs.
  • Not found in source: dependency securityPin versions and run a dependency audit (npm audit, pip-audit) before installing; prefer running it in a container.
  • Not found in source: disclosed external effectsEstablish which external systems it writes to, sends to or changes, and verify with test accounts or repos before production.
  • Not found in source: rollback or recovery pathBack up first, or work on a git branch or snapshot, so its changes can be undone.
  • Publisher identity is unverified; treat as unknown and do not infer reliability from brand.
  • The experiment result is an early qualitative signal, not a benchmark; do not over-interpret.
  • Rule sets are inspired by books but not official materials; be mindful of copyright and accuracy.
Evidence confidence: Low Reviewed Aug 09, 2026 Reviewed revision 9c8763613514 New commits since this review; the score may not cover them
Review evidence README.mdLICENSE
See the full review method →

Recent releases

Latest entries from the project's GitHub Releases. Notes are quoted from upstream as written, not rewritten or tested by FollowAgents.

  1. v0.5
    Release notes excerpt
    Full Changelog: https://github.com/ciembor/agent-rules-books/compare/v0.4...v0.5
    View on GitHub ↗
  2. v0.4
    Release notes excerpt
    Full Changelog: https://github.com/ciembor/agent-rules-books/compare/v0.2...v0.4
    View on GitHub ↗
  3. v0.3
    Release notes excerpt
    Full Changelog: https://github.com/ciembor/agent-rules-books/compare/v0.2...v0.3
    View on GitHub ↗

FAQ

Can I use these rules with Cursor?
Yes, the README explicitly states the rule sets can be adapted to Cursor project rules or kept as AGENTS.md-style instructions.
Are these rules official extracts from the books?
No. The README emphasizes that the rules are practical engineering instructions, not reproductions of book text, and not a substitute for reading the books.
Do I need to install any specific software to use these rules?
No. The rules are plain Markdown files; you only need an AI coding agent that supports AGENTS.md (like Codex or Claude Code) and a text editor.
Will these rules slow down my agent?
The mini version is optimized for most real tasks, while nano is more compact. Actual impact depends on your context budget and project size.
Can I combine rules from multiple books?
Yes, the repository provides COMPATIBILITY.md documentation on how to combine multiple rule sets.
View on GitHub ↗ Install ↓

Compare agents like this one

The same FARS review applied across the shortlist this agent qualifies for.

Related agents