/everything-copilot-cli:architecture-decisionsfrom everything-copilot-cli
Documents significant, hard-to-reverse technical decisions as Architecture Decision Records (ADRs). Detects existing ADR conventions in the repository and creates new records with context, rationale, and consequences.
Ships in everything-copilot-cli. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
cross-session-memory스킬과 연계: ADR을 Copilot의 세션 간 지식으로 활용
docs/decisions/ 를 만들 준비가 되어 있음새 ADR을 쓰기 전에 기본 템플릿부터 적용하지 말고, 이 저장소가 이미 쓰고 있는 ADR 관례를 먼저 찾는다. 기본 템플릿은 아무 관례도 감지되지 않을 때만 fallback으로 사용한다.
다음 4축을 확인:
docs/adr/, docs/decisions/, adr/ 등 기존 ADR 디렉토리adr-tools 생성 형식, 자유 서술형 Markdown, reStructuredText 등로컬 저장소만 보지 말고, 접근 가능하다면 조직 공용 규칙도 함께 확인:
.github 저장소 포함)예시 확인 방법:
# 로컬 ADR 후보 위치 확인
find . -type d \( -name adr -o -name adrs -o -name decisions \)
# 기존 ADR 파일과 번호/헤딩 스타일 확인
find . -type f \( -name '*.md' -o -name '*.rst' \) | grep -Ei 'adr|decision'
# 조직 공용 템플릿 저장소 / 문서 허브 / 열려 있는 PR에서 ADR 관례 확인
# (GitHub를 쓰고 gh 접근이 가능하면 org-level .github repo와 open PR 확인 포함)
gh repo view <org>/.github
gh search prs --owner <org> --state open -- 'ADR OR "architecture decision"'
관례가 감지되면 그 관례에 맞춰 작성한다. 위치, 파일명, 번호, 헤딩을 새로 발명하지 않는다. 위 원격 확인은 선택적 보강 단계이며, 특정 호스팅 도구가 없어도 핵심 규칙은 기존 관례 우선, 기본 템플릿 fallback이다.
# 감지된 ADR 위치를 그대로 사용하고, 아무 관례가 없을 때만 fallback 사용
ADR_DIR=<detected-adr-dir-or-docs/decisions>
# 다음 번호는 "파일 개수"가 아니라 "가장 큰 기존 번호 + 1"
NEXT_ADR_NUMBER=<highest-existing-number-plus-one>
파일명도 감지된 관례를 우선한다. fallback 예시는
docs/decisions/NNN-decision-title.md (예: 001-use-postgresql.md)
위 형식은 기본 fallback 예시다. 저장소에 기존 ADR 관례가 있으면 그 형식과 번호 체계를 우선한다.
# ADR-{NNN}: {결정 제목}
**날짜**: YYYY-MM-DD
**상태**: Proposed | Accepted | Deprecated | Superseded by ADR-NNN
## Context (배경)
이 결정이 필요하게 된 상황, 제약 조건, 고려해야 할 영향 요소들.
## Decision (결정)
우리가 내린 결정과 그 이유. 능동태, 현재 시제 사용.
## Options Considered (검토한 대안)
| 옵션 | 장점 | 단점 |
|------|------|------|
| A | ... | ... |
| B | ... | ... |
| 선택한 옵션 | ... | ... |
## Consequences (결과)
- **긍정적**: 이 결정으로 얻는 것
- **부정적**: 감수해야 할 트레이드오프
- **중립적**: 추가로 필요한 작업
## References
- 관련 이슈, PR, 외부 자료 링크
결정이 변경될 때:
**상태**: Superseded by [ADR-005](005-new-decision.md)
새 ADR에서 이전 결정을 참조:
**상태**: Accepted (Supersedes [ADR-002](002-old-decision.md))
ADR이 틀린 이유를 담으면 ADR이 없는 것보다 나쁘다. 특히 이미 있는 코드의 결정을 나중에 복원할 때 에이전트는 그럴듯한 이유를 만들어 내기 쉽다. "왜" 를 적을 때마다 근거 수준을 함께 적는다:
| 근거 수준 | 뜻 | 예 |
|---|---|---|
| 확인됨 | 결정한 사람이 말했거나, 이슈·PR·커밋 메시지·회의록에 적혀 있다 | "PR #142 본문: 쓰기 지연 때문에 큐를 도입" |
| 추론 | 코드·이력에서 합리적으로 끌어냈지만 누구도 확인하지 않았다 | "이 시점에 의존성이 제거됨 — 라이선스 문제로 보임" |
| 불명 | 확인할 수 없다 | 비워 두지 말고 "불명" 이라고 쓰고, 물어볼 사람을 적는다 |
git log --follow·git blame·관련 이슈와 PR 에서 출발하고,
찾지 못한 이유는 "불명" 으로 남긴다. 추론은 확인을 받기 전까지 "확인됨" 으로 올리지 않는다.
ADR 의 상태(Accepted 등)는 결정의 상태이고, 이유의 근거 수준과 따로 관리한다.oliver-zehentleitner/keep-the-why (MIT) 의 근거 분류 규칙을 ADR 작성에 맞게 옮겼다.
중요한 ADR은 .github/copilot-instructions.md(또는 AGENTS.md)에 링크해 Copilot에게 미리 알림:
## Key Architecture Decisions
- [ADR-001](docs/decisions/001-postgresql.md): PostgreSQL 선택 이유
- [ADR-003](docs/decisions/003-api-versioning.md): API 버전 전략
| Rationalization | Reality |
|---|---|
| "결정이 명확하니까 문서가 필요 없다" | 6개월 후 팀원이 그 결정에 의문을 가질 것이다. 명확한 결정일수록 기록하기 쉽다. |
| "코드를 보면 알 수 있다" | 코드는 '무엇'을 말하지만 '왜'를 말하지 않는다. ADR은 '왜'를 기록한다. |
| "나중에 쓰겠다" | 결정 시점에서 멀어질수록 컨텍스트를 잃는다. 결정 즉시 기록한다. |
council 스킬의 4-voice adversarial 결정 과정을 ADR Options Considered에 기록한다docs/decisions/README.md로 유지하면 탐색이 쉽다What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub drvoss/everything-copilot-cli --plugin everything-copilot-cli115 skills in this plugin
/actions-debuggingUse when a GitHub Actions workflow fails — diagnose the run log, identify the root cause, and apply a targeted fix/add-to-changelogUse when you've shipped a feature, fix, or breaking change and need to update CHANGELOG.md — follows Keep a Changelog format and syncs version numbers across package manifests./agent-governanceUse when designing or reviewing an AI agent system that needs policy-based access controls, intent classification, tool-level rate limiting, trust scoring for multi-agent workflows, or append-only audit trails.
Other plugins' skills for the same job