Agent skill

Recording Architecture Decisions

by GanyuanRan in GanyuanRan/Aegis

A skill your agent uses 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…

MITAuto-check passedDevelopment

Install Recording Architecture Decisions

skills CLI
$ npx skills add GanyuanRan/Aegis --skill recording-architecture-decisions -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install GanyuanRan/Aegis recording-architecture-decisions --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/GanyuanRan/Aegis.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/recording-architecture-decisions .claude/skills/recording-architecture-decisions && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
recording-architecture-decisions
GitHub stars
1.3k
Used in
1 other repo
Token cost
~1.5k tokens
SKILL.md length
633 words
Files
1
Skills in repo
21
Repo updated
First seen
Licence
MIT

At a glance

A skill your agent uses 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…

  • Works in 7 steps: Identify the decision candidate and… → Run the ADR creation gate → Apply the Retro / Memory Filter → …
  • The user asks to create
  • SKILL.md covers Purpose, Required Read Set, When To Use and Decision Flow, plus 4 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Recording Architecture Decisions is an agent skill from GanyuanRan/Aegis. 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.

Its SKILL.md is about 1.5k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Development, covering Architecture decision records. The repository describes itself as: Make AI coding agents architecture-aware: baseline-first, evidence-verified, drift-checked, and safe across long tasks. The licence is MIT.

When your agent uses it

  • The user asks to create
  • Evaluate an ADR
  • Architecture decision record
  • Durable architecture decision

Example prompts

  • “/recording-architecture-decisions”

Workflow steps

7 steps, taken from the first numbered list in SKILL.md.

  1. Identify the decision candidate and evidence source.
  2. Run the ADR creation gate
  3. Apply the Retro / Memory Filter
  4. Choose exactly one ADR action: create, amend, supersede, or skip.
  5. Choose the owner surface: project docs/adr/, docs/aegis/adr/, existing
  6. Run Baseline Sync Closure.
  7. If writing files, preserve local ADR conventions and verify structure.

What it can do on your machine

Read from SKILL.md and the folder at commit 61867e9. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Recording Architecture Decisions loads about 1.5k tokens when it runs. Until then it costs about 61 tokens; SKILL.md has 633 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~61
When it runs · the whole SKILL.md, loaded when a task matches
~1.5k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from GanyuanRan/Aegis at commit 61867e9, republished under its MIT licence (© GanyuanRan). 633 words, ~1,484 tokens.

