{"playbook":"Documentation","url":"https://agentwranglers.se/playbook/documentation","updated":"2026-10-27","license":"https://creativecommons.org/licenses/by/4.0/","credit":"Required by the licence: credit Agent Wranglers with a link to the rule or playbook you used.","ids":"Each rule has an id, such as PAY-14, that never changes. Open a rule by its id at /r/PAY-14. Its revision changes whenever its content changes.","how":"Each rule's How and Measured text is on its own page: add .md to its url.","rules":[{"id":"DOC-1","revision":"d4cbe8bb24f6","updated":"2026-10-27","name":"Sort every page into one of four kinds","level":"Recommended","rule":"Give every docs page one kind from a fixed list of tutorial, how-to guide, reference and explanation. Group the docs index by kind.","check":"A script reads the front matter of every page under `docs/`. Each has a `kind` from the four and a `reader`, and every page appears under its kind in the docs index.","check_type":"command","url":"https://agentwranglers.se/playbook/documentation/kinds-of-docs/four-kinds","related":["/playbook/documentation/kinds-of-docs/mixed-kinds","/playbook/documentation/reference-and-changelogs/generated-reference","/playbook/documentation/kinds-of-docs/how-to-steps","/playbook/documentation/kinds-of-docs/plain-words","/playbook/documentation/readme-and-docs-as-code/docs-index"],"sources":["https://diataxis.fr/start-here/"]},{"id":"DOC-2","revision":"61b0bee3fdb8","updated":"2026-10-27","name":"Write how-to guides as numbered steps toward one goal","level":"Recommended","rule":"Title each how-to guide with the goal, list what the reader needs first, give numbered steps, and end with a way to confirm it worked.","check":"A script reads every page with `kind: how-to`. Each title starts with \"How to\" or a verb. Each page has a \"Before you start\" section, an ordered list of steps and a final \"Check it worked\" section.","check_type":"command","url":"https://agentwranglers.se/playbook/documentation/kinds-of-docs/how-to-steps","related":["/playbook/documentation/kinds-of-docs/four-kinds","/playbook/documentation/docs-for-coding-agents/runbooks-in-repo","/playbook/documentation/docs-for-coding-agents/agent-docs-eval","/playbook/documentation/help-centres-and-user-guides/task-articles"],"sources":["https://diataxis.fr/how-to-guides/"]},{"id":"DOC-3","revision":"c49f6c558699","updated":"2026-10-27","name":"Test every tutorial from a clean start","level":"Recommended","rule":"Run every tutorial from start to end in CI, in a fresh environment. Run it on every change to the tutorial or its code, and once a week.","check":"CI has a job that runs each tutorial's commands in a fresh container, triggered by changes to `docs/tutorials/` and on a weekly schedule. Break one step on a branch, and the job fails on that step.","check_type":"command","url":"https://agentwranglers.se/playbook/documentation/kinds-of-docs/tested-tutorials","related":["/playbook/documentation/readme-and-docs-as-code/strict-docs-build","/playbook/documentation/readme-and-docs-as-code/readme-sections"],"sources":["https://diataxis.fr/tutorials/"]},{"id":"DOC-4","revision":"f60b8fc4e2f0","updated":"2026-10-22","name":"Mixing kinds of docs on one page","level":"Avoid","rule":"Never put long background in a how-to guide or tutorial, or steps in a reference page. Link to the page of the other kind instead.","check":"A script finds no page of kind `how-to` or `tutorial` with a heading named \"Background\", \"Why\", \"History\" or \"Reference\", and no table over 10 rows. It finds no ordered list of steps on a page of kind `reference`.","check_type":"command","url":"https://agentwranglers.se/playbook/documentation/kinds-of-docs/mixed-kinds","related":["/playbook/documentation/kinds-of-docs/four-kinds"],"sources":["https://diataxis.fr/how-to-guides/"]},{"id":"DOC-5","revision":"0e642edf6ba2","updated":"2026-10-27","name":"Write docs in plain words for the named reader","level":"Recommended","rule":"Write every page for the reader its front matter names. Keep sentences under 25 words, define each term on first use, and lint the prose in CI.","check":"The prose linter runs on every pull request that changes `docs/`. A test page with a 30-word sentence and a banned word fails it with an error on each line. A script finds the first use of each glossary term on every page and fails when that use does not link to the glossary.","check_type":"http","url":"https://agentwranglers.se/playbook/documentation/kinds-of-docs/plain-words","related":["/playbook/seo/site-structure/glossary-page","/playbook/documentation/kinds-of-docs/four-kinds","/playbook/documentation/help-centres-and-user-guides/task-articles","/playbook/documentation/keeping-docs-current/stale-time-words"],"sources":["https://developers.google.com/style/translation"]},{"id":"DOC-6","revision":"9b41726a3360","updated":"2026-10-27","name":"Give the README a fixed set of sections","level":"Recommended","rule":"Give every README the same sections in the same order. They are what it is, who it is for, the quick start, the status, where the docs are and how to get help.","check":"A script reads `README.md`. It has the headings \"Quick start\", \"Status\", \"Documentation\" and \"Help\" in that order after the opening paragraph, and every link in it answers 200. CI copies the commands from the quick start block into a fresh container and runs them. The app answers on the named address within 5 minutes.","check_type":"command","url":"https://agentwranglers.se/playbook/documentation/readme-and-docs-as-code/readme-sections","related":["/playbook/ai-assisted-development/setting-up-the-project/runnable-from-clean-checkout","/playbook/engineering/build-test-and-deploy/compose-for-local","/playbook/stack/how-to-choose/easy-to-learn","/playbook/codebase-takeover/triage/run-from-clean-checkout","/playbook/documentation/kinds-of-docs/tested-tutorials","/playbook/ai-assisted-development/setting-up-the-project/instructions-file","/playbook/documentation/readme-and-docs-as-code/docs-index","/playbook/documentation/readme-and-docs-as-code/architecture-overview","/playbook/documentation/readme-and-docs-as-code/onboarding-guide","/playbook/open-source/contributions/contributing-guide","/playbook/due-diligence/code-and-ownership/explain-without-ai"],"sources":[]},{"id":"DOC-7","revision":"def2d5cb310c","updated":"2026-10-22","name":"Keep one docs index that links every page","level":"Recommended","rule":"Keep one index page for the docs that links every page, grouped by kind. Fail the build on a page no index or menu links to.","check":"A script lists every Markdown file under `docs/` and every link in the index or menu file. It fails on any file that no link reaches.","check_type":"command","url":"https://agentwranglers.se/playbook/documentation/readme-and-docs-as-code/docs-index","related":["/playbook/documentation/readme-and-docs-as-code/readme-sections","/playbook/documentation/kinds-of-docs/four-kinds","/playbook/documentation/keeping-docs-current/delete-stale-docs"],"sources":[]},{"id":"DOC-8","revision":"4d1670e0738d","updated":"2026-10-27","name":"Build and test the docs in CI and fail on every warning","level":"Recommended","rule":"Build the docs site on every pull request with warnings treated as errors, check every link and run every code sample as a test. A broken internal link, a missing page in the menu, a bad cross-reference or a failing sample fails the build.","check":"On a branch, add a link to a page that does not exist. The docs job in CI fails and names the file and the link. A sample whose output is wrong fails it too.","check_type":"command","url":"https://agentwranglers.se/playbook/documentation/readme-and-docs-as-code/strict-docs-build","related":["/playbook/engineering/version-control-and-review/docs-with-the-change","/playbook/api-design/contracts-and-docs/examples","/playbook/stack/delivery-and-infrastructure/docs-site-generator","/playbook/documentation/kinds-of-docs/tested-tutorials","/playbook/documentation/readme-and-docs-as-code/docs-preview","/playbook/documentation/examples-that-run/complete-examples"],"sources":["https://docs.python.org/3/library/doctest.html"]},{"id":"DOC-9","revision":"46399bc83cb2","updated":"2026-10-22","name":"Publish a preview of the docs for every pull request","level":"Optional","rule":"Publish the built docs of every pull request that changes them to a preview address, and post the address on the pull request.","check":"A pull request that changes `docs/` gets a comment with a preview address within 10 minutes. The address answers 200 and sends `X-Robots-Tag: noindex` or a `noindex` meta tag.","check_type":"http","url":"https://agentwranglers.se/playbook/documentation/readme-and-docs-as-code/docs-preview","related":["/playbook/seo/crawling-and-indexing/meta-robots","/playbook/documentation/readme-and-docs-as-code/strict-docs-build"],"sources":[]},{"id":"DOC-10","revision":"5dc23ba727d8","updated":"2026-10-27","name":"Number decision records and link each one from the code it governs","level":"Recommended","rule":"Number each decision record and give it a status. Replace an accepted record with a new one instead of editing it. Name the record in the code, config or doc that follows from it.","check":"A script reads every record. Each has a status from the list and a date, and every superseded record links to a record that exists. It also finds every `ADR NNNN` reference in the repository. Each points to a record that exists and is not superseded, and every accepted record is referenced at least once outside `docs/decisions/`.","check_type":"static","url":"https://agentwranglers.se/playbook/documentation/readme-and-docs-as-code/linked-decision-records","related":["/playbook/ai-assisted-development/setting-up-the-project/record-decisions","/playbook/architecture/comments/comments-say-why","/playbook/architecture/structure/split-services-for-a-reason","/playbook/architecture/system-architecture/quality-scenarios","/playbook/infrastructure/hosting-platforms/hosting-model","/playbook/stack/how-to-choose/proven-for-five-years","/playbook/stack/how-to-choose/widely-used","/playbook/stack/how-to-choose/prefer-open-source","/playbook/codebase-takeover/rewrite-or-refactor/rewrite-conditions","/playbook/documentation/readme-and-docs-as-code/architecture-overview","/playbook/open-source/licences-and-copyright/osi-approved-licence","/playbook/open-source/maintainers-and-governance/governance-document","/playbook/due-diligence/code-and-ownership/explain-without-ai"],"sources":["https://docs.aws.amazon.com/prescriptive-guidance/latest/architectural-decision-records/adr-process.html"]},{"id":"DOC-40","revision":"2de9ed09884e","updated":"2026-10-27","name":"Keep one architecture overview with a context view and a container view","level":"Recommended","rule":"Keep one architecture overview page in the repository. It shows the system in its context, with its users and outside systems, and every deployable part with the data stores it owns.","check":"A script reads the list of deployable services, such as the services in the Compose file or the folders under `services/`. Each name appears in `docs/architecture.md`, and the page names no service that no longer exists. The same script compares the containers in the diagram with the services in the deploy files, such as Compose or Kubernetes manifests.","check_type":"command","url":"https://agentwranglers.se/playbook/documentation/readme-and-docs-as-code/architecture-overview","related":["/playbook/documentation/readme-and-docs-as-code/diagrams-as-code","/playbook/documentation/readme-and-docs-as-code/linked-decision-records","/playbook/documentation/readme-and-docs-as-code/readme-sections"],"sources":["https://www.iso.org/standard/74393.html"]},{"id":"DOC-46","revision":"58eb36ed1822","updated":"2026-10-27","name":"Draw diagrams as code","level":"Recommended","rule":"Write diagrams as text in the repository, with a diagram language such as Mermaid, PlantUML or D2, never only as an exported image.","check":"The build renders every diagram source with its tool, such as `mmdc` for Mermaid, and fails on a syntax error. A search finds no `.png` or `.svg` diagram without a source file next to it.","check_type":"static","url":"https://agentwranglers.se/playbook/documentation/readme-and-docs-as-code/diagrams-as-code","related":["/playbook/codebase-takeover/triage/system-map","/playbook/documentation/readme-and-docs-as-code/architecture-overview","/playbook/engineering/version-control-and-review/docs-with-the-change"],"sources":[]},{"id":"DOC-41","revision":"8755cc7e9166","updated":"2026-10-27","name":"Keep a first-week guide for new team members","level":"Recommended","applies":["team"],"rule":"Keep one onboarding page for people who join the team. It lists the accounts to request, the first tasks, the people to ask and the docs to read, in that order.","check":"`docs/onboarding.md` exists and has the four sections Accounts, First tasks, People and Reading. Every link in it answers 200, and its last change is less than 180 days old.","check_type":"manual","url":"https://agentwranglers.se/playbook/documentation/readme-and-docs-as-code/onboarding-guide","related":["/playbook/documentation/readme-and-docs-as-code/readme-sections"],"sources":[]},{"id":"DOC-11","revision":"09f7faf99c1d","updated":"2026-10-27","name":"Keep a docs version for every supported release","level":"Recommended","rule":"Publish a separate docs version for every major version you still support. Show a banner on older versions that links to the same page in the latest one.","check":"For each supported major version in the support policy, `/docs/vN/` answers 200. Every page of an older version shows the banner with a link that answers 200, and no unsupported version answers 200.","check_type":"manual","url":"https://agentwranglers.se/playbook/documentation/reference-and-changelogs/versioned-docs","related":["/playbook/documentation/keeping-docs-current/delete-stale-docs","/playbook/open-source/vulnerabilities-and-advisories/security-policy"],"sources":[]},{"id":"DOC-12","revision":"c6a9b918e7c0","updated":"2026-10-22","name":"Give every error code its own docs page","level":"Recommended","rule":"Give every error code or problem type your product returns a docs page that says what it means and how to fix it. Link to that page from the error itself.","check":"A test collects every problem type or error code defined in the code. Each has a docs page, and each `type` URI answers 200 with an HTML page.","check_type":"manual","url":"https://agentwranglers.se/playbook/documentation/reference-and-changelogs/error-pages","related":["/playbook/api-design/errors/problem-details","/playbook/documentation/help-centres-and-user-guides/help-in-context"],"sources":["https://www.rfc-editor.org/rfc/rfc9457#section-3.1.1"]},{"id":"DOC-45","revision":"913e88bb7474","updated":"2026-10-27","name":"Generate reference docs from the code","level":"Recommended","rule":"Build reference docs for every public interface from the code or contract, never by hand.","check":"The build regenerates the reference docs and fails when the result differs from the committed or published copy. The generator runs with warnings as errors, such as `typedoc --treatValidationWarningsAsErrors` with `validation.notDocumented` on. For Python, add a docstring linter such as Ruff's `D1` rules. A public function without a doc comment then fails.","check_type":"static","url":"https://agentwranglers.se/playbook/documentation/reference-and-changelogs/generated-reference","related":["/playbook/documentation/kinds-of-docs/four-kinds","/playbook/api-design/contracts-and-docs/generated-docs","/playbook/documentation/reference-and-changelogs/settings-reference"],"sources":["https://spec.openapis.org/oas/v3.2.1.html"]},{"id":"DOC-13","revision":"b1059f53927b","updated":"2026-10-27","name":"Generate the settings reference from one schema","level":"Recommended","rule":"Define every setting and environment variable once, in a schema in the code, with its type, default and description. Generate the settings reference from that schema.","check":"The build regenerates the settings page from the schema and fails when it differs from the committed copy. A search for direct reads such as `process.env.` or `os.environ[` outside the settings module finds none.","check_type":"static","url":"https://agentwranglers.se/playbook/documentation/reference-and-changelogs/settings-reference","related":["/playbook/documentation/reference-and-changelogs/generated-reference","/playbook/application-security/secrets-and-configuration/secrets-out-of-code","/playbook/documentation/keeping-docs-current/names-that-exist"],"sources":[]},{"id":"DOC-14","revision":"545a42e90250","updated":"2026-10-27","name":"Keep a dated changelog for users with deprecations and security fixes in their own sections","level":"Recommended","rule":"Keep a changelog that tells users what changed for them in each release, in their words. Give it the six change types Added, Changed, Deprecated, Removed, Fixed and Security, with an ISO 8601 date per release. Mark a pulled release as yanked.","check":"A script parses `CHANGELOG.md`. Every release heading has a date in `YYYY-MM-DD` form, every section is one of the six types, and every published advisory appears under Security. CI fails a pull request that changes code without changing `CHANGELOG.md`, unless it carries the `no-changelog` label.","check_type":"http","url":"https://agentwranglers.se/playbook/documentation/reference-and-changelogs/changelog-deprecations-security","related":["/playbook/api-design/changes-over-time/api-changelog","/playbook/developer-tools/libraries-and-sdks/deprecation-policy","/playbook/compliance/security-laws/security-advisories","/playbook/documentation/reference-and-changelogs/migration-guides","/playbook/documentation/keeping-docs-current/deprecation-labels","/playbook/customer-support/response-times-and-escalation/fix-follow-up","/playbook/open-source/vulnerabilities-and-advisories/private-fix"],"sources":["https://keepachangelog.com/en/1.1.0/","https://semver.org/"]},{"id":"DOC-15","revision":"52ab44a6f464","updated":"2026-10-27","name":"Write a migration guide for every major version","level":"Recommended","rule":"Publish a migration guide with every major version. List each breaking change with the old use, the new use and how to find affected code.","check":"For every major version tag above 1, `docs/migrate/vN.md` exists. It names every item under Removed and Changed in that version's changelog section.","check_type":"manual","url":"https://agentwranglers.se/playbook/documentation/reference-and-changelogs/migration-guides","related":["/playbook/documentation/reference-and-changelogs/changelog-deprecations-security","/playbook/engineering/major-upgrades/one-major-at-a-time"],"sources":["https://semver.org/"]},{"id":"DOC-16","revision":"ae175caf0fb7","updated":"2026-10-27","name":"Point the instructions file at the docs instead of copying them","level":"Recommended","rule":"Keep the agent instructions file to commands, conventions and links. Link to the docs for anything longer, and never paste a passage from the docs into it.","check":"A script compares the instructions file with every page under `docs/`. It finds no run of three or more identical lines in both, and every path the instructions file links to exists.","check_type":"command","url":"https://agentwranglers.se/playbook/documentation/docs-for-coding-agents/link-docs-from-instructions","related":["/playbook/ai-assisted-development/setting-up-the-project/instructions-file","/playbook/documentation/keeping-docs-current/one-home-per-value","/playbook/ai-assisted-development/context-and-memory/short-current-instructions"],"sources":["https://agents.md/"]},{"id":"DOC-17","revision":"035a89b09648","updated":"2026-10-27","name":"Publish the docs in a form agents can fetch","level":"Recommended","rule":"Serve every public docs page as Markdown at a predictable address, and list the pages in an `llms.txt` file. State the product version on each page.","check":"For every HTML docs page, the Markdown address named in its `<link rel=\"alternate\" type=\"text/markdown\">` answers 200. `/llms.txt` answers 200 and links every page in the docs index.","check_type":"manual","url":"https://agentwranglers.se/playbook/documentation/docs-for-coding-agents/agent-readable-docs","related":["/playbook/ai-assisted-development/context-and-memory/fetchable-docs","/playbook/website/site-architecture/one-source-many-formats","/playbook/agents-as-users/ready-for-ai-agents/llms-txt"],"sources":["https://llmstxt.org/"]},{"id":"DOC-44","revision":"ef8a0274c120","updated":"2026-10-27","name":"Keep runbooks next to the code they run","level":"Recommended","rule":"Write a runbook in the repository for every task a person does by hand in production. Turn each step into a script when you can.","check":"A script lists `docs/runbooks/`. Every runbook has numbered steps and a \"last run\" date under 6 months old.","check_type":"command","url":"https://agentwranglers.se/playbook/documentation/docs-for-coding-agents/runbooks-in-repo","related":["/playbook/testing/performance-tests/load-test-runbook","/playbook/operations/running-the-service/limit-toil","/playbook/codebase-takeover/triage/record-handover-sessions","/playbook/documentation/kinds-of-docs/how-to-steps","/playbook/operations/alerts-and-on-call/actionable-alerts","/playbook/operations/disaster-recovery/restore-runbook","/playbook/documentation/docs-for-coding-agents/destructive-step-stops","/playbook/due-diligence/code-and-ownership/explain-without-ai"],"sources":[]},{"id":"DOC-18","revision":"94143dbfcb30","updated":"2026-10-27","name":"Put a stop before every destructive step in a runbook","level":"Recommended","rule":"Mark every runbook step that deletes data, drops a table or destroys infrastructure with a stop line. Say what is lost, how to undo it and who must approve it.","check":"A script scans every code block in `docs/runbooks/` for destructive commands, such as `DROP`, `DELETE FROM`, `TRUNCATE`, `rm -rf`, `terraform destroy` and `kubectl delete`. Each one has a line starting with `STOP.` directly above its block.","check_type":"command","url":"https://agentwranglers.se/playbook/documentation/docs-for-coding-agents/destructive-step-stops","related":["/playbook/documentation/docs-for-coding-agents/runbooks-in-repo","/playbook/operations/disaster-recovery/restore-runbook","/playbook/ai-assisted-development/agent-config-supply-chain/review-agent-config"],"sources":[]},{"id":"DOC-19","revision":"a34a83f50595","updated":"2026-10-27","name":"Fail the build on hidden characters in docs","level":"Required","risk":"takeover","rule":"Fail the build when a docs page or agent instructions file contains invisible Unicode characters, such as zero-width characters, bidirectional controls or tag characters.","check":"Add a zero-width space and a tag character to a test docs page on a branch. CI fails and names the file, the line and the code point.","check_type":"command","url":"https://agentwranglers.se/playbook/documentation/docs-for-coding-agents/no-hidden-characters","related":["/playbook/adversarial-testing/ai-agents-and-models/file-prompt-injection"],"sources":["https://www.unicode.org/reports/tr36/"]},{"id":"DOC-20","revision":"9f16a93f8dfb","updated":"2026-10-22","name":"Test the docs with a fresh agent","level":"Optional","rule":"Keep a fixed set of at least 5 tasks taken from the how-to guides. Give each to a fresh agent session that has only the docs, and fail the change when fewer than 4 succeed.","check":"The task set has at least 5 tasks, each with a script that checks its result. The latest run on the main branch passed at least 4 of them, and its date is after the last change to `docs/`.","check_type":"command","url":"https://agentwranglers.se/playbook/documentation/docs-for-coding-agents/agent-docs-eval","related":["/playbook/ai-assisted-development/measuring-and-improving/evaluate-agent-setup","/playbook/documentation/kinds-of-docs/how-to-steps"],"sources":[]},{"id":"DOC-21","revision":"198cd0e5eebb","updated":"2026-10-27","name":"Make every example complete enough to copy and run","level":"Recommended","rule":"Give every code example its imports, setup and the version it was tested with. Mark left-out code with a comment in the example's language, never with dots, and show no copy button on such a block.","check":"The docs test extracts every code block without a skip marker and runs or compiles it, and all pass. A lint finds no line in a code block that is only `...` or `…`.","check_type":"static","url":"https://agentwranglers.se/playbook/documentation/examples-that-run/complete-examples","related":["/playbook/documentation/readme-and-docs-as-code/strict-docs-build","/playbook/documentation/examples-that-run/placeholders","/playbook/documentation/examples-that-run/examples-per-sdk","/playbook/documentation/examples-that-run/sample-code-licence"],"sources":["https://developers.google.com/style/code-samples","https://doc.rust-lang.org/rustdoc/write-documentation/documentation-tests.html","https://go.dev/blog/examples"]},{"id":"DOC-22","revision":"59ae229076a2","updated":"2026-10-22","name":"Write placeholders in capitals and explain each one","level":"Recommended","rule":"Write each value the reader must replace in capitals with underscores, such as `ORDER_ID`, and explain every one in a list right after the block.","check":"A lint reads every code block. Each token in capitals with underscores that is not a known constant appears in a \"Replace the following\" list directly after the block.","check_type":"static","url":"https://agentwranglers.se/playbook/documentation/examples-that-run/placeholders","related":["/playbook/documentation/examples-that-run/complete-examples","/playbook/documentation/examples-that-run/made-up-data"],"sources":["https://developers.google.com/style/placeholders"]},{"id":"DOC-23","revision":"2491e6681d7d","updated":"2026-10-27","name":"Use only made-up data in docs","level":"Required","risk":"data","rule":"Use only made-up names, addresses, keys and records in docs, examples, sample output and screenshots. Use the reserved example domains and documentation IP ranges.","check":"CI runs a secret scanner over `docs/` and the built docs site, and it finds nothing. A lint finds no domain in a code block outside the reserved names and your own domains. It finds no IPv4 address outside the documentation ranges.","check_type":"static","url":"https://agentwranglers.se/playbook/documentation/examples-that-run/made-up-data","related":["/playbook/documentation/examples-that-run/placeholders","/playbook/application-security/secrets-and-configuration/secrets-out-of-code","/playbook/testing/test-data-and-environments/production-like-staging","/playbook/documentation/examples-that-run/generated-screenshots"],"sources":["https://www.rfc-editor.org/rfc/rfc2606","https://www.rfc-editor.org/rfc/rfc5737","https://eur-lex.europa.eu/eli/reg/2016/679/oj"]},{"id":"DOC-24","revision":"eb6c0afc7779","updated":"2026-10-22","name":"Make screenshots with a test from a demo account","level":"Recommended","rule":"Make every product screenshot in the docs with a browser test that signs in to a seeded demo account. Regenerate them all on each release.","check":"Every image under `docs/images/screens/` has a test with the same name that produces it. The release job reruns the tests, and a script finds no screenshot older than the last release.","check_type":"command","url":"https://agentwranglers.se/playbook/documentation/examples-that-run/generated-screenshots","related":["/playbook/documentation/examples-that-run/made-up-data","/playbook/documentation/help-centres-and-user-guides/accessible-docs-pages","/playbook/app-ui/tests-and-budgets/visual-regression"],"sources":[]},{"id":"DOC-25","revision":"28cd799fdf97","updated":"2026-10-22","name":"Show each API example in every language you ship an SDK for","level":"Recommended","rule":"Give every API example in the docs one version per official SDK language, plus a raw HTTP request. Test each version in that SDK's own test run.","check":"The docs build reads the list of SDK languages. Every example group has a block for each language and one for HTTP. Each block comes from a test file that passed in the last SDK run.","check_type":"http","url":"https://agentwranglers.se/playbook/documentation/examples-that-run/examples-per-sdk","related":["/playbook/api-design/contracts-and-docs/examples","/playbook/documentation/examples-that-run/complete-examples"],"sources":[]},{"id":"DOC-38","revision":"65a62cba3c6f","updated":"2026-10-22","name":"Put code samples under a licence that lets readers copy them","level":"Recommended","rule":"State the licence of the code samples in the docs apart from the licence of the prose. Pick one that asks nothing back, such as 0BSD or MIT-0, so readers can paste samples into closed code.","check":"The docs footer names the samples' SPDX licence identifier. A licence check of the docs repository, such as `reuse lint`, finds a licence for every sample file.","check_type":"static","url":"https://agentwranglers.se/playbook/documentation/examples-that-run/sample-code-licence","related":["/playbook/open-source/licences-and-copyright/spdx-file-headers","/playbook/open-source/licences-and-copyright/third-party-notices","/playbook/documentation/examples-that-run/complete-examples"],"sources":["https://opensource.org/license/0bsd","https://reuse.software/"]},{"id":"DOC-26","revision":"547c974909d0","updated":"2026-10-22","name":"Name help articles after the task people came to do","level":"Recommended","rule":"Give each help article one task, and title it with the customer's own words for that task, such as \"Change the delivery address\".","check":"A script reads every help article. Each has one `h1` that starts with a verb or \"How\", and at most one ordered list of steps.","check_type":"command","url":"https://agentwranglers.se/playbook/documentation/help-centres-and-user-guides/task-articles","related":["/playbook/documentation/kinds-of-docs/plain-words","/playbook/seo/keyword-research/customer-words","/playbook/documentation/kinds-of-docs/how-to-steps","/playbook/documentation/help-centres-and-user-guides/failed-searches"],"sources":[]},{"id":"DOC-27","revision":"e48035edd235","updated":"2026-10-27","name":"Make product instructions accessible as the law requires","level":"Required","risk":"law","applies":["eu-users"],"region":["EU"],"rule":"When the European Accessibility Act covers your product or service, publish its instructions and help as accessible web pages. Give every image and video a text alternative.","check":"Every manual and help article has an HTML page that answers 200. The accessibility test of the docs site finds zero violations, every image has alt text and every video has a captions track.","check_type":"manual","url":"https://agentwranglers.se/playbook/documentation/help-centres-and-user-guides/accessible-instructions","related":["/playbook/compliance/product-and-data-laws/accessibility-act-duty","/playbook/documentation/help-centres-and-user-guides/accessible-docs-pages","/playbook/documentation/help-centres-and-user-guides/cra-user-information"],"sources":["https://eur-lex.europa.eu/eli/dir/2019/882/oj","https://www.iso.org/standard/64599.html"]},{"id":"DOC-39","revision":"090cc7482ffc","updated":"2026-10-27","name":"Ship the user information the Cyber Resilience Act lists","level":"Required","risk":"law","applies":["digital-product"],"region":["EU"],"review_by":"2027-12-11","rule":"From 11 December 2027, give every product the Act covers its identifier, the maker's name and contact details, and the user information in Annex II. That includes the support end date with month and year.","check":"For each covered product, a test fetches its instructions page. The page shows the product identifier, the maker's name and a postal or email address. It also shows a security contact and a support end date as month and year. The date matches the sales page.","check_type":"manual","url":"https://agentwranglers.se/playbook/documentation/help-centres-and-user-guides/cra-user-information","related":["/playbook/localization/language-laws/product-safety-language","/playbook/documentation/help-centres-and-user-guides/accessible-instructions","/playbook/compliance/security-laws/cra-support-period","/playbook/open-source/vulnerabilities-and-advisories/security-policy","/playbook/compliance/security-laws/cra-scope"],"sources":["https://digital-strategy.ec.europa.eu/en/policies/cra-summary","https://eur-lex.europa.eu/eli/reg/2024/2847/oj"]},{"id":"DOC-42","revision":"55b5d572b034","updated":"2026-10-27","name":"Publish a system card for every AI feature","level":"Recommended","applies":["ai-features"],"rule":"Publish one system card for every feature that uses a language or machine learning model. It names the model and version, the purpose, uses that are out of scope, the latest eval results, known limits and an owner.","check":"A script lists every model ID in the code and config. Each one appears in a system card with the six fields filled in. The eval numbers on each card equal those in the latest eval report.","check_type":"command","url":"https://agentwranglers.se/playbook/documentation/help-centres-and-user-guides/ai-system-card","related":["/playbook/machine-learning/training-runs-and-the-registry/model-cards","/playbook/documentation/help-centres-and-user-guides/ai-instructions-for-use"],"sources":[]},{"id":"DOC-43","revision":"46f262988e2d","updated":"2026-10-27","name":"Ship instructions for use with a high-risk AI system","level":"Required","risk":"law","applies":["ai-features"],"region":["EU"],"review_by":"2027-12-02","rule":"When you provide a high-risk AI system, give deployers instructions for use with every item in AI Act Article 13(3). Ship them before the system reaches the market.","check":"For each system marked high-risk in the AI register, a test fetches its instructions page. The page has one section for each of the points (a) to (f) of Article 13(3), and the accuracy figures match the latest eval report.","check_type":"manual","url":"https://agentwranglers.se/playbook/documentation/help-centres-and-user-guides/ai-instructions-for-use","related":["/playbook/compliance/ai-act/ai-high-risk-check","/playbook/documentation/help-centres-and-user-guides/ai-system-card"],"sources":["https://eur-lex.europa.eu/eli/reg/2024/1689/oj","https://eur-lex.europa.eu/eli/reg/2026/1744/oj"]},{"id":"DOC-28","revision":"6745a1639f6a","updated":"2026-10-27","name":"Make docs pages pass the same accessibility checks as the product","level":"Recommended","rule":"Run the docs site through the same automated accessibility tests as the product, on every pull request. Write code as text, give every image alt text and keep headings in order.","check":"The accessibility test runs on every docs page in CI and reports zero violations. A script finds no image in `docs/` whose alt text is empty unless it is marked decorative, and no page with a skipped heading level.","check_type":"command","url":"https://agentwranglers.se/playbook/documentation/help-centres-and-user-guides/accessible-docs-pages","related":["/playbook/accessibility/law-and-statements/accessible-support","/playbook/documentation/examples-that-run/generated-screenshots","/playbook/documentation/help-centres-and-user-guides/accessible-instructions","/playbook/accessibility/testing-and-procurement/accessibility-in-ci"],"sources":["https://www.w3.org/TR/WCAG22/"]},{"id":"DOC-29","revision":"c84dd64ed67f","updated":"2026-10-22","name":"Link help from the screen where people get stuck","level":"Recommended","rule":"Link the matching help article from each error message, empty state and complex setting in the product. Test that every help link in the product answers 200.","check":"A test reads the list of help links in the product code. Each address answers 200 without a redirect, and every error message defined in the product has an entry.","check_type":"http","url":"https://agentwranglers.se/playbook/documentation/help-centres-and-user-guides/help-in-context","related":["/playbook/app-ui/data-views/error-in-place","/playbook/documentation/reference-and-changelogs/error-pages"],"sources":[]},{"id":"DOC-30","revision":"787744aca942","updated":"2026-10-27","name":"Fix the help searches that find nothing","level":"Recommended","rule":"Log every help centre search that returns no results, without the person's identity. Each month, give each of the 10 most common ones an article or a synonym.","check":"A report lists the zero-result searches of the last 30 days. Each of its top 10 queries now returns at least one result, and the log holds no user ID or email address.","check_type":"manual","url":"https://agentwranglers.se/playbook/documentation/help-centres-and-user-guides/failed-searches","related":["/playbook/search/language-and-matching/match-plain-questions","/playbook/documentation/help-centres-and-user-guides/task-articles"],"sources":[]},{"id":"DOC-31","revision":"7d11c39a7a3c","updated":"2026-10-27","name":"Ask on every article whether it helped","level":"Optional","rule":"Ask \"Did this help?\" at the end of every help article. Open a ticket for the owner of any article that more than half of at least 20 readers say did not help.","check":"Every article page has the feedback form. Every article with at least 20 answers and under 50% \"yes\" has an open ticket for its owner.","check_type":"manual","url":"https://agentwranglers.se/playbook/documentation/help-centres-and-user-guides/article-feedback","related":["/playbook/documentation/keeping-docs-current/doc-ownership","/playbook/ai-features/logs-privacy-and-feedback/feedback-on-every-answer"],"sources":[]},{"id":"DOC-48","revision":"0cc8f83ba624","updated":"2026-10-27","name":"Give every doc an owner and a review date","level":"Recommended","rule":"Give every guide and runbook an owner and a last-reviewed date, and flag any doc not reviewed in 6 months.","check":"A script reads the front matter of every doc. Each has an owner and a reviewed date under 6 months old, or an open ticket for it.","check_type":"command","url":"https://agentwranglers.se/playbook/documentation/keeping-docs-current/doc-ownership","related":["/playbook/compliance/scope-and-ownership/named-owners","/playbook/compliance/controls-and-evidence/policies-owned","/playbook/documentation/help-centres-and-user-guides/article-feedback","/playbook/operations/disaster-recovery/restore-runbook","/playbook/documentation/keeping-docs-current/last-updated-date","/playbook/documentation/keeping-docs-current/delete-stale-docs","/playbook/customer-support/macros-and-help-articles/macro-owners"],"sources":[]},{"id":"DOC-32","revision":"3290e915d1ce","updated":"2026-10-27","name":"Show the last-updated date on every docs page","level":"Recommended","rule":"Show the date each docs page last changed in its content, taken from version control or its front matter. Give the same date in the page metadata.","check":"A build test reads every docs page. Its `<time datetime>` equals its `updated` field or the date of the last commit to its source. No date is later than the build.","check_type":"command","url":"https://agentwranglers.se/playbook/documentation/keeping-docs-current/last-updated-date","related":["/playbook/seo/search-result-appearance/publication-dates","/playbook/documentation/keeping-docs-current/doc-ownership","/playbook/documentation/keeping-docs-current/stale-translation-banner"],"sources":[]},{"id":"DOC-33","revision":"7881c287bf33","updated":"2026-10-22","name":"Writing time words that go stale","level":"Avoid","stack":["postgres"],"rule":"Never write \"new\", \"currently\", \"recently\", \"soon\", \"latest version\" or \"next release\" in docs. Name the version or the date instead.","check":"The prose linter runs over `docs/` with a rule for these words, and finds none.","check_type":"static","url":"https://agentwranglers.se/playbook/documentation/keeping-docs-current/stale-time-words","related":["/playbook/documentation/kinds-of-docs/plain-words"],"sources":["https://developers.google.com/style/timeless-documentation"]},{"id":"DOC-47","revision":"0d7846de0b9e","updated":"2026-10-27","name":"State each value in one document and link to it","level":"Recommended","rule":"Write each limit, time or threshold, such as a session length or a retry count, in one document only. Every other document links there.","check":"For each value in a list of key limits, a search of the docs finds one stated number. Every other mention is a link to that document.","check_type":"static","url":"https://agentwranglers.se/playbook/documentation/keeping-docs-current/one-home-per-value","related":["/playbook/website/site-architecture/one-source-many-formats","/playbook/agents-as-users/ready-for-ai-agents/one-name-everywhere","/playbook/documentation/docs-for-coding-agents/link-docs-from-instructions","/playbook/architecture/solid-and-dry/dry","/playbook/analytics/events-and-metrics/metric-definitions"],"sources":[]},{"id":"DOC-34","revision":"8ca658673fce","updated":"2026-10-22","name":"Fail the build when docs name something that no longer exists","level":"Recommended","rule":"Check in the build that every file path, command, flag and setting the docs name in inline code still exists in the code.","check":"Rename a setting on a branch without changing the docs. The docs check fails and names each page that still uses the old name.","check_type":"manual","url":"https://agentwranglers.se/playbook/documentation/keeping-docs-current/names-that-exist","related":["/playbook/documentation/reference-and-changelogs/settings-reference","/playbook/ai-assisted-development/context-and-memory/short-current-instructions"],"sources":[]},{"id":"DOC-35","revision":"aed2b37918f8","updated":"2026-10-27","name":"Label deprecated features on their docs pages","level":"Recommended","rule":"Mark every deprecated function, option or endpoint on its docs page with a \"Deprecated\" label, the replacement and the version that removes it.","check":"A script lists every symbol with a deprecation marker in the code. Each one's reference page shows the label, names a replacement that exists and names a removal version.","check_type":"command","url":"https://agentwranglers.se/playbook/documentation/keeping-docs-current/deprecation-labels","related":["/playbook/developer-tools/libraries-and-sdks/deprecation-policy","/playbook/documentation/reference-and-changelogs/changelog-deprecations-security"],"sources":[]},{"id":"DOC-36","revision":"06ee8fbd938e","updated":"2026-10-27","name":"Delete docs nobody needs and redirect their address","level":"Recommended","rule":"Delete a docs page when its feature is gone, its owner cannot be found or nobody opened it in 12 months. Redirect its address to the closest page, or answer 410.","check":"A script lists every docs page path deleted in version control history. Each address answers 301 to a page that answers 200, or answers 410.","check_type":"command","url":"https://agentwranglers.se/playbook/documentation/keeping-docs-current/delete-stale-docs","related":["/playbook/documentation/readme-and-docs-as-code/docs-index","/playbook/documentation/reference-and-changelogs/versioned-docs","/playbook/website/redirects-and-canonicals/gone-pages","/playbook/documentation/keeping-docs-current/doc-ownership"],"sources":["https://www.rfc-editor.org/rfc/rfc9110.html#section-15.5.11"]},{"id":"DOC-37","revision":"93ae3bc23ee7","updated":"2026-10-22","name":"Show readers when a translation is older than the source","level":"Recommended","rule":"Show a banner on any translated docs page whose source page changed after the translation, with a link to the source.","check":"Change a source page on a branch. The build shows the banner on each of its translations, and removes it once a translation's date is later than the source's.","check_type":"command","url":"https://agentwranglers.se/playbook/documentation/keeping-docs-current/stale-translation-banner","related":["/playbook/localization/messages-and-translation/stale-translations","/playbook/documentation/keeping-docs-current/last-updated-date"],"sources":[]}]}