documentation-and-adrs

Record architectural and API decisions as ADRs in docs/decisions.

1|1|Updated Apr 20, 2026
One-click install
npx skills add https://github.com/svssdeva/agentic-skills --skill documentation-and-adrs-svssdeva
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: documentation-and-adrs
Source: https://github.com/svssdeva/agentic-skills/tree/main/engineering/documentation-and-adrs
Command: npx skills add https://github.com/svssdeva/agentic-skills --skill documentation-and-adrs-svssdeva

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill prevents teams and AI agents from re-litigating architecture decisions by ensuring the why, constraints, and trade-offs behind changes are recorded for later reference.

Core Features & Use Cases

  • Decision recording (ADRs): Documents significant architectural and API decisions, including alternatives considered and consequences, using a clear lifecycle (PROPOSED → ACCEPTED → superseded/deprecated).
  • Inline documentation guidance: Provides rules for documenting non-obvious intent (the why and gotchas) rather than restating code.
  • Agent-friendly project context: Helps keep documentation aligned with agent workflows by specifying what future humans and agents need to understand to operate effectively in the codebase.

Use case: When you change a public API or switch a major dependency, record the decision as an ADR so future agents can build on the rationale instead of guessing.

Quick Start

Use this skill when you need to write or update an ADR for an architectural or public API decision, such as recording why a framework or data model changed, and then store it under docs/decisions/ following the ADR numbering template.

Frequently Asked Questions about documentation-and-adrs

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

FAQPage Schema
How do I record architecture decisions so AI agents understand the rationale later?

Record architecture decisions by writing ADRs in docs/decisions with sequential numbering, documenting context, alternatives, and consequences. This gives future agents the context needed to operate effectively without re-litigating changes.

What is an ADR and when do I need to write one for public API changes?

An ADR is an architecture decision record that captures the why and trade-offs behind technical changes. You need to write one when making major framework selections, data model designs, security strategy decisions, or lifecycle changes to shipped public APIs.

How do I manage the ADR lifecycle from proposal to acceptance?

Manage the ADR lifecycle by moving records through a PROPOSED to ACCEPTED status, eventually marking them superseded or deprecated. This sequential lifecycle ensures decision rationale remains transparent and prevents outdated context from misleading future agents.

Does writing architecture documentation help with engineering governance and reducing re-litigation?

Writing architecture documentation establishes engineering governance by forcing teams to record constraints and alternatives. This prevents re-litigation of settled decisions by ensuring the rationale behind framework and schema changes is permanently accessible.

What's the best way to document inline gotchas and non-obvious code intent?

Document inline gotchas by focusing on the why and non-obvious intent rather than restating what the code does. This approach provides engineering governance by capturing decision rationale directly alongside the affected public API or schema logic.

Why does my team keep re-litigating architectural decisions and framework changes?

Teams re-litigate architectural decisions when the constraints, alternatives, and consequences behind major framework or data model changes are not recorded. Writing ADRs with full context ensures future engineers and agents build on existing rationale instead of guessing.