Skip to content
Back to skills

Product

ASecurity

Generate Architecture Decision Records for significant technical decisions

  • 24 stars
  • 0 votes
  • 0 copies
  • 6 views
  • Added October 14, 2026
ai-agentsgodatabasesecurityperformance

Security analysis

A100/100

Pro scans all 21 files and shows the line behind each finding

Scanned November 22, 2026

npx -y skills add andreibesleaga/GABBE --skill product --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Product?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Product
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/andreibesleaga-product-gabbe/badge)](https://www.skillsdirectory.com/skills/andreibesleaga-product-gabbe)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: adr-writer
description: Generate Architecture Decision Records for significant technical decisions
triggers: [architecture decision, ADR, why did we choose, why are we using, architectural choice]
tags: [product]
core: true
context_cost: low
---
# ADR Writer Skill

## Goal
Document significant architectural decisions in a structured format so that future developers (and agents) understand the context, options considered, and reasoning behind each decision.

## When to Create an ADR
- Adopting a new library, framework, or service
- Choosing between multiple valid architectural approaches
- Any decision that would be hard or expensive to reverse
- Any decision affecting security or data handling
- Deviating from patterns established in AGENTS.md

## Steps

1. **Identify the decision**
   - What problem is being solved?
   - What are the constraints and requirements driving this decision?
   - What is the current state (status quo)?

2. **Research options**
   - List all viable options (minimum 2, ideally 3)
   - For each option: use research.skill to verify claims against official sources
   - Gather: pros, cons, community adoption, security track record, maintenance status

3. **Evaluate options** against project constraints
   - Which option best fits the tech stack in AGENTS.md?
   - Which option is most compatible with the architecture rules?
   - What are the performance and security implications?
   - What is the migration cost if we change later?

4. **Write the ADR** using templates/architecture/ADR_TEMPLATE.md

   ```markdown
   # ADR-[NUMBER]: [Title]

   Date: [YYYY-MM-DD]
   Status: Proposed | Accepted | Deprecated | Superseded by ADR-[N]
   Deciders: [names or roles]

   ## Context
   [The problem we're solving. Background. Constraints. Forces at play.]

   ## Options Considered

   ### Option A: [Name]
   **Pros:** [...]
   **Cons:** [...]

   ### Option B: [Name]
   **Pros:** [...]
   **Cons:** [...]

   ## Decision
   We will use **[Option X]** because [clear, specific reasoning].

   ## Consequences
   **Positive:**
   - [benefit 1]
   **Negative:**
   - [trade-off or risk 1]
   **Neutral:**
   - [things that change but aren't clearly positive or negative]

   ## Y-Statement Summary
   For [context] who need [goal], [solution] is a [category]
   that [key benefit], unlike [alternative], our solution [differentiator].
   ```

5. **Store the ADR**
   - Create: `docs/architecture/decisions/ADR-[NNN]-[title].md`
   - Create the directory if it doesn't exist
   - Number ADRs sequentially (ADR-001, ADR-002, ...)

6. **Update the ADR index**
   - If `docs/architecture/decisions/README.md` exists, add the new ADR to the table
   - If not, create it with a table of all ADRs (README.md is the index of a user project; the kit's own docs use README_FULL.md)

7. **Log to AUDIT_LOG.md**
   - Add entry with action type: ADR_CREATED
   - Reference: `docs/architecture/decisions/ADR-[NNN].md`

## Constraints
- ADRs are append-only — never delete, only supersede with a new ADR
- ADR must be human-approved before proceeding with implementation
- Options section must have at least 2 options (never "we considered only X")
- All factual claims about libraries must cite official sources

## Output Format
Completed ADR file at `docs/architecture/decisions/ADR-[NNN]-[slug].md`. Report the file path.

## Limits and safety
- Do not edit an Accepted ADR; write a new one that supersedes it.
- If the decision touches authentication, cryptography, data storage or an external integration, say in the ADR that a security review is needed (`threat-model.skill`).
- Take a library's vulnerability history from a named advisory database and give the date; do not write "no known issues" without searching.
- Remove secrets, internal hostnames and network details from the Context section.

Files in this skill

  • accessibility.skill.md6.7 KB
  • adr-writer.skill.md5 KB
  • business-case.skill.md4.1 KB
  • change-management.skill.md6.1 KB
  • decompose.skill.md4.1 KB
  • design-thinking.skill.md3.9 KB
  • estimation-sizing.skill.md5.7 KB
  • evals/spec-writer.eval.yaml967 B
  • financial-governance.skill.md5.8 KB
  • green-software.skill.md3.2 KB
  • ideation-facilitation.skill.md5.7 KB
  • market-analysis.skill.md3.5 KB
  • opportunity-assessment.skill.md5.8 KB
  • product-analytics.skill.md6.1 KB
  • professional-practice.skill.md7.6 KB
  • req-elicitation.skill.md11.4 KB
  • req-review.skill.md11.7 KB
  • spec-analyze.skill.md5.2 KB
  • spec-writer.skill.md6.5 KB
  • stakeholder-management.skill.md3.5 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.