create-architectural-decision-record by github/awesome-copilot
npx skills add https://github.com/github/awesome-copilot --skill create-architectural-decision-record使用为 AI 处理和人工阅读优化的结构化格式,为 ${input:DecisionTitle} 创建 ADR 文档。
${input:Context}${input:Decision}${input:Alternatives}${input:Stakeholders}如果任何必需的输入未提供或无法从对话历史中确定,请在继续生成 ADR 之前要求用户提供缺失的信息。
ADR 必须保存在 目录中,使用以下命名约定:,其中 NNNN 是下一个连续的 4 位数字(例如 )。
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
/docs/adr/adr-NNNN-[title-slug].mdadr-0001-database-selection.md文档文件必须遵循以下模板,确保所有部分都得到适当填写。Markdown 的前言应按照以下示例正确构建:
---
title: "ADR-NNNN: [决策标题]"
status: "Proposed"
date: "YYYY-MM-DD"
authors: "[利益相关者姓名/角色]"
tags: ["architecture", "decision"]
supersedes: ""
superseded_by: ""
---
# ADR-NNNN: [决策标题]
## 状态
**Proposed** | Accepted | Rejected | Superseded | Deprecated
## 上下文
[问题陈述、技术约束、业务需求以及需要此决策的环境因素。]
## 决策
[选择的解决方案,并附上清晰的选择理由。]
## 后果
### 正面
- **POS-001**: [有益的结果和优势]
- **POS-002**: [性能、可维护性、可扩展性改进]
- **POS-003**: [与架构原则的一致性]
### 负面
- **NEG-001**: [权衡、限制、缺点]
- **NEG-002**: [引入的技术债务或复杂性]
- **NEG-003**: [风险和未来挑战]
## 考虑的备选方案
### [备选方案 1 名称]
- **ALT-001**: **描述**: [简要技术描述]
- **ALT-002**: **拒绝原因**: [为什么未选择此选项]
### [备选方案 2 名称]
- **ALT-003**: **描述**: [简要技术描述]
- **ALT-004**: **拒绝原因**: [为什么未选择此选项]
## 实施说明
- **IMP-001**: [关键实施注意事项]
- **IMP-002**: [迁移或推出策略(如果适用)]
- **IMP-003**: [监控和成功标准]
## 参考文献
- **REF-001**: [相关的 ADR]
- **REF-002**: [外部文档]
- **REF-003**: [参考的标准或框架]
每周安装量
7.5K
代码库
GitHub 星标数
26.9K
首次出现
2026年2月25日
安全审计
安装于
codex7.4K
gemini-cli7.4K
opencode7.4K
github-copilot7.4K
cursor7.4K
kimi-cli7.4K
Create an ADR document for ${input:DecisionTitle} using structured formatting optimized for AI consumption and human readability.
${input:Context}${input:Decision}${input:Alternatives}${input:Stakeholders}If any of the required inputs are not provided or cannot be determined from the conversation history, ask the user to provide the missing information before proceeding with ADR generation.
The ADR must be saved in the /docs/adr/ directory using the naming convention: adr-NNNN-[title-slug].md, where NNNN is the next sequential 4-digit number (e.g., adr-0001-database-selection.md).
The documentation file must follow the template below, ensuring that all sections are filled out appropriately. The front matter for the markdown should be structured correctly as per the example following:
---
title: "ADR-NNNN: [Decision Title]"
status: "Proposed"
date: "YYYY-MM-DD"
authors: "[Stakeholder Names/Roles]"
tags: ["architecture", "decision"]
supersedes: ""
superseded_by: ""
---
# ADR-NNNN: [Decision Title]
## Status
**Proposed** | Accepted | Rejected | Superseded | Deprecated
## Context
[Problem statement, technical constraints, business requirements, and environmental factors requiring this decision.]
## Decision
[Chosen solution with clear rationale for selection.]
## Consequences
### Positive
- **POS-001**: [Beneficial outcomes and advantages]
- **POS-002**: [Performance, maintainability, scalability improvements]
- **POS-003**: [Alignment with architectural principles]
### Negative
- **NEG-001**: [Trade-offs, limitations, drawbacks]
- **NEG-002**: [Technical debt or complexity introduced]
- **NEG-003**: [Risks and future challenges]
## Alternatives Considered
### [Alternative 1 Name]
- **ALT-001**: **Description**: [Brief technical description]
- **ALT-002**: **Rejection Reason**: [Why this option was not selected]
### [Alternative 2 Name]
- **ALT-003**: **Description**: [Brief technical description]
- **ALT-004**: **Rejection Reason**: [Why this option was not selected]
## Implementation Notes
- **IMP-001**: [Key implementation considerations]
- **IMP-002**: [Migration or rollout strategy if applicable]
- **IMP-003**: [Monitoring and success criteria]
## References
- **REF-001**: [Related ADRs]
- **REF-002**: [External documentation]
- **REF-003**: [Standards or frameworks referenced]
Weekly Installs
7.5K
Repository
GitHub Stars
26.9K
First Seen
Feb 25, 2026
Security Audits
Gen Agent Trust HubPassSocketPassSnykPass
Installed on
codex7.4K
gemini-cli7.4K
opencode7.4K
github-copilot7.4K
cursor7.4K
kimi-cli7.4K
React 组合模式指南:Vercel 组件架构最佳实践,提升代码可维护性
102,200 周安装