docs-as-definition-of-done

Solid

Use when finishing any code change that modifies behavior, public API, CLI flags, config shape, defaults, error messages, or anything a reader-of-the-docs would model — before committing, pushing, or declaring "done." Forbids deferring doc updates to a follow-up commit, ticket, or "cleanup later."

AI & Automation 20 stars 4 forks Updated today Apache-2.0

Install

View on GitHub

Quality Score: 81/100

Stars 20%
44
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
80
License 10%
100
Description 5%
100

Skill Content

# Docs-as-Definition-of-Done ## Overview Docs describe code **exactly, but at the conceptual level**. A reader of the markdown must get a faithful, current mental model of the code without reading the code. **Core principle:** A code change is **not done** until every documentation statement that the change invalidated has been updated **in the same logical task**. No "I'll fix the docs later." No separate doc-cleanup commits. No stub TODOs. **Why:** Stale docs are worse than missing docs. They confidently mislead readers — future-you, reviewers, new teammates, AI coding assistants loading them as context — into building on a model that no longer matches reality. Each stale statement silently compounds: every downstream decision made against it is already wrong. ## When to Use Invoke before you `git commit` / `git push` / say "done" for any change that touches: - Public API shape (signatures, return types, error types, exceptions raised) - CLI surface (commands, flags, defaults, exit codes) - Config shape (YAML / TOML / JSON keys, types, defaults, required/optional) - Behavior under any documented condition (retries, rate limits, timeouts, fallbacks) - Error or log messages that docs quote verbatim - Data schemas, database columns, API payload shapes - Architecture / layer boundaries / module ownership - Security, policy, or compliance promises - Version-gated or platform-specific behavior - Performance or scaling guarantees ## When Not to Use - Pure internal refacto...

Details

Author
CorvinLabs
Repository
CorvinLabs/CorvinOS
Created
4 weeks ago
Last Updated
today
Language
Python
License
Apache-2.0

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category