documentation-and-adrs

Writes architecture decision records, API documentation, READMEs, and changelogs for codebases.

Updated May 19, 2026
One-click install
npx skills add https://github.com/richardnguyen0715/agent-sharing --skill documentation-and-adrs-richardnguyen0715
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: documentation-and-adrs
Source: https://github.com/richardnguyen0715/agent-sharing/tree/main/.github/skills/documentation-and-adrs
Command: npx skills add https://github.com/richardnguyen0715/agent-sharing --skill documentation-and-adrs-richardnguyen0715

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Engineering decisions and their rationale are often lost, forcing future developers and AI agents to re-debate settled choices or guess why code was built a certain way. This Skill provides structured templates and rules for capturing architectural decisions, API documentation, and project context. ## Core Features & Use Cases - Architecture Decision Records (ADRs): A numbered template with Status, Context, Decision, Alternatives Considered, and Consequences sections, stored in docs/decisions/ with a Proposed → Accepted → Superseded lifecycle. - Inline and API Documentation: Rules for commenting the why rather than the what, plus JSDoc/TSDoc and OpenAPI patterns for public interfaces. - README and Changelog Standards: Templates covering quick start, commands, architecture overview, and versioned release notes. - Use Case: After choosing PostgreSQL over MongoDB for a new service, write ADR-001 documenting the requirements, rejected alternatives, and consequences so future engineers never re-litigate the decision. ## Quick Start Ask the AI to write an ADR documenting the architectural decision you just made, including the alternatives you considered and why they were rejected.

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

Create a numbered Markdown file in docs/decisions/ with sections for Status, Date, Context, Decision, Alternatives Considered, and Consequences. Document each rejected alternative with its pros, cons, and the reason it was not chosen.

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 that would be expensive to reverse.

Should old ADRs be deleted when decisions change?▼

No, old ADRs should be kept because they capture historical context. When a decision changes, write a new ADR that references and supersedes the previous one, following the Proposed to Accepted to Superseded lifecycle.

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

Good comments explain why code exists, such as non-obvious constraints or design rationale, while bad comments restate what the code already says. Avoid TODO comments for work you should do now and delete commented-out code instead of leaving it.

When should I not write documentation?▼

Skip documentation for obvious self-explanatory code, throwaway prototypes, and comments that merely restate what the code does. Focus documentation effort on decisions, public APIs, known gotchas, and context future readers cannot infer.