cadr
星标15
分支1
更新时间2026年2月26日 08:52
Automatically capture and document architectural decisions in the current workspace
安装
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
SKILL.md
readonly菜单
Automatically capture and document architectural decisions in the current workspace
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
| name | cadr |
| description | Automatically capture and document architectural decisions in the current workspace |
Continuous Architectural Decision Records.
Use this skill after you have completed major architectural, structural, or design-related tasks for the user. These tasks might involve adding new components, changing data flow, defining new interfaces, introducing new dependencies, or deprecating systems, among other significant technical changes. Do NOT use this for minor bug fixes or small refactoring.
cadr.yaml is not present at the root of the project, you must first initialize configuration by running cadr init (or npx cadr-cli init). Ensure it includes appropriate ignore_patterns to skip irrelevant files (like node_modules or .test.ts).cadr.yaml is present, execute the analysis:
npx cadr-cli analyze
(Note: By default cadr analyze acts interactively. As an agent, run this in an environment where it does not wait for a prompt, or ensure you pipe automated approvals if specifically required, though cADR standard usage might automatically proceed to analyze)docs/adr/)..md file to ensure the extracted problem statement, decision drivers, options, and consequences accurately reflect what you built for the user. Refine the Markdown document directly if any context or nuance is missing.cadr.yaml has timeout_seconds increased (e.g. 30 or 60), to avoid LLM timeout issues.