Docs Drift Sweep
Coding
Catch documentation that fell behind the code and fix it in one reviewable pass. Inspired by Forward Future's Loop Library.
Prompt
Step 1 — Diff the docs against reality Point the AI at your recent code changes and the docs that describe them. Ask it to list every place the docs no longer match the implementation. Step 2 — Fix the stale material Work down the list. For each mismatch, get the corrected doc text that reflects what the code actually does now. Step 3 — Verify each fix Re-check each updated section against the code. Confirm no claim is left that the implementation contradicts. Step 4 — Open a PR Bundle the doc changes into a single reviewable pull request with a summary of what drifted and why.
Use this prompt in AIniverse
Tap to copy, run it on ChatGPT / Claude / Gemini, save to your stack, or remix.
Open in AppMore Coding prompts
Independent Verifier Pass
When implementation claims done, a separate verifier pass runs build, lint, and tests with no access to the implement...
API Contract Until Match
Loop until API responses match the OpenAPI or JSON Schema contract — catch drift between docs and implementation.
De-Sloppify Pass
After implementation, run a cleanup pass: remove debug code, tighten naming, delete dead branches, and align with pro...
Merge Conflict Resolver
Rebase or merge target branch, resolve conflicts file by file, and loop until the branch is current and tests pass.