Download SKILL.mdSave it as .claude/skills/recording-architecture-decisions/SKILL.md (or your agent's skills folder).
name
recording-architecture-decisions
description
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.

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.

Show full SKILL.md (185 more words)Show less

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

text
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.

© GanyuanRan, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in skills/recording-architecture-decisions of GanyuanRan/Aegis.

Open the folder on GitHubat commit 61867e9

Used in 1 other repository

We found 1 copy of this SKILL.md (exact, near-identical or edited) in other folders, from 1 other GitHub owner. This page covers the copy in GanyuanRan/Aegis, which our catalogue first saw on October 7, 2026.

Compare with similar skills

Recording Architecture Decisions next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Recording Architecture Decisions compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Recording Architecture Decisions this skillGanyuanRan/Aegis1.3k1 repos~1.5kAutomated safety check: PassMIT
PR Design DocOpenHands/OpenHands91k—~2.4kAutomated safety check: PassMIT
Cto AdvisorIbrahim-3d/orchestrator-supaconductor3814 repos~2.4kAutomated safety check: PassMIT
Domain Modelingbrim-borium/spotify_sdk1667 repos~806Automated safety check: PassApache-2.0
Architecture DecisionDonchitos/Claude-Code-Game-Studios26k—~1.7kAutomated safety check: PassMIT
Improve Codebase Architectureywwynm/EverythingDone14415 repos~1.3kAutomated safety check: PassGPL-3.0

Similar skills

  • PR Design Doc

    OpenHands/OpenHands

    For a non-trivial pull request, write a self-contained HTML design doc under the temporary .pr/ directory and link a visibility-appropriate preview in the PR description, so maintainers grasp the…

    91k GitHub stars~2.4k tokensUpdated today
    DevelopmentAuto-check passed
  • Cto Advisor

    Ibrahim-3d/orchestrator-supaconductor

    Technical leadership guidance for engineering teams, architecture decisions, and technology strategy.

    381 GitHub starsUsed in 4 repos~2.4k tokens
    DevelopmentAuto-check passed
  • Domain Modeling

    brim-borium/spotify_sdk

    Build and sharpen a project's domain model. An agent skill from brim-borium/spotify_sdk.

    166 GitHub starsUsed in 7 repos~806 tokens
    DevelopmentAuto-check passed
  • Architecture Decision

    Donchitos/Claude-Code-Game-Studios

    Create an ADR documenting a technical decision: context, alternatives considered, consequences.

    26k GitHub stars~1.7k tokensUpdated 3 days ago
    DevelopmentAuto-check passed
  • Improve Codebase Architecture

    ywwynm/EverythingDone

    Find deepening opportunities in a codebase, informed by the domain language in CONTEXT.md and the decisions in docs/adr/.

    144 GitHub starsUsed in 15 repos~1.3k tokens
    DevelopmentAuto-check passed
  • Design Doc Mermaid

    SpillwaveSolutions/design-doc-mermaid

    Create Mermaid diagrams (flowchart, sequence, class, ER, state, C4, architecture) from text or source code.

    176 GitHub starsUsed in 1 repo~5.6k tokens
    DevelopmentAuto-check passed

More from GanyuanRan/Aegis

All 21 skills in this repo
  • Anti Entropy Governance

    GanyuanRan/Aegis

    A skill your agent uses when touching retiring old logic, collapsing duplicate owners, removing fallbacks, or schema/persistence/source-of-truth boundaries; identify opportunities automatically…

    1.3k GitHub starsUsed in 1 repo~3.1k tokens
    Auto-check passed
  • Executing Plans

    GanyuanRan/Aegis

    A skill your agent uses when executing a written implementation plan across sessions or with review checkpoints.

    1.3k GitHub starsUsed in 1 repo~2.3k tokens
    Auto-check passed
  • First Principles Review

    GanyuanRan/Aegis

    A skill your agent uses when asked for first-principles or Occam's-razor review, or when high-risk decisions involve competing constraints, fallback growth, duplicate owners, or architecture…

    1.3k GitHub starsUsed in 1 repo~2.5k tokens
    Auto-check passed
  • Goal Framing

    GanyuanRan/Aegis

    A skill your agent uses when the user explicitly sets an Aegis goal with /aegis-goal, Aegis goal:, or asks to define goal, success evidence, stop condition, or task boundaries before work.

    1.3k GitHub starsUsed in 1 repo~1.2k tokens
    Auto-check passed
  • A skill your agent uses 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.

    1.3k GitHub starsUsed in 1 repo~1.5k tokens
    Auto-check: warnings
  • Requesting Code Review

    GanyuanRan/Aegis

    A skill your agent uses when requesting independent code review, after implementation slices, before merging high-risk work, or when verification exposes evidence, baseline, architecture…

    1.3k GitHub starsUsed in 1 repo~2.2k tokens
    Auto-check passed

Categories

Questions about Recording Architecture Decisions

What does Recording Architecture Decisions do?

A skill your agent uses 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…. Recording Architecture Decisions is an agent skill from GanyuanRan/Aegis. 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.

When should I use Recording Architecture Decisions?

Recording Architecture Decisions fits situations like: the user asks to create; evaluate an ADR; architecture decision record; durable architecture decision.

How do I install Recording Architecture Decisions in Claude Code?

Run `npx skills add GanyuanRan/Aegis --skill recording-architecture-decisions -a claude-code`. Or copy the skill folder (skills/recording-architecture-decisions in GanyuanRan/Aegis) into .claude/skills/recording-architecture-decisions in your project. Claude Code loads it when a task matches its description.

How do I install Recording Architecture Decisions in Codex?

Run `npx skills add GanyuanRan/Aegis --skill recording-architecture-decisions -a codex`. Or copy the skill folder (skills/recording-architecture-decisions in GanyuanRan/Aegis) into .agents/skills/recording-architecture-decisions in your project. Codex loads it when a task matches its description.

Can I use Recording Architecture Decisions in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add GanyuanRan/Aegis --skill recording-architecture-decisions -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/recording-architecture-decisions, .gemini/skills/recording-architecture-decisions, .github/skills/recording-architecture-decisions and .opencode/skills/recording-architecture-decisions in your project.

What does Recording Architecture Decisions need to run?

SKILL.md names no scripts, command-line tools or credentials: Recording Architecture Decisions is instructions for the agent only.

Does Recording Architecture Decisions access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Recording Architecture Decisions safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Recording Architecture Decisions use?

Recording Architecture Decisions is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Recording Architecture Decisions use?

About 1.5k tokens (SKILL.md is roughly 5.9k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Recording Architecture Decisions?

Skills that share tags, products or a category with Recording Architecture Decisions: PR Design Doc (OpenHands/OpenHands, 91k stars), Cto Advisor (Ibrahim-3d/orchestrator-supaconductor, 381 stars), Domain Modeling (brim-borium/spotify_sdk, 166 stars) and Architecture Decision (Donchitos/Claude-Code-Game-Studios, 26k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Recording Architecture Decisions?

GanyuanRan (a GitHub user) maintains it in GanyuanRan/Aegis, which has 1,337 GitHub stars. The repository holds 21 skills in this directory. The repository was last updated on October 10, 2026.

Source: GanyuanRan/Aegis on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.