plugins/architecture-docs/skills/adr-templates/SKILL.md
# ADR Templates > Architecture Decision Record formats, status lifecycles, and architectural documentation patterns. ## Knowledge Base ### What is an ADR? An Architecture Decision Record captures a single architectural decision along with its context and consequences. ADRs are: - **Immutable**: Once accepted, an ADR is not modified. If a decision changes, a new ADR supersedes the old one. - **Sequential**: Numbered in the order they are created. - **Lightweight**: One page, one decision. No
npx skillsauth add hermeticormus/librecopy-claude-code plugins/architecture-docs/skills/adr-templatesInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Architecture Decision Record formats, status lifecycles, and architectural documentation patterns.
An Architecture Decision Record captures a single architectural decision along with its context and consequences. ADRs are:
proposed --> accepted --> [active indefinitely]
\--> deprecated (no longer relevant)
\--> superseded by ADR-XXX (replaced)
Convention: ADR-NNNN with zero-padded numbers.
docs/adr/
README.md # Index of all ADRs
ADR-0001-use-typescript.md
ADR-0002-adopt-monorepo.md
ADR-0003-use-postgresql.md
ADR-0004-replace-rest-with-grpc.md # supersedes ADR-0003 partially
# Architecture Decision Records
| Number | Title | Status | Date |
|--------|-------|--------|------|
| [ADR-0001](ADR-0001-use-typescript.md) | Use TypeScript for all services | Accepted | 2025-01-10 |
| [ADR-0002](ADR-0002-adopt-monorepo.md) | Adopt monorepo with Turborepo | Accepted | 2025-01-15 |
| [ADR-0003](ADR-0003-use-postgresql.md) | Use PostgreSQL as primary datastore | Accepted | 2025-02-01 |
| [ADR-0004](ADR-0004-replace-rest-with-grpc.md) | Replace REST with gRPC for internal services | Proposed | 2025-03-01 |
Write an ADR when:
Do NOT write an ADR for:
Nygard Format (minimal):
# Title
## Status
## Context
## Decision
## Consequences
MADR Format (recommended, used by this plugin):
# Title
- Status, Date, Deciders
## Context and Problem Statement
## Decision Drivers
## Considered Options
## Decision Outcome
### Consequences
## Options Analysis
## Related Decisions
## Notes
Y-Statement Format (for the decision line):
In the context of {context},
facing {concern},
we decided for {option},
to achieve {quality},
accepting {downside}.
Example: "In the context of choosing a primary datastore, facing the need for ACID transactions and complex joins, we decided for PostgreSQL, to achieve data consistency and query flexibility, accepting that horizontal scaling will require read replicas."
| Level | What it Shows | Audience | Update Frequency | |-------|---------------|----------|-----------------| | Context (L1) | System + external actors | Everyone | Rarely | | Container (L2) | Deployable units | Developers, DevOps | When adding services | | Component (L3) | Internal structure of one container | Developers | When refactoring | | Code (L4) | Classes and functions | Not usually documented | Auto-generated if needed |
tools
# User Doc Patterns > Patterns for writing clear, accessible end-user documentation. ## Knowledge Base ### User Documentation vs Developer Documentation | User Docs | Developer Docs | |-----------|---------------| | Task-oriented ("How do I...") | Concept-oriented ("How does it work...") | | Plain language | Technical language | | Screenshots and visual aids | Code examples | | Step-by-step procedures | API references | | Feature names and UI labels | Function signatures and parameters | | A
tools
# Tutorial Structures > Pedagogical patterns and frameworks for creating effective technical tutorials. ## Knowledge Base ### The Tutorial Spectrum Tutorials exist on a spectrum between two extremes: | Recipe | Concept Guide | |--------|--------------| | "Do exactly this" | "Understand this idea" | | Step-by-step | Explanation-heavy | | Fast to complete | Deep understanding | | Low retention | High retention | The best tutorials blend both: steps for doing, explanations for understanding.
tools
# Tutorial Patterns ## Tutorial vs. How-to Guide: The Critical Distinction Before writing, identify which document is actually needed: | Tutorial | How-to Guide | |----------|-------------| | "Build a REST API in Node.js" | "Add JWT authentication to your Express API" | | For someone new to this | For someone who knows the domain | | Explains why each step is done | Steps are efficient, minimal explanation | | Has checkpoints, explores | Numbered steps, no detours | | Learner reaches a comple
tools
# Tech Blogging Patterns ## The Developer Reading Pattern Developers do not read technical posts linearly. They scan in this order: 1. Headline (is this relevant to me?) 2. Code blocks (is this real code I can use?) 3. Headers (what does this cover?) 4. First paragraph (what's the point?) 5. Key takeaways / conclusion (is it worth reading fully?) Design for scanning first, reading second. Put real code within the first 25% of the post. ## The Before/After Pattern The contrast between a pain