adr-writing

Documents structural software architecture decisions with a standardized naming convention and template.

Updated Jul 1, 2026
One-click install
npx skills add https://github.com/yaresimeonthomas/-kate-crm --skill adr-writing-yaresimeonthomas
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: adr-writing
Source: https://github.com/yaresimeonthomas/-kate-crm/tree/main/.claude/skills/adr-writing
Command: npx skills add https://github.com/yaresimeonthomas/-kate-crm --skill adr-writing-yaresimeonthomas

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill solves the problem of losing critical context for structural code decisions made during development, which often leads to repeated team debates, inconsistent implementations, or accidental breaking changes months after the original choice was made.

Core Features & Use Cases

  • Conditional ADR Guidance: Only prompts for an ADR when a decision meets the structural threshold (new recurring pattern, new dependency, convention departure, non-obvious schema choice), skipping micro-choices like file naming or style.
  • Collision-Proof Naming Convention: Uses a session + ticket namespace for ADR filenames to avoid conflicts when multiple developers work in parallel on the same codebase.
  • Standardized Template & Workflow: Provides a 25-line maximum ADR template, source code reference guidelines, and commit message format to ensure ADRs are consistently created, linked to implementation, and reviewed alongside code.
  • Use Case: When a team decides to adopt a new Supabase extension for row-level security, this Skill ensures the decision, context, and tradeoffs are documented so future developers understand the reasoning without digging through old commit threads.

Quick Start

Use the adr-writing skill to document the decision to switch the application's authentication provider from Auth0 to Keycloak.

Frequently Asked Questions about adr-writing

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
When should I write an architecture decision record for my codebase?

Write an architecture decision record when making structural choices like adopting new recurring code patterns, adding runtime dependencies, departing from conventions, or making non-obvious database schema decisions. This avoids documenting trivial micro-choices like file naming.

How do I document software architecture decisions to prevent team debates?

Document software architecture decisions using a standardized 25-line maximum template that captures context and tradeoffs. This structured documentation preserves reasoning for future teams and eliminates repeated debates over past implementation choices.

How do I create collision-proof filenames for architecture decision records in parallel development?

Create collision-proof filenames for architecture decision records by applying a session and ticket namespace convention. This prevents file conflicts when multiple developers document structural decisions simultaneously in the same codebase.

How do I link architecture decision records to source code commits?

Link architecture decision records to source code using a paired commit workflow that provides source code reference guidelines and a commit message format. This ensures ADRs are consistently reviewed alongside implementation changes.

Does the architecture decision record workflow require specific dependencies?

The architecture decision record workflow requires no specific dependencies. It provides a standalone template and naming convention designed to integrate directly into your existing development workflow without external tools.

How do I document a new authentication provider switch as an architecture decision?

Document an authentication provider switch by creating an architecture decision record that captures the decision context, tradeoffs, and reasoning. This ensures future developers understand the structural change without digging through old commit threads.