addyosmani avatar

Documentation And Adrs

Structured guide for recording architecture decisions (ADRs), inline docs, and API documentation, plus detecting documentation drift.

CCM score
74 of 100
skills.sh installs
82.6K
GitHub stars
120.4K
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers ADR authoring with a template, lifecycle rules, and matching existing repository conventions before defaulting to docs/decisions/
  • Includes guidance on commenting the why, documenting known gotchas, TypeScript JSDoc, OpenAPI for REST, and README and changelog structure
  • Enforces a rule against deleting superseded ADRs, and against comments that restate code or leave commented-out code behind
  • Designed for teams and agents that need recorded context on why a design was chosen and when docs have fallen out of sync

Install

$ npx -y skills add addyosmani/agent-skills --skill documentation-and-adrs -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Documentation and ADRs

Overview

Document decisions, not just code. The most valuable documentation captures the why — the context, constraints, and trade-offs that led to a decision. Code shows what was built; documentation explains why it was built this way and what alternatives were considered. This context is essential for future humans and agents working in the codebase.

When to Use

  • Making a significant architectural decision
  • Choosing between competing approaches
  • Adding or changing a public API
  • Shipping a feature that changes user-facing behavior
  • Onboarding new team members (or agents) to the project
  • When you find yourself explaining the same thing repeatedly

When NOT to use: Don't document obvious code. Don't add comments that restate what the code already says. Don't write docs for throwaway prototypes.

Architecture Decision Records (ADRs)

ADRs capture the reasoning behind significant technical decisions. They're the highest-value documentation you can write.

When to Write an ADR

Details

Repository
github.com/addyosmani/agent-skills
Categories
Technical Documentation, Agent Workflow & Planning
First seen
Apr 16, 2026

More from addyosmani/agent-skills

All 25

Similar to Documentation And Adrs

More Technical Documentation