AIniverse Get the App

Docs Sync After Edits

Automation by loops! by elorm

After code changes, find affected docs and update README, API references, and inline comments to match.

Prompt

Step 1 — Identify changed areas
Review the current diff. List public APIs, config options, and behaviors that changed.

Step 2 — Find stale docs
Search README, docs/, and code comments for references to changed behavior. Flag outdated sections.

Step 3 — Update documentation
Update docs to match the code. Keep examples runnable and accurate. Remove obsolete sections.

Step 4 — Verify accuracy
Re-read updated docs against the diff. Confirm no contradictions remain.

Step 5 — Repeat until done
Repeat the steps above until: All affected documentation updated and verified against the diff

Use this prompt in AIniverse

Tap to copy, run it on ChatGPT / Claude / Gemini, save to your stack, or remix.

Open in App

More Automation prompts

Security Audit Weekly

Weekly npm audit scan, triage vulnerabilities by severity, and propose or apply safe patches.

Knip Until Clean

Find and remove dead exports, unused files, and orphan dependencies — loop until knip reports clean.

Ship PR Until Green

Implement on a branch, run tests, push, open a PR, wait for CI, and loop until checks pass and the PR is ready to merge.

Ralph Story Executor

Fresh-context loop: pick one incomplete story from prd.json, implement it, run backpressure checks, commit, and updat...