














https://adr.github.io/
简单来说,架构决策记录 (ADR) 是一种用于记录软件开发过程中重要决策及其背后原因的文档。它的核心目的是让团队能够清晰地理解“为什么”要做出某个特定的架构选择,以及这个选择带来的权衡和后果。
一个项目的所有 ADR 集合就构成了该项目的决策日志 (decision log)。
如果你想深入了解 ADR 的概念和实践,可以参考以下资源:
https://github.com/architecture-decision-record/architecture-decision-record
这份 GitHub 仓库(architecture-decision-record/architecture-decision-record)是一个关于**架构决策记录(ADR)**的综合资源库,旨在为软件规划、IT 领导和文档模板提供参考。
以下是该网页内容的详细总结:
ADR 是一种文档形式,用于捕捉重要的架构决策、其背景环境以及产生的后果。
adr 目录。choose-database.md)。choose-database.md),以便于阅读和匹配提交信息。该仓库收集了多种 ADR 模板,以适应不同的需求:
该仓库由 joelparkerhenderson 维护,拥有超过 16.8k 的 Star,是一个活跃的开源社区资源。
https://github.com/npryce/adr-tools
https://github.com/fanqingsong/adr-driven
This repository demonstrates how to use Architecture Decision Records (ADRs) to guide development and ensure code compliance with established architectural decisions. It showcases a Tekton task that has been built following multiple Konflux ADRs.
https://github.com/DVC2/cursor-agent-configs
| Primitive | Lives in | Use it when… | Reads cross-tool? |
|---|---|---|---|
AGENTS.md |
repo root (+ nested) | You want always-on project context: stack, conventions, commands. Start here. | ✅ Cursor, Codex, Copilot, Gemini CLI, Aider, Windsurf, Zed… |
Rules (.mdc) |
.cursor/rules/ |
You need scoped guidance — applies only to matching files (globs) or when the agent judges it relevant (description). |
Cursor only |
| Subagents | .cursor/agents/ |
A task needs its own isolated context or a specialized persona (review, verify, test) — possibly run in parallel. | Cursor (+ .claude/.codex dirs) |
| Skills | .cursor/skills/<name>/SKILL.md |
You have an on-demand procedure that should load only when relevant (e.g. "write an ADR"), keeping context lean. | Cursor (+ compat dirs) |
| Hooks | .cursor/hooks.json + .cursor/hooks/ |
You need deterministic, non-negotiable behavior around agent actions — format on save, block destructive commands. | Cursor |
Rule of thumb: AGENTS.md first. Add a scoped rule only when you hit a real scoping need; reach for a subagent/Skill/hook when the job is delegation, on-demand knowledge, or hard enforcement respectively.
出处:http://www.cnblogs.com/lightsong/ 本文版权归作者和博客园共有,欢迎转载,但未经作者同意必须保留此段声明,且在文章页面明显位置给出原文连接。
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。