documentation-and-adrs

Record architectural decisions and rationale in ADR templates.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/RefractSystems/virtmcu --skill documentation-and-adrs-refractsystems
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: documentation-and-adrs
Source: https://github.com/RefractSystems/virtmcu/tree/main/.gemini/skills/documentation-and-adrs
Command: npx skills add https://github.com/RefractSystems/virtmcu --skill documentation-and-adrs-refractsystems

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Capture the contextual "why" behind technical choices so future engineers and automated agents can understand decisions, avoid repeated debates, and maintain stable public interfaces.

Core Features & Use Cases

  • ADR templates and lifecycle: guidance for writing Architecture Decision Records, storing them in docs/decisions/, and tracking PROPOSED → ACCEPTED → SUPERSEDED/DEPRECATED transitions.
  • API and public-interface rationale: record why APIs changed, trade-offs considered, and compatibility consequences for consumers.
  • Onboarding and agent context: concise explanations and known gotchas to accelerate new contributors and guide automated agents.
  • Changelog and inline documentation: keep human-readable histories and code comments that explain intent rather than restate implementation.

Quick Start

Use the documentation-and-adrs skill to create an ADR that documents the decision, alternatives considered, consequences, and status in docs/decisions/ADR-001.

Frequently Asked Questions about documentation-and-adrs

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

FAQPage Schema
How do I write an Architecture Decision Record to capture technical rationale?

To write an Architecture Decision Record, create a document in docs/decisions/ containing concise sections for context, decision, alternatives, and consequences. This preserves the trade-offs behind technical choices for future engineers and automated agents.

What is the lifecycle status for an Architecture Decision Record?

The Architecture Decision Record lifecycle tracks transitions from PROPOSED to ACCEPTED, and finally to SUPERSEDED or DEPRECATED. This status progression manages decision states within a code repository.

How do I document API changes and compatibility consequences for consumers?

Document API changes by recording why interfaces changed, the trade-offs considered, and compatibility consequences for consumers. This public-interface rationale prevents repeated debates and maintains stable interfaces for downstream users.

How do I create onboarding documentation and agent-facing rules in a code repository?

Create onboarding documentation by writing concise explanations and known gotchas to accelerate new contributors. These notes function as agent-facing rules in a code repository to guide automated agents with project context.

When should I use an ADR template instead of inline code comments?

Use an ADR template for architectural decisions involving multiple alternatives and broad consequences, while inline documentation explains specific implementation intent. Both maintain human-readable histories but ADRs capture high-level design rationale.

Do I need a specific directory structure to store Architecture Decision Records?

You need a docs/decisions/ directory to store Architecture Decision Records. This structured location ensures future engineers and automated agents can reliably discover and review the context behind technical choices.