📌 專案簡介
這是 GitHub 上一個備受關注的開源專案,致力於codex/cursor/claude code 來自經典書籍的規則。該專案目前已獲得 712 stars,受到開發者社群的廣泛關注。
🔑 主要特色
AGENTS Book Rules
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, MCP or RAG patterns, 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.
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 Set | Full file | Full lines | Full rules | Full size | Mini file | Mini lines | Mini rules | Mini size | Nano file | Nano lines | Nano rules | Nano size |
| — | — | —: | —: | —: | — | —: | —: | —: | — | —: | —: | —: |
| A Philosophy of Software Design | full | 320 | 151 | 10454 B | mini | 36 | 18 | 2497 B | nano | 29 | 11 | 1029 B |
| Clean Architecture | full | 471 | 226 | 14355 B | mini | 34 | 16 | 2191 B | nano | 29 | 11 | 931 B |
| Clean Code | full | 246 | 173 | 10595
📦 安裝與使用
請參考官方 README 文件中的安裝說明。通常的安裝方式包括:
- 克隆專案到本地
- 按照 README 中的指示進行配置
- 運行相關命令啟動專案
🔗 相關連結
💡 想了解更多開源 AI 專案?歡迎持續關注我們的更新!
發佈留言