documentation-and-adrs

Document architectural decisions with ADRs capturing context and trade-offs.

Updated Apr 15, 2026
One-click install
npx skills add https://github.com/ToanPV90/dotfiles --skill documentation-and-adrs-toanpv90
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: documentation-and-adrs
Source: https://github.com/ToanPV90/dotfiles/tree/main/claude/.claude/skills/documentation-and-adrs
Command: npx skills add https://github.com/ToanPV90/dotfiles --skill documentation-and-adrs-toanpv90

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

It prevents architectural decisions from being lost over time by documenting the context, constraints, and trade-offs so teams and agents can understand why a system looks the way it does.

Core Features & Use Cases

  • ADR authoring guidance: Defines when an architectural decision warrants an ADR and how to structure it.
  • Decision lifecycle rules: Enforces an ADR lifecycle (PROPOSED → ACCEPTED → superseded/deprecated) without deleting historical context.
  • Anti-rationalization workflow: Counters common reasons to skip ADRs by emphasizing future maintainability and faster onboarding.
  • Quality standards: Promotes writing the why (not the what), avoiding stale comments, and capturing alternatives and consequences.

Quick Start

Ask an agent: Write an ADR for choosing between competing approaches for an API design decision, including the context, alternatives considered, and the consequences, and store it under docs/decisions using the next sequential number and a kebab-case title.

Frequently Asked Questions about documentation-and-adrs

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

FAQPage Schema
What is an ADR and when do I need to document architectural decisions?

An ADR captures the context, constraints, and trade-offs of architectural decisions so teams understand why a system looks the way it does. You need ADRs when selecting frameworks, databases, authentication strategies, or API architectures to preserve historical rationale.

How do I write an ADR for an API architecture trade-off decision?

To write an ADR for API architecture trade-offs, document the context, alternatives considered, and consequences rather than code behavior. Store it under docs/decisions using the next sequential number and a kebab-case title to maintain a structured decision log.

Does this ADR workflow support onboarding new contributors with historical context?

Yes, ADRs accelerate onboarding by giving contributors and agents the historical rationale behind framework, database, and authentication strategy selections. Documenting the why instead of the what prevents architectural context from being lost over time.

What is the best way to manage the ADR lifecycle without deleting historical context?

The best way to manage the ADR lifecycle is enforcing status transitions from PROPOSED to ACCEPTED, then superseded or deprecated. This anti-rationalization workflow prevents deleting or altering past decisions without documentation, preserving the full historical context.

What should I avoid when documenting architecture decisions and trade-offs?

Avoid documenting code behavior, writing stale comments, or rationalizing past decisions without a trace. Focus on capturing the why, including alternatives and consequences, to maintain quality standards and ensure future maintainability of the architecture decisions.