Agent skill

Adr

by EmeaAppGbb in EmeaAppGbb/spec2cloud

Generate and manage Architecture Decision Records (ADRs). An agent skill from EmeaAppGbb/spec2cloud.

MITAuto-check passedDevelopment

Install Adr

skills CLI
$ npx skills add EmeaAppGbb/spec2cloud --skill adr -a claude-code

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

GitHub CLI
$ gh skill install EmeaAppGbb/spec2cloud adr --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/EmeaAppGbb/spec2cloud.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.github/skills/adr .claude/skills/adr && 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
adr
GitHub stars
100
Token cost
~2.6k tokens
SKILL.md length
1,272 words
Files
2 (incl. references)
Skills in repo
38
Repo updated
First seen
Licence
MIT

At a glance

Generate and manage Architecture Decision Records (ADRs). An agent skill from EmeaAppGbb/spec2cloud.

  • Works in 7 steps: Identify the Decision Point → Gather Context → List Options with Evidence-Based Pros/Cons → …
  • Tasks that involve Architecture decision records
  • SKILL.md covers Role, When to Create ADRs, ADR Format and Process, plus 4 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Adr is an agent skill from EmeaAppGbb/spec2cloud. Generate and manage Architecture Decision Records (ADRs). Track significant technical decisions with context, rationale, and consequences. Used in both brownfield and greenfield workflows at every major decision point throughout the spec2cloud pipeline.

Its SKILL.md is about 2.6k tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files, including reference files (for example `references/template.md`).

It sits in Development, covering Architecture decision records. The licence is MIT.

When your agent uses it

  • Tasks that involve Architecture decision records

Example prompts

  • “/adr”

Requirements

  • Python 3

Workflow steps

7 steps, taken from the step headings in SKILL.md.

  1. Identify the Decision Point
  2. Gather Context
  3. List Options with Evidence-Based Pros/Cons
  4. Document the Decision
  5. Record Consequences
  6. Update State Tracking
  7. Commit

What it can do on your machine

Read from SKILL.md and the folder at commit 8e76618. 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 (its code samples are markdown and json).

    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

Adr loads about 2.6k tokens when it runs, and up to ~3.1k if it reads all its reference files. Until then it costs about 64 tokens; SKILL.md has 1,272 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~64
When it runs · the whole SKILL.md, loaded when a task matches
~2.6k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~3.1k

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 EmeaAppGbb/spec2cloud at commit 8e76618, republished under its MIT licence (© EmeaAppGbb). 1,272 words, ~2,649 tokens.

Download SKILL.mdSave it as .claude/skills/adr/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
name
adr
description
Generate and manage Architecture Decision Records (ADRs). Track significant technical decisions with context, rationale, and consequences. Used in both brownfield and greenfield workflows at every major decision point throughout the spec2cloud pipeline.

Architecture Decision Records (ADR)

Role

You are the ADR agent — the "record every significant decision" agent in the spec2cloud pipeline. Every time a non-trivial technical choice is made — a framework is selected, an architecture pattern is chosen, a migration strategy is decided — you create or update an ADR that captures the context, options considered, decision, and consequences.

ADRs are the institutional memory of the project. Six months from now, when someone asks "why did we choose PostgreSQL over MongoDB?" or "why are we using REST instead of GraphQL?", the ADR provides the answer with full context. They prevent re-litigating settled decisions and make the cost of reversing a decision visible.

You operate across the entire spec2cloud pipeline — from initial technology choices in greenfield Phase 1d, through brownfield migration decisions in Phase A, to implementation-time deviations in Phase 2. You are always available and should be invoked at every decision point.

When to Create ADRs

Greenfield Triggers
PhaseDecision TypeExample
Phase 1d (Tech Stack)Technology choice"Use Next.js for the frontend"
Phase 1d (Tech Stack)Infrastructure choice"Use Azure Container Apps"
Phase 1d (Tech Stack)Database selection"Use PostgreSQL with Prisma ORM"
Phase 2 Step 2 (Contracts)API pattern"Use REST with OpenAPI 3.1"
Phase 2 Step 2 (Contracts)Auth pattern"Use MSAL with Entra ID"
Phase 2 Step 3 (Implementation)Convention deviation"Deviate from repository pattern for X"
Any human gateDirection change"Switch from SSR to SPA after review"
Brownfield Triggers
PhaseDecision TypeExample
Phase A (Extraction)Scope decision"Exclude legacy admin module from migration"
Phase A (Assessment)Path decision"Modernize incrementally vs full rewrite"
Phase A (Assessment)Migration approach"Strangler fig pattern for API migration"
Phase A (Assessment)Data migration"Blue-green database cutover strategy"
Gap analysisArchitecture change"Replace MVC with CQRS for order service"
Any human gateDirection change"Keep existing auth instead of migrating to Entra"
Universal Triggers
  • Any time a human gate results in a significant direction change
  • Any time two or more viable options exist and one is chosen
  • Any time a technical constraint forces a specific approach
  • Any time a prior ADR is superseded by a new decision

ADR Format

Each ADR follows the structure defined in references/template.md. The format is based on Michael Nygard's ADR standard, extended with a References section for spec2cloud traceability.

Fields
FieldDescriptionRequired
NumberSequential identifier: ADR-001, ADR-002, etc.Yes
TitleShort, imperative decision statementYes
Statusproposed · accepted · deprecated · supersededYes
DateISO 8601 date of the decisionYes
ContextFacts, constraints, and forces driving the decisionYes
Options ConsideredAll viable options with pros and consYes
DecisionWhat was decided and the primary rationaleYes
ConsequencesPositive and negative outcomes of the decisionYes
ReferencesLinks to FRDs, assessments, external docsNo
Status Lifecycle
proposed → accepted → (deprecated | superseded)
  • Proposed: Decision is documented but not yet approved. Used when the decision requires human review before taking effect.
  • Accepted: Decision is approved and in effect. Most ADRs move directly to accepted when created during a human gate conversation.
  • Deprecated: Decision is no longer relevant (e.g., the feature was removed). The ADR is kept for historical context.
  • Superseded: A newer ADR replaces this one. Add Superseded by: ADR-NNN to the status line and create the new ADR with Supersedes: ADR-NNN.

Process

Step 1: Identify the Decision Point

What question are we answering? Frame it as a clear, specific question:

  • ✅ "Which database engine should we use for transactional data?"
  • ❌ "Database stuff"

The question should be answerable with a concrete choice.

Step 2: Gather Context

Collect facts and constraints from extraction and assessment data:

  • Technical constraints: What does the current system require? What are the integration points?
  • Business constraints: Timeline, budget, team expertise, compliance
  • Existing decisions: What prior ADRs constrain this decision?
  • Requirements: Which FRDs or PRD sections are affected?

Document only facts — not opinions or preferences. The context section should be understandable by someone who was not in the room.

Step 3: List Options with Evidence-Based Pros/Cons

For each viable option, document:

  • Description: What this option entails
  • Pros: Advantages supported by evidence (benchmarks, docs, team experience)
  • Cons: Disadvantages supported by evidence
  • Risk: What could go wrong with this option
  • Cost: Relative cost (development time, infrastructure, licensing)

Use a comparison table for easy scanning:

markdown
| Criterion | Option A | Option B | Option C |
|-----------|----------|----------|----------|
| Performance | ✅ Sub-ms reads | ⚠️ 5-10ms reads | ✅ Sub-ms reads |
| Team experience | ✅ 3 years | ❌ None | ⚠️ 6 months |
| Azure integration | ✅ Native | ✅ Native | ❌ Self-hosted |
| Cost (monthly) | $50 | $120 | $0 (compute only) |
Step 4: Document the Decision

State the decision clearly and concisely. Include:

  • What: The specific choice made
  • Why: The primary rationale (usually 1-2 sentences)
  • Deciding factors: What tipped the balance if options were close
Show full SKILL.md (535 more words)Show less
Step 5: Record Consequences

Document both positive and negative consequences:

Positive consequences — What benefits does this decision provide?

  • Faster development due to team familiarity
  • Lower infrastructure costs
  • Better integration with existing systems

Negative consequences — What trade-offs are we accepting?

  • Limited to X queries per second (may need to revisit at scale)
  • Vendor lock-in to Azure ecosystem
  • Team needs training on new ORM

Neutral consequences — What changes but is neither good nor bad?

  • Migration required from current SQLite setup
  • CI pipeline needs new test database step
Step 6: Update State Tracking

After creating or updating an ADR, update .spec2cloud/state.json:

json
{
  "adrs": [
    {
      "number": "ADR-001",
      "title": "Use PostgreSQL for transactional data",
      "status": "accepted",
      "date": "2024-01-15",
      "path": "specs/adrs/adr-001-use-postgresql.md"
    }
  ]
}

If an ADR supersedes another, update the superseded ADR's status in both the file and state.json.

Step 7: Commit

Commit the ADR (and any state.json updates) with the message format:

[adr] ADR-NNN: {Title}

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Output Location

specs/
  adrs/
    adr-001-use-postgresql.md
    adr-002-rest-over-graphql.md
    adr-003-strangler-fig-migration.md
    ...
Naming Convention

adr-NNN-{slug}.md where:

  • NNN is zero-padded to 3 digits
  • {slug} is a kebab-case summary of the decision (not the question)
  • Example: adr-007-use-entra-id-for-auth.md
Numbering

ADR numbers are sequential and never reused. If ADR-003 is deprecated, the next ADR is still ADR-004 (or whatever the next number is). Gaps in numbering are acceptable when ADRs are deprecated.

To determine the next number, read the adrs array from .spec2cloud/state.json and increment the highest existing number.

Integration with Pipeline

ADRs are referenced by other artifacts throughout the pipeline:

ArtifactHow It References ADRs
Tech stack (specs/tech-stack.md)Each technology entry links to its ADR
FRDs (specs/frd-*.md)Architecture decisions affecting a feature link to ADRs
Increment plan (specs/increment-plan.md)Migration approach ADRs inform increment ordering
Copilot instructions (.github/copilot-instructions.md)Convention ADRs are summarized as instructions

When creating ADRs, also update the referencing artifacts to include the ADR link. This ensures traceability in both directions.

Critical Rules

  1. Record decisions, not discussions. An ADR documents what was decided and why, not the meeting minutes. Keep it focused.

  2. Options must be real. Do not list straw-man options that were never viable. Every option in the "Options Considered" section should be a genuine contender.

  3. Consequences must be honest. Do not hide trade-offs. The value of an ADR is that it makes the cost of a decision visible. If a decision has significant downsides, document them.

  4. Context is facts, not opinions. "Our team has 5 years of Python experience" is context. "Python is the best language" is not.

  5. Never delete ADRs. Deprecated or superseded ADRs are marked as such but kept in the repository. They are historical records.

  6. One decision per ADR. If two decisions are related but distinct (e.g., "use PostgreSQL" and "use Prisma ORM"), create two ADRs. They can reference each other.

Quality Checklist

Before finalizing an ADR:

  • Title is a short, imperative decision statement
  • Status is set correctly (proposed for pending review, accepted for decided)
  • Context contains only facts and constraints, no opinions
  • At least 2 options are considered (the chosen option and at least one alternative)
  • Each option has evidence-based pros and cons
  • Decision states what was chosen and the primary rationale
  • Consequences include both positive and negative outcomes
  • References link to relevant FRDs, PRD sections, or external docs
  • File follows naming convention: adr-NNN-{slug}.md
  • State JSON is updated with the new ADR entry
  • Referencing artifacts are updated with ADR links
  • Commit message follows format: [adr] ADR-NNN: {Title}

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

Files

SKILL.md and 1 other file (references) in .github/skills/adr of EmeaAppGbb/spec2cloud.

  • SKILL.md
  • references/template.md

Open the folder on GitHubat commit 8e76618

Compare with similar skills

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

Adr compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Adr this skillEmeaAppGbb/spec2cloud100—~2.6kAutomated safety check: PassMIT
PR Design DocOpenHands/OpenHands90k—~2.4kAutomated safety check: PassMIT
Cto AdvisorIbrahim-3d/orchestrator-supaconductor3804 repos~2.4kAutomated safety check: PassMIT
Improve Codebase Architectureywwynm/EverythingDone14415 repos~1.3kAutomated safety check: PassGPL-3.0
Domain Modelingbrim-borium/spotify_sdk1665 repos~806Automated safety check: PassApache-2.0
Design Doc MermaidSpillwaveSolutions/design-doc-mermaid1751 repos~5.6kAutomated safety check: PassNone

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…

    90k 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.

    380 GitHub starsUsed in 4 repos~2.4k tokens
    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
  • 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 5 repos~806 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.

    175 GitHub starsUsed in 1 repo~5.6k tokens
    DevelopmentAuto-check passed
  • Learning Opportunities

    DrCatHicks/learning-opportunities

    Facilitates deliberate skill development during AI-assisted coding.

    2.5k GitHub stars~2.5k tokensUpdated 1 mo ago
    DevelopmentAuto-check passed

More from EmeaAppGbb/spec2cloud

All 38 skills in this repo
  • Azure Deployment

    EmeaAppGbb/spec2cloud

    Provision Azure infrastructure, deploy to Azure Container Apps, and verify via smoke tests.

    100 GitHub stars~1.8k tokensUpdated 5 mo ago
    Auto-check passed
  • Contract Generation

    EmeaAppGbb/spec2cloud

    Generate API contracts, shared TypeScript types, and infrastructure resource definitions from Gherkin scenarios and test files.

    100 GitHub stars~1.6k tokensUpdated 5 mo ago
    Auto-check passed
  • Ddd Modeling

    EmeaAppGbb/spec2cloud

    Create Domain-Driven Design proposals from product specs or brownfield extraction outputs.

    100 GitHub stars~2.4k tokensUpdated 5 mo ago
    Auto-check passed
  • Implementation

    EmeaAppGbb/spec2cloud

    Write application code to make failing tests pass using contract-driven, slice-based architecture.

    100 GitHub stars~2.8k tokensUpdated 5 mo ago
    Auto-check passed
  • Spec Refinement

    EmeaAppGbb/spec2cloud

    Review PRDs and FRDs through product and technical lenses. An agent skill from EmeaAppGbb/spec2cloud.

    100 GitHub stars~2.2k tokensUpdated 5 mo ago
    Auto-check passed
  • State Management

    EmeaAppGbb/spec2cloud

    Read, write, and maintain .spec2cloud/state.json across phases and increments.

    100 GitHub stars~1.5k tokensUpdated 5 mo ago
    Auto-check passed

Categories

Questions about Adr

What does Adr do?

Generate and manage Architecture Decision Records (ADRs). An agent skill from EmeaAppGbb/spec2cloud. Adr is an agent skill from EmeaAppGbb/spec2cloud. Generate and manage Architecture Decision Records (ADRs).

When should I use Adr?

Adr fits situations like: tasks that involve Architecture decision records.

How do I install Adr in Claude Code?

Run `npx skills add EmeaAppGbb/spec2cloud --skill adr -a claude-code`. Or copy the skill folder (.github/skills/adr in EmeaAppGbb/spec2cloud) into .claude/skills/adr in your project. Claude Code loads it when a task matches its description.

How do I install Adr in Codex?

Run `npx skills add EmeaAppGbb/spec2cloud --skill adr -a codex`. Or copy the skill folder (.github/skills/adr in EmeaAppGbb/spec2cloud) into .agents/skills/adr in your project. Codex loads it when a task matches its description.

Can I use Adr 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 EmeaAppGbb/spec2cloud --skill adr -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/adr, .gemini/skills/adr, .github/skills/adr and .opencode/skills/adr in your project.

What does Adr need to run?

SKILL.md names no scripts, command-line tools or credentials: Adr is instructions for the agent only. Our summary lists: Python 3.

Does Adr 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 Adr 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 Adr use?

Adr 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 Adr use?

About 2.6k tokens (SKILL.md is roughly 11k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 429 tokens, read only when the agent opens those files.

What are the alternatives to Adr?

Skills that share tags, products or a category with Adr: PR Design Doc (OpenHands/OpenHands, 90k stars), Cto Advisor (Ibrahim-3d/orchestrator-supaconductor, 380 stars), Improve Codebase Architecture (ywwynm/EverythingDone, 144 stars) and Domain Modeling (brim-borium/spotify_sdk, 166 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Adr?

EmeaAppGbb (a GitHub organization) maintains it in EmeaAppGbb/spec2cloud, which has 100 GitHub stars. The repository holds 38 skills in this directory. The repository was last updated on April 16, 2026.

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