Airsc miễn phí cho tất cả. Nếu nó giúp bạn, hãy ủng hộ $2–$20.

Ủng hộ
SkillAn toànReview & chất lượng codeDễ cho người mới

agent-rules-books

ciembor · ciembor/agent-rules-books

Cung cấp cho các AI coding agent các quy tắc và kỹ năng chắt lọc để cải thiện chất lượng mã, tái cấu trúc và kiến trúc phần mềm dựa trên sách lập trình kinh điển.

Các quy tắc / skill AGENTS.md dành cho các AI coding agent: Codex, Cursor & Claude Code. Lấy cảm hứng từ các cuốn sách lập trình Clean Code, Refactoring, DDD, Clean Architecture và DDIA.

2.9k sao512Giấy phép: MITCập nhật tháng trước0 lượt mở

Xem trước

▍

Bạn có thể làm gì với nó

  • Hướng dẫn agent tái cấu trúc mã bằng các nguyên tắc từ "Clean Code".
  • Áp dụng các mẫu Domain-Driven Design (DDD) khi xây dựng tính năng mới.
  • Đảm bảo chất lượng mã và khả năng bảo trì dựa trên các sách kỹ thuật phần mềm đã được kiểm chứng.

Kiểm tra an toàn

An toàn

Không thấy dấu hiệu rủi ro trong các file đã quét.

Quét tự động các file trong repo. Luôn xem lại code trước khi chạy.

Trích từ README

AI agents Rules / Skills fromProgramming Books v0.6

<strong>AGENTS.md rules</strong> / <strong>skills</strong> for <strong>Codex</strong>, <strong>Cursor</strong>, <strong>Claude Code</strong>, distilled from classic <strong>software engineering books</strong> about refactoring, architecture, DDD and code quality.



About
·
Installation
·
Rules / Skills
·
Books List
·
Usage
·
Books Compatibility

About

MIT licensed universal project rules for coding agents.

This repository contains ready-to-use rule sets inspired by well-known books on software design, architecture, refactoring, legacy code, reliability, and data-intensive systems.

For editor-specific setup in Codex, Claude Code, and Cursor, see USAGE.md. It covers always-on vs on-demand usage, skills, scoped rules, and the preferred setup for each editor.

Each rule set is released in three tool-agnostic Markdown versions:

  • mini: the recommended version for most real task use
  • nano: the compact fallback for very tight context budgets
  • full: the canonical complete source and reference version

For constructive criticism from Reddit, see CRITICISM.md.

For release history, see CHANGELOG.md.

Installation as Skills

Prerequisite: install Node.js with npm. You can run the Skills CLI through npx without installing skills separately.

Install all book skills with the open Agent Skills CLI:

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

List available skills without installing:

npx skills add ciembor/agent-rules-books --list

Install one selected skill:

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

Every book directory contains a standard SKILL.md entrypoint. The skill loads the corresponding mini rule set by default and keeps the full file available as deeper reference material.

If you prefer another setup, see USAGE.md for manual, scoped, always-on, and editor-specific installation patterns.

Release Matrix

Metrics:

  • lines: physical line count from wc -l
  • rules: Markdown list items counted with the deterministic release convention
  • size: raw bytes from wc -c
Rule SetFull fileFull linesFull rulesFull sizeMini fileMini linesMini rulesMini sizeNano fileNano linesNano rulesNano size
A Philosophy of Software Designfull37017713561 Bmini46285774 Bnano35172258 B
Clean Architecturefull51528917782 Bmini49315486 Bnano36182254 B
Clean Codefull29722013851 Bmini47293804 Bnano32141235 B
Code Completefull35418012407 Bmini56386717 Bnano41232544 B
Designing Data-Intensive Applicationsfull39320516084 Bmini55376949 Bnano34162575 B
Domain-Driven Designfull97952342424 Bmini48305683 Bnano39212266 B
Domain-Driven Design Distilledfull31715811351 Bmini56386438 Bnano41232535 B
Implementing Domain-Driven Designfull33717712848 Bmini57397333 Bnano37192723 B
Patterns of Enterprise Application Architecturefull40419615501 Bmini54368099 Bnano35172823 B
Refactoringfull43324217866 Bmini49315167 Bnano37191986 B
Release It!full38220413542 Bmini48306372 Bnano38202205 B
[The Pragmatic Progra
Xem mã nguồn trên GitHub