documentation-and-adrs

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

3|Updated Jul 28, 2026
One-click install
npx skills add https://github.com/marcmarti9/agentit --skill documentation-and-adrs-marcmarti9
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: documentation-and-adrs
Source: https://github.com/marcmarti9/agentit/tree/main/skills/documentation-and-adrs
Command: npx skills add https://github.com/marcmarti9/agentit --skill documentation-and-adrs-marcmarti9

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Significant technical decisions and design rationale often live only in people's heads, causing future engineers and agents to re-debate settled choices or misunderstand constraints. This Skill captures the why behind decisions in durable, structured documentation. ## Core Features & Use Cases - Architecture Decision Records (ADRs): Create sequentially numbered ADRs with context, decision, alternatives considered, and consequences, while matching any existing project convention for location, numbering, and headings. - Inline and API Documentation: Write why-focused code comments, JSDoc-style API documentation with parameters, return types, and examples, plus OpenAPI specs for REST endpoints. - READMEs and Changelogs: Produce README structures covering quick start, commands, and architecture, and maintain changelogs for shipped features. - Use Case: After choosing PostgreSQL over MongoDB for a new service, use this Skill to write an ADR documenting the requirements, rejected alternatives, and consequences so future contributors understand the rationale. ## 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 the context, decision, alternatives considered, and consequences of a significant technical choice. Store it in docs/decisions/ with sequential numbering, and match any existing project convention for location, format, and headings before applying defaults.

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. Trivial or easily reversible choices do not need one.

What should code comments explain in a codebase?▼

Comments should explain the why, not the what: non-obvious intent, constraints, and known gotchas. Avoid restating self-explanatory code, leaving stale TODOs, or keeping commented-out code that version control already preserves.

Should old ADRs be deleted when a decision changes?▼

No, old ADRs capture historical context and should be kept. 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 engineers and agents enough context to run and understand the project.