documentation-and-adrs

Write architecture decision records, API documentation, READMEs, and changelogs for software projects.

Updated Mar 14, 2026
One-click install
npx skills add https://github.com/yourlabpt/yourlabpt_website --skill documentation-and-adrs-yourlabpt
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: documentation-and-adrs
Source: https://github.com/yourlabpt/yourlabpt_website/tree/main/projects/skills/documentation-and-adrs
Command: npx skills add https://github.com/yourlabpt/yourlabpt_website --skill documentation-and-adrs-yourlabpt

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Engineering decisions and design rationale are often lost, forcing future developers and AI agents to re-debate settled questions or guess at intent. This Skill captures the why behind architectural choices, APIs, and features in durable written form. ## Core Features & Use Cases - Architecture Decision Records (ADRs): Write numbered ADRs with context, decision, alternatives considered, and consequences, while matching any existing project convention for location, numbering, and format. - Inline and API Documentation: Add why-focused code comments, TypeScript docstrings with parameters and examples, and OpenAPI specifications for REST endpoints. - Project Documentation: Structure READMEs with quick start and commands, maintain changelogs for shipped features, and keep agent-facing rules files current. - Use Case: After choosing PostgreSQL over MongoDB for a new service, use this Skill to write ADR-001 documenting the requirements, rejected alternatives, and consequences so future engineers understand the decision. ## Quick Start Write an ADR documenting the decision to use PostgreSQL as the primary database for this project.

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?▼

An ADR documents a significant technical decision with sections for status, date, context, decision, alternatives considered, and consequences. Store it in docs/decisions/ with sequential numbering, or match your project's existing ADR convention if one exists.

When should I write an ADR?▼

Write an ADR when choosing frameworks or major dependencies, designing data models, selecting authentication strategies, deciding API architecture, or making any decision expensive to reverse. Skip ADRs for trivial or easily reversible choices.

What is the difference between good and bad code comments?▼

Good comments explain why code exists, such as non-obvious constraints or design rationale. Bad comments restate what the code already says, leave stale TODOs, or preserve commented-out code that version control already tracks.

Should old ADRs be deleted when a decision changes?▼

No, old ADRs should never be deleted because they capture historical context. When a decision changes, write a new ADR that references and supersedes the previous one, following the lifecycle from proposed to accepted to superseded.

When should I not write documentation?▼

Skip documentation for self-explanatory code, throwaway prototypes, and comments that merely restate what the code does. Documentation should capture intent, trade-offs, and constraints that the code itself cannot express.