AgentStack
SKILL verified MIT Self-run

Generate Adr

skill-woliveiras-geremmyas-generate-adr · by woliveiras

Generate an Architectural Decision Record in MADR 4.0 format. Use when: recording a decision, architecture decision record, documenting why we chose X. Do not use: for full architecture analysis, routine choices.

No reviews yet
0 installs
12 views
0.0% view→install

Install

$ agentstack add skill-woliveiras-geremmyas-generate-adr

✓ scanned · ✓ verified — works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

Are you the author of Generate Adr? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

Generate ADR — MADR 4.0

Generate an Architectural Decision Record using the MADR format. Use this when recording a justified design choice — technology, library, pattern, or approach.

When to Use

  • You made (or are making) a decision that others will ask "why?" about later
  • You're choosing between multiple viable options
  • You want to document a decision that is already accepted

For complex architecture exploration with module-deepening analysis, use the architect agent instead. For implementation sequencing, use plan.md and tasks.md instead of an ADR.

Before Creating an ADR

Create an ADR only when all three are true:

  • The decision is hard to reverse.
  • The decision would be surprising without context.
  • The decision is the result of a real trade-off between viable options.

Do not create ADRs for obvious, trivial, or easy-to-reverse choices. If the decision does not meet the bar, explain that no ADR is needed and suggest where the context should live instead, such as a PRD, spec, or code comment.

Procedure

  1. Ask the user for:
  • The decision topic (short title)
  • The context / problem being solved
  • The options they considered (at least 2)
  • Which option was chosen and why
  1. Determine the next ADR number: list existing files in docs/decisions/ and increment
  2. Fill in the template below — include optional sections only when the user provides enough detail
  3. Save to docs/decisions/NNNN-title-with-dashes.md

Template

---
status: {proposed | accepted | deprecated | superseded by ADR-NNNN}
date: {YYYY-MM-DD}
---

# {Short title, representative of solved problem and found solution}

## Context and Problem Statement

{Describe the context and problem in 2-3 sentences. Articulate as a question when possible.}

## Decision Drivers

* {Force, concern, or constraint that influenced the decision}
* {Another driver}

## Considered Options

* {Option 1}
* {Option 2}
* {Option 3}

## Decision Outcome

Chosen option: "{Option}", because {justification — reference the decision drivers}.

### Consequences

* Good, because {positive consequence}
* Bad, because {negative consequence}

### Confirmation

{How will compliance with this decision be verified? Code review, automated test, lint rule, etc.}

## Pros and Cons of the Options

### {Option 1}

{Brief description or link}

* Good, because {argument}
* Bad, because {argument}

### {Option 2}

{Brief description or link}

* Good, because {argument}
* Bad, because {argument}

## More Information

{Links to related ADRs, issues, or discussions.}

Rules

  • Title must describe the decision, not the problem ("Use PostgreSQL for persistence", not "Database choice")
  • Context section: 2-3 sentences max — link to issues for backstory
  • Always list at least 2 considered options (even if one is "do nothing" or "status quo")
  • Decision Outcome must reference the decision drivers — explain why, not just what
  • Consequences: be honest about trade-offs — every decision has downsides
  • Omit optional sections (Decision Drivers, Confirmation, Pros/Cons, More Information) if the decision is straightforward
  • Use status: proposed for decisions under discussion, status: accepted for final decisions, status: implemented for decisions that have been implemented, status: deprecated for decisions that are no longer recommended, and status: superseded by ADR-NNNN for decisions that have been replaced by a newer ADR
  • Number files sequentially: 0001-use-fastapi.md, 0002-adopt-zustand.md

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet — be the first.

Versions

  • v0.1.0 Imported from the upstream source.