본문으로 건너뛰기
cccskills
무료GitHub에 공개

recording-architecture-decisions

Use when the user asks to create, write, update, amend, supersede, or evaluate an ADR, architecture decision record, durable architecture decision, decision log, or baseline sync after architecture-changing work.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

설치 방법 보기

포함된 파일(1)

  • SKILL.md5.8 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

Recording Architecture Decisions

Purpose

Record durable architecture decisions without losing the current-state baseline closure. An ADR records why a decision was made; a baseline records what the architecture is after that decision.

This skill is a lazy, task-specific workflow. It does not replace verification-before-completion, does not grant completion authority, and does not make authoritative GateDecision or PolicySnapshot outputs.

Required Read Set

Before deciding or writing, read the smallest relevant excerpts from:

  • docs/adr/ADR-CREATION-GATE.md
  • docs/current/AEGIS_ADR_AUTO_BACKFILL.md
  • the target project's current ADR, baseline, or authority docs that own the affected architecture surface

For Aegis repository changes, use this repository's docs/adr/ and docs/current/ authority order. For target projects with their own ADR system, respect that project owner instead of duplicating the same decision into docs/aegis/adr/.

When To Use

Use this skill when the user asks to:

  • create, write, update, amend, supersede, or evaluate an ADR
  • decide whether an architecture decision record is needed
  • record a durable architecture decision or decision log entry
  • close baseline sync after an ADR-relevant architecture change
  • verify that an ADR action did not leave the architecture baseline stale

Do not use it for simple wording edits, ordinary README cleanup, tests-only coverage improvements, low-risk single-file changes, or bug fixes that only restore the existing baseline.

Decision Flow

  1. Identify the decision candidate and evidence source.
  2. Run the ADR creation gate:
    • hard to reverse
    • surprising without context
    • real trade-off
  3. Apply the Retro / Memory Filter:
    • executed durable decisions may become ADR or baseline memory
    • unexecuted ideas stay out of accepted architecture memory
    • process notes may use a lighter record when they do not change current architecture state
  4. Choose exactly one ADR action: create, amend, supersede, or skip.
  5. Choose the owner surface: project docs/adr/, docs/aegis/adr/, existing ADR, or lighter record.
  6. Run Baseline Sync Closure.
  7. If writing files, preserve local ADR conventions and verify structure.

Helper-Backed Write Path

When the chosen owner surface is a target project's docs/aegis/adr/, use the shared workspace helper instead of ad-hoc file creation:

  • create -> <aegis-workspace-helper> new-adr --root <target-project-root> ...
  • amend -> <aegis-workspace-helper> amend-adr --root <target-project-root> --path docs/aegis/adr/ADR-####-<slug>.md ...
  • supersede -> <aegis-workspace-helper> supersede-adr --root <target-project-root> --path docs/aegis/adr/ADR-####-<slug>.md ...

After helper-backed writeback, run:

  • <aegis-workspace-helper> check --root <target-project-root>

The helper owns file shape, ADR numbering, supersession markers, and INDEX.md coverage only. It does not decide architecture truth, whether the ADR gate passed, or whether baseline sync is semantically sufficient.

If the ADR gate or owner-surface decision says skip, do not create or amend ADR files just because the helper exists. An ADR signal in a design/plan is a note for later completion, not an ADR file. Create/amend/supersede an ADR only for an executed durable decision; if an existing ADR already covers the decision surface, amend it instead of creating a sibling.

Baseline Sync Closure

If the ADR action is create, amend, or supersede, baseline sync must be checked.

Baseline sync is required when the decision changes or confirms any of:

  • canonical owner or ownership map
  • public API, schema, artifact shape, or behavior contract
  • dependency direction or allowed cross-module relationship
  • source-of-truth owner
  • host compatibility strategy or install/discovery contract
  • method-pack/runtime-core boundary
  • runtime-ready artifact boundary or evidence model
  • retained fallback, adapter, compatibility path, duplicate owner, or retirement schedule
  • accepted architecture-scoped Implementation Drift
  • release or distribution strategy that future contributors would otherwise misread

If no baseline writeback is made, state why the existing baseline remains valid. Never leave baseline sync implicit after create, amend, or supersede.

Compact Output Contract

Aegis Visibility:
- Why executed-decision filtering, ADR gate, owner surface, or baseline sync matters now:

Decision Candidate:
- Summary:
- Evidence source:

ADR Gate:
- Hard to reverse: yes | no | unknown
- Surprising without context: yes | no | unknown
- Real trade-off: yes | no | unknown

Retro / Memory Filter:
- Classification: executed durable decision | unexecuted idea | process note
- Memory action: record | skip | lighter record
- Reason:

ADR Action:
- create | amend | supersede | skip
- Reason:

Owner Surface:
- Target:
- Existing ADR / baseline checked:

Baseline Sync:
- Required: yes | no | unknown
- Target:
- Action: create snapshot | update baseline | cite unchanged | blocked
- Reason:

Boundary:
- Advisory method-pack signal only; not completion authority.

Common Mistakes

  • Writing an ADR because the topic feels important, even though the gate fails.
  • Recording why in an ADR while leaving the baseline's current-state facts stale.
  • Updating a baseline to match drift without first deciding whether the drift is intentional and ADR-worthy.
  • Duplicating the same decision into both project docs/adr/ and docs/aegis/adr/ without an explicit mirror relationship.
  • Treating an ADR or baseline sync as proof that the work is complete.

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

Use when touching retiring old logic, collapsing duplicate owners, removing fallbacks, or schema/persistence/source-of-truth boundaries; identify opportunities automatically; destructive execution requires explicit confirmation.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

GanyuanRan/Aegis1.4천2026년 10월 21일 업데이트

Use when defining ambiguous or high-complexity new features, product behavior, UI/component design, architecture choices, contract changes, or when grilling/pressure-testing a plan or design. Routine small requests stay on the fast path.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

GanyuanRan/Aegis1.4천2026년 10월 21일 업데이트

Use when the user asks for caveman mode, fewer tokens, brief responses, compressed communication, or otherwise explicitly requests a much shorter answer.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

GanyuanRan/Aegis1.4천2026년 10월 21일 업데이트

Use when facing 2+ independent tasks without a written plan, with no conflicting shared mutable state or sequential dependencies, where parallel delegation beats inline cost; otherwise inline. Planned tasks use subagent-driven-development.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

GanyuanRan/Aegis1.4천2026년 10월 21일 업데이트

Use when the user asks to establish shared project language, or project work exposes a conflicting, renamed, or deprecated domain term that needs active semantic modeling. Routine small tasks stay on the fast path.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

GanyuanRan/Aegis1.4천2026년 10월 21일 업데이트

Use when executing a written implementation plan across sessions or with review checkpoints. Small or single-slice plans stay inline. For same-session independent tasks, use subagent-driven-development instead.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

GanyuanRan/Aegis1.4천2026년 10월 21일 업데이트

GanyuanRan의 스킬 모두 보기

이 스킬의 문제 신고