
Adr Drafting
Capture why your stack and architecture choices were made so future you and agents do not reopen settled decisions.
Overview
ADR Drafting is an agent skill most often used in Build (also Ship, Operate) that guides you to write concise Architecture Decision Records with status, context, decision, and consequences.
Install
npx skills add https://github.com/giuseppe-trisciuoglio/developer-kit --skill adr-draftingWhat is this skill?
- Produces ADRs with Status, Context, Decision, and Consequences sections
- Includes real examples for database adoption and event-driven processing
- Action-oriented titles: Adopt, Introduce, and similar naming patterns
- Separates Accepted vs Proposed status for decision lifecycle
- Surfaces trade-offs explicitly in Consequences—not just the happy path
- 2 full ADR examples in the skill readme
Adoption & trust: 794 installs on skills.sh; 271 GitHub stars; 3/3 security scanners passed (skills.sh audits).
What problem does it solve?
You keep re-litigating the same stack choices because the original reasoning lived only in a merged PR thread or Slack message.
Who is it for?
Solo builders standardizing how database, messaging, and platform bets are documented before or right after implementation.
Skip if: Teams that already enforce a formal enterprise architecture board with templated Confluence workflows and no need for repo-local ADRs.
When should I use this skill?
When you need to document a significant technical or architectural decision in ADR format.
What do I get? / Deliverables
You get a numbered ADR markdown file ready to commit under docs/architecture/adr so agents and teammates can align on accepted vs proposed decisions.
- Numbered ADR markdown file with Status, Context, Decision, and Consequences
Recommended Skills
Journey fit
Spans multiple journey phases - primary shelf plus alternate fits below.
ADRs belong on the build shelf because they document decisions made while designing and implementing the product. Docs is the canonical home for structured architecture records alongside README and technical guides.
Where it fits
Draft ADR-0003 before migrating production from SQLite to PostgreSQL.
Record the decision to introduce async order events before wiring the message broker.
Capture launch-blocking infra choices so rollback and on-call know what was accepted.
Propose a superseding ADR when checkout latency forces a workflow change.
How it compares
Use for lightweight in-repo decision logs instead of dumping rationale only into chat or unstructured wiki pages.
Common Questions / FAQ
Who is adr-drafting for?
Indie and solo developers shipping SaaS, APIs, or internal tools who want agent-friendly architecture documentation in the repository.
When should I use adr-drafting?
During build when choosing persistence or async patterns, during ship when locking launch-time infra, and during operate when superseding an earlier decision with a new ADR.
Is adr-drafting safe to install?
It is a documentation template skill with no runtime permissions; review the Security Audits panel on this page before installing any skill from the catalog.
SKILL.md
READMESKILL.md - Adr Drafting
# ADR Examples ## Example 1 **Path:** `docs/architecture/adr/0003-adopt-postgresql-for-primary-database.md` ```markdown # ADR-0003: Adopt PostgreSQL for the Primary Database ## Status Accepted ## Context The application has outgrown SQLite for concurrent writes and operational visibility. We need stronger transactional guarantees, better backup tooling, and a database that can support production traffic growth. ## Decision Adopt PostgreSQL as the primary relational database for all new production deployments. ## Consequences PostgreSQL improves concurrency, operational tooling, and long-term scalability. It also introduces additional infrastructure and migration complexity compared with SQLite. ``` ## Example 2 **Path:** `docs/architecture/adr/0004-introduce-event-driven-order-processing.md` ```markdown # ADR-0004: Introduce Event-Driven Order Processing ## Status Proposed ## Context Synchronous order processing is increasing latency in the checkout flow and makes retries difficult when downstream services are degraded. ## Decision Introduce an event-driven workflow for order fulfillment so checkout can publish an order event and downstream processors can handle fulfillment asynchronously. ## Consequences This change should reduce user-facing latency and improve resilience. It also adds messaging infrastructure, operational monitoring needs, and eventual-consistency trade-offs. ``` ## Naming Tips - Prefer action-oriented titles such as "Adopt", "Introduce", "Standardize", or "Migrate" - Keep filenames short but descriptive - Reuse the repository's numbering pattern if ADRs already exist # Default ADR Template Use this template when the repository does not already provide an ADR structure. ```markdown # ADR-NNNN: Decision Title ## Status Proposed ## Context Describe the problem, constraints, trade-offs, and any alternatives that influenced this decision. ## Decision Describe the architectural choice that was made. ## Consequences Describe what becomes easier, harder, riskier, or more expensive because of this decision. ``` ## Default Conventions - Directory: `docs/architecture/adr` - Filename: `NNNN-short-kebab-title.md` - Title format: `ADR-NNNN: Decision Title` - Starting number: `0001` if no prior ADR exists ## Status Guidance - `Proposed` — The change is being considered or prepared - `Accepted` — The team has agreed to the decision - `Rejected` — The proposed decision was considered and declined Keep status values simple unless the repository already uses a richer ADR lifecycle. --- name: adr-drafting description: Creates new Architecture Decision Record (ADR) documents for significant architectural changes using a consistent template and repository-aware naming and storage guidance. Use when a user or agent decides on an architectural change, needs to document technical rationale, or wants to add a new ADR to the project history. allowed-tools: Read, Write, Edit, Glob, AskUserQuestion --- # ADR Drafting Creates new Architecture Decision Record (ADR) documents for major architectural choices so teams can keep a clear history of why important technical decisions were made. ## Overview This skill helps create a new ADR from discovery to final markdown file. It confirms the decision details, inspects the repository for any existing ADR conventions, and drafts a new ADR with the standard sections `Title`, `Status`, `Context`, `Decision`, and `Consequences`. When the repository does not already have an ADR convention, default to storing ADRs in `docs/architecture/adr` and use a zero-padded filename such as `0001-use-postgresql-for-primary-database.md`. See `references/template.md` for the default ADR template and `references/examples.md` for example ADRs and naming patterns. ## When to Use Use this skill when a user or agent has decided on a meaningful architectural change and needs to document the rationale, chosen direction, and trade-offs in a new Architecture Decision Record. It fits r