/scheduledocslow riskintermediatesafety C · 55Forward Futurepre-dates current gate · under review

Fix doc drift, ship a PR

Compare every doc against the current code, fix what's stale, verify commands and links, and open a reviewable PR.

prompt
→ Claude
Whenever a documentation pass is needed, review the codebase in full and make sure all documentation reflects the current implementation. Update stale documentation, verify the changes, then open a pull request.
claude-code · codex

Use this when

Use this whenever implementation changes may have left READMEs, setup guides, API references, examples, or runbooks behind.

How it runs

  1. Review implementation changes since the last documentation pass.
  2. Compare the repository's documentation with the code, configuration, commands, and behavior that now ship.
  3. Update only stale material, then verify commands, links, and examples against the current repository.
  4. Run the relevant checks and open a pull request that explains the documentation drift and the fixes.

Done when

Documentation matches the current implementation. Finish with a reviewable pull request.

Why it works

The loop ties documentation to the implementation instead of relying on memory. Requiring a pull request creates a visible diff, a review point, and a durable record of what changed.

Implementation note

Keep the scope tied to real implementation changes. Do not rewrite accurate documentation just to create activity.

Source: Forward Future

More docs loops

Close the gaps before you build

Fill documentation gaps until requirements, technical design, acceptance criteria, and test strategy describe one buildable system.

prompt
→ Claude
Prepare [project] for implementation. Ensure its documents cover requirements, technical design, tasks with acceptance criteria, and test strategy. Each round, fix the largest gap or contradiction that could make two competent engineers build different systems. Keep details traceable, record assumptions, and ask before product forks. Recheck consistency, then have two independent reviewers describe the components, data model, dependencies, and definition of done. Stop when they materially agree and every artifact is testable, or a decision needs the user.
docslow risk

Keep docs in sync with main

/schedulenew

On every push to main, check whether changed code drifted from the docs in /docs and open a PR fixing anything out of date.

prompt
→ Claude
/schedule on every push to main, check whether the changed code drifted from the docs in /docs, and open a PR fixing anything out of date
docshigh risk

Changelog generation from commits

/goalloopreponew

Turn the commit history since the last release tag into a human-readable, categorized CHANGELOG entry ready for the next version.

prompt
→ Claude
/goal CHANGELOG.md has a complete entry for the next release — read every commit since the last version tag, group changes into Added, Changed, Fixed, and Removed, write user-facing descriptions (not commit messages), link PR numbers, and flag anything that looks like a breaking change; stop after 5 turns
docslow risk