# Docs as contract

> Treat READMEs, docstrings, help text, comments, examples, and changelogs as promises that must match the code that ships, sweep them when behaviour changes.

- Page: https://youraiskill.com/skill/adamentwistle-docs-as-contract
- What it does: Treat READMEs, docstrings, help text, comments, examples, and changelogs as promises that must match the code that ships — sweep them when behaviour changes, write comments for why not what, run every documented command once, never document intent as fact. Use when a change alters behaviour, an interface, a default, or a setup step; when asked to "add docs" or "document this"; when writing comment
- Niches: technical-writing, documents
- Licence: MIT
- Status: Free on GitHub: not rated 7 or higher by Claude yet, or it does something a person should look at first (for example runs programs or calls the internet), or its licence or authorship needs a look. Never sold.
- Contents: instructions and reference files only

To add it, see https://youraiskill.com/guides/how-to-add-a-skill-to-claude
