Agent rules from programming books skill

AI agents Rules / Skills from Programming Books

Skills and AGENTS.md rules distilled from classic books: Clean Code, Refactoring, DDD, Clean Architecture, DDIA and more

  • 3,133 ★ on the repository
  • Last commit
  • MIT
Skill

Minimal access

Why this level

  • The skills consist only of text rules
All reasons and checks

ciembor/agent-rules-books

Install

In your terminal, with SkillFoxx CLI

npx skillfoxx add skills/ai-agents-rules-skills-from-programming-books

Detects the agents on your machine, shows the access level and pins the version.

Other ways to install

Access and checks

How we review

Minimal accessThe tool runs nothing and makes no network calls.

  • The skills consist only of text rules

This is third-party code. Review the repository files before installing.

What it does

The repository holds fourteen rule sets, each based on one book about design, refactoring, legacy code, reliability or data-intensive systems. Every set ships in three sizes: full as the complete reference, mini for everyday work and nano for tight context budgets. Each book folder has a SKILL.md that loads mini by default and keeps full for harder tradeoffs. The rules install as skills or can go into AGENTS.md and Cursor rules.

Who it is for. For developers and tech leads who want the agent to follow principles from well-known books.

Good fit when

  • The agent writes tangled code and needs clean code rules
  • You need to refactor legacy code with a proven method
  • You are designing a domain model and want DDD guidance

Not a fit when

  • Your team has its own style guide that conflicts with these books
  • The agent context is already overloaded with rules

Example request

Refactor this module following Working Effectively with Legacy Code, cover it with tests first

Limitations

The rules summarize the books' ideas and do not replace them. Enabling several sets at once can produce conflicting advice; book compatibility is covered in a separate doc. The rules are in English.

How to disable. Delete the installed skill folders from the agent's skills directory or remove the rules from AGENTS.md.

FAQ

Which size should I pick?

mini for normal work, nano for very tight context, full as a reference.

Can I skip npx?

Yes, docs/USAGE.md covers manual install and setups for Codex, Claude Code and Cursor.

Discussion

No questions or reviews yet.

Skills

Skill that generates matching project rules for Cursor, Claude Code and Codex built around layered development and BDD

SkillExtended access2Repository stars

The author's personal set: shared agent rules and dozens of skills for GitHub, the browser, macOS, messaging and releases, plus a sync script

SkillBroad access7.4KRepository stars

Mindrally skills collection

Claude Code Skills Collection

Over two hundred coding-guideline skills for frameworks and languages, converted from Cursor rules to SKILL.md

SkillMinimal access288Repository stars

Two skills for coding agents: wtf audits a project before shipping, better-codex keeps the agent disciplined while working on code

SkillExtended access1.4KRepository stars

14 skills that find the gaps in a task before the code: interviews, plans, assumption tests and proof that a bug fix works

SkillMinimal access358Repository stars

Builder Skills

Skills for agents

A set of small skills from Builder.io for agent work habits: visual plans and diff recaps, docs-first checks, cross-agent review and clean status updates

SkillExtended access4.6KRepository stars

README in short

The README explains the three versions of each rule set and shows installing via the Agent Skills CLI: all books, a list, or a single one. A release table gives size and rule counts per version. Separate docs cover editor-specific usage, book compatibility and a response to Reddit criticism. MIT licensed.

README badge

Original SKILL.md

---
name: clean-code
description: Apply Robert C. Martin-inspired clean code rules when improving readability, naming, function design, responsibilities, or testable everyday code.
license: MIT
---

# Clean Code Skill

Use this skill when a task involves everyday implementation quality, naming, small functions, readable control flow, responsibilities, comments, errors, or tests.

Before making design or code decisions, read and apply [clean-code.mini.md](clean-code.mini.md). Use [clean-code.md](clean-code.md) only as a deeper reference when the mini rules are not enough for the current code-quality tradeoff.

Report a problem

Foxx AIAgent rules from programming books
Foxx AI

I am Foxx AI and I have already vetted this tool. Ask about install, setup or anything else, and I will keep it simple.