create-architectural-decision-record — скилл для GitHub Copilot
Создаёт запись об архитектурном решении в формате ADR. Пригодится, когда нужно сохранить причины выбора и последствия для проекта.
npx skills add github/awesome-copilot --skill create-architectural-decision-recordЧто делает create-architectural-decision-record
Скилл помогает GitHub Copilot оформить архитектурное решение как ADR. Он использует название, контекст, выбранное решение, альтернативы и сведения об участниках. Если необходимые сведения нельзя взять из диалога, агент попросит их перед созданием документа.
ADR содержит причины выбора, положительные и отрицательные последствия, а также причины отклонения альтернатив. В шаблоне есть разделы для заметок о внедрении и ссылок. Пункты в разделах с несколькими элементами получают коды, например POS-001 и ALT-001.
Документ сохраняется в /docs/adr/ как adr-NNNN-[title-slug].md со следующим порядковым номером. Ставьте скилл, если ведёте ADR в проекте и хотите придерживаться заданной структуры.
Какие задачи решает
- Оформить архитектурное решение как ADR
- Зафиксировать причины выбора и отклонения альтернатив
- Описать положительные и отрицательные последствия решения
- Сохранить ADR в
/docs/adr/с порядковым номером
Примеры запросов агенту
- Создай ADR для выбора базы данных: контекст и причины решения описаны выше.
- Оформи архитектурное решение в ADR и укажи, почему мы отклонили альтернативы.
- Подготовь ADR по нашему обсуждению и сохрани его в `/docs/adr/`.
Как установить create-architectural-decision-record
1Через Skills CLI (Vercel)
npx skills add github/awesome-copilot --skill create-architectural-decision-record2GitHub CLI
gh skill install github/awesome-copilot create-architectural-decision-record3Вручную: положить файлы
.github/skills/create-architectural-decision-record/SKILL.md1Через Skills CLI (Vercel)
npx skills add github/awesome-copilot --skill create-architectural-decision-record -a claude-code2Вручную: положить файлы
~/.claude/skills/create-architectural-decision-record/SKILL.mdПапка скилла целиком; для одного проекта — .claude/skills/create-architectural-decision-record/
Вручную: положить файлы
.agents/skills/create-architectural-decision-record/SKILL.mdДля всех проектов — ~/.agents/skills/
Вручную: положить файлы
.cursor/skills/create-architectural-decision-record/SKILL.mdCursor читает и .agents/skills/, и .claude/skills/
Командой платформы
gemini skills install https://github.com/github/awesome-copilot --path skills/create-architectural-decision-recordВручную: положить файлы
.devin/skills/create-architectural-decision-record/SKILL.mdСтарый путь .windsurf/skills/ тоже читается
Claude.ai
Упакуйте папку в zip и загрузите в Settings → Capabilities → Skills
Из того же набора554
Весь набор →Похожие
Вопросы о create-architectural-decision-record
Как установить create-architectural-decision-record в GitHub Copilot?
Выполните npx skills add github/awesome-copilot --skill create-architectural-decision-record.
Что делает create-architectural-decision-record?
Скилл создаёт ADR с контекстом, решением, последствиями и рассмотренными альтернативами. Документ предназначен для чтения людьми и машинной обработки.
Какие сведения нужны для создания ADR?
Нужны название решения, контекст, само решение, альтернативы и сведения об участниках. Если их нельзя определить из диалога, агент попросит дополнить данные.
Исходный текст
SKILL.md · MIT
---
name: create-architectural-decision-record
description: 'Create an Architectural Decision Record (ADR) document for AI-optimized decision documentation.'
---
# Create Architectural Decision Record
Create an ADR document for `${input:DecisionTitle}` using structured formatting optimized for AI consumption and human readability.
## Inputs
- **Context**: `${input:Context}`
- **Decision**: `${input:Decision}`
- **Alternatives**: `${input:Alternatives}`
- **Stakeholders**: `${input:Stakeholders}`
## Input Validation
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.
## Requirements
- Use precise, unambiguous language
- Follow standardized ADR format with front matter
- Include both positive and negative consequences
- Document alternatives with rejection rationale
- Structure for machine parsing and human reference
- Use coded bullet points (3-4 letter codes + 3-digit numbers) for multi-item sections
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`).
## Required Documentation Structure
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:
```md
---
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]
```
© github · MIT · github/awesome-copilot