component-common-domai…
Finds duplicate business logic spread across multiple components and suggests consolidation. Use when asking "where is this logic duplicated?", "find common…
Creates Architecture Decision Records (ADRs) to document significant architectural choices and their rationale for future team members. Use when the user says "write an ADR", "document this decision", "record why we chose X", "add an architecture decision record", "create an ADR
$ npx -y skills add tech-leads-club/agent-skills --skill create-adr --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/create-adrContext preview
The summary Claude sees to decide when to auto-load this skill.
Creates Architecture Decision Records (ADRs) to document significant architectural choices and their rationale for future team members. Use when the user says "write an ADR", "document this decision", "record why we chose X", "add an architecture decision record", "create an ADR
name: create-adr description: Creates Architecture Decision Records (ADRs) to document significant architectural choices and their rationale for future team members. Use when the user says "write an ADR", "document this decision", "record why we chose X", "add an architecture decision record", "create an ADR for", or wants to capture the reasoning behind a technical choice so the team understands it later. Do NOT use when the decision hasn't been made yet (use create-rfc instead), for implementation planning (use technical-design-doc-creator), or for general documentation. license: CC-BY-4.0 metadata: author: Tech Leads Club - github.com/tech-leads-club version: '1.0.0'
You are an expert in creating Architecture Decision Records (ADRs) — concise, durable documents that capture the context, decision, and consequences of significant architectural choices so future team members understand *why* things are the way they are.
Use this skill when:
Do NOT use for:
| Aspect | ADR | RFC | |--------|-----|-----| | **Timing** | Decision already made (or being finalized) | Before the decision (seeking input) | | **Purpose** | Record for future team members | Proposal seeking approval | | **Audience** | Engineers joining months or years later | Current stakeholders | | **Length** | Short — 200–500 words | Long — thorough comparison | | **Mutability** | Immutable — superseded, never edited | Iterative — evolves during review | | **Tone** | Historical record | Deliberative proposal |
If the user says "I need to decide whether to do X" → use `create-rfc`. If the user says "We decided to do X, let me document it" → use this skill.
**CRITICAL**: Always generate the ADR in the **same language as the user's request**. Detect the language automatically.
Three formats are widely used. Detect the right one from context, or ask:
| Format | Best For | Length | |--------|----------|--------| | **MADR** (Markdown ADR) | Teams that want structured options comparison | Medium | | **Nygard** (original) | Minimal, fast recording; obvious decisions | Short | | **Y-Statement** | Inline documentation, very compact contexts | One paragraph |
Default to **MADR** unless the user specifies otherwise or the decision is very simple.
---
If the user provides minimal context, use **AskQuestion** to collect essential information:
{
"title": "ADR Information",
"questions": [
{
"id": "adr_decision",
"prompt": "What was the decision made? (e.g., 'Use PostgreSQL for primary storage')",
"options": [
{ "id": "free_text", "label": "I'll describe it in my next message" }
]
},
{
"id": "adr_format",
"prompt": "Which ADR format would you like to use?",
"options": [
{ "id": "madr", "label": "MADR — structured, with options comparison (recommended)" },
{ "id": "nygard", "label": "Nygard — minimal: Context / Decision / Consequences" },
{ "id": "y_statement", "label": "Y-Statement — single paragraph, very compact" }
]
},
{
"id": "adr_status",
"prompt": "What is the current status of this decision?",
"options": [
{ "id": "accepted", "label": "Accepted — decision is final" },
{ "id": "proposed", "label": "Proposed — decision is being finalized" },
{ "id": "deprecated", "label": "Deprecated — this approach is no longer recommended" },
{ "id": "superseded", "label": "Superseded — replaced by a newer decision" }
]
},
{
"id": "adr_supersedes",
"prompt": "Does this ADR supersede a previous decision?",
"options": [
{ "id": "yes", "label": "Yes — I'll provide the ADR number/title" },
{ "id": "no", "label": "No — this is a new decision" }
]
}
]
}**MANDATORY fields — ask if missing**:
**RECOMMENDED fields**:
If any mandatory fields are missing, ask IN THE USER'S LANGUAGE before generating the document.
Scan the existing ADR directory for the next sequential number:
1. Check if an ADR directory exists (`docs/adr/`, `docs/decisions/`, `.adr/
The secure, validated skill registry for professional AI coding agents. Extend Antigravity, Claude Code, Cursor, Copilot and more with absolute confidence.
Repo: tech-leads-club/agent-skills
Finds duplicate business logic spread across multiple components and suggests consolidation. Use when asking "where is this logic duplicated?", "find common…
Detects misplaced classes and fixes component hierarchy problems — finds code that should belong inside a component but sits at the root level. Use when asking…
Maps architectural components in a codebase and measures their size to identify what should be extracted first. Use when asking "how big is each module?",…
Analyzes coupling between modules using the three-dimensional model (strength, distance, volatility) from "Balancing Coupling in Software Design". Use when…
Creates step-by-step decomposition plans and migration roadmaps for breaking apart monolithic applications. Use when asking "what order should I extract…
Maps business domains and suggests service boundaries in any codebase using DDD Strategic Design. Use when asking "what are the domains in this codebase?",…