documentation-and-adrs

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

Updated Jul 22, 2026
One-click install
npx skills add https://github.com/Chau165/local_skill --skill documentation-and-adrs-chau165
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: documentation-and-adrs
Source: https://github.com/Chau165/local_skill/tree/main/codex/skills/documentation-and-adrs
Command: npx skills add https://github.com/Chau165/local_skill --skill documentation-and-adrs-chau165

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 at design intent. This Skill captures the why behind architectural decisions, APIs, and features in durable written records. ## Core Features & Use Cases - Architecture Decision Records (ADRs): Creates numbered ADRs with context, decision, alternatives considered, and consequences, while matching any existing project convention for location, numbering, and headings. - Inline and API Documentation: Guides writing why-focused code comments, TypeScript docstrings with parameters and examples, and OpenAPI/Swagger specs for REST endpoints. - Project Documentation: Provides templates for READMEs, changelogs, and agent-facing instruction files like AGENTS.md. - 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 contributors understand the decision. ## Quick Start Ask the agent to write an ADR documenting the decision to adopt a specific framework, including the context, alternatives considered, and consequences.

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 ADRs in docs/decisions/ with sequential numbering, or match your project's existing ADR convention if one exists.

When should I write an ADR for a project?

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 should code comments explain versus avoid?

Comments should explain why code behaves a certain way, such as non-obvious constraints or design rationale. Avoid comments that restate what the code does, leftover TODOs for work you should do now, and commented-out code that version control already preserves.

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 lifecycle from proposed to accepted to superseded or deprecated.

What sections should a project README include?

A README should include a one-paragraph project description, quick start steps, a commands table, an architecture overview linking to ADRs, and contributing guidelines. This gives new developers and agents everything needed to run and understand the project.