Propagate a value everywhere it lives

Update every copy of a changed value across the project, hunt down leftovers, and prove only intentional old references remain.

Prompt
→ Claude Code
After changing a version, count, rule, name, or configuration, list where the new value belongs and update it. Search the project for the old value and related forms. Review each match: fix real stale values, but keep intentional history, examples, migrations, or compatibility rules. Repeat until zero stale values remain. If one returns for two rounds, stop and identify what may be regenerating it. Return changes, intentional matches, and search output.
claude-code · codex

Use this when

Use this after changing something that appears in several files—such as a version number, feature name, count, rule, setting, or identifier—and every copy must stay consistent.

How it runs

  1. List the files, documentation, settings, generated outputs, or operational notes that are expected to copy the changed value.
  2. Update the known copies, then search the whole project for the old value, old spelling, and other likely leftover forms.
  3. Decide whether each match is truly stale or intentionally preserved history, an example, a migration, or a compatibility rule; fix only the stale matches.
  4. Repeat the same searches until no stale match remains; if one comes back for two rounds, stop and identify the generator or process restoring it.

Done when

✓ No unintended copy of the old value remains. The final searches find only references that are intentionally historical or required for examples, migrations, or compatibility, with a reason recorded for each one.

Why it works

The repeat search is the important part: it catches copies missed by the first update. Reviewing each match also prevents a broad replacement from corrupting historical notes, migration code, or examples that intentionally show the old value.

Implementation note

The exact files depend on the change. The original submission used several operational notes and procedure files; another project might need code, tests, documentation, deployment settings, generated files, or all of them.

Source: Forward Future ↗graded C · 55/100 — how grades work (Safety Score v2) →

Collect external links from docs weekly, archive dead ones via Wayback Machine, open a PR with replacements and a report of unfixed links.

prompt
→ Claude Code
/schedule weekly — outbound link-rot sweep with archived replacements. Setup: add the Wayback Machine MCP server (npx -y mcp-wayback-machine, no API key for reads). Each run, at most 12 turns: 1. Collect every external http(s) link in docs/ and README.md into one list. If the list is empty, report "no external links" and STOP. 2. Request each URL once (HEAD, then GET only on a 405). Never retry a host more than twice and never request the same host more than 10 times in a run — this is a health check, not a crawl. 3. For each link returning 4xx/5xx or failing to resolve, call the Wayback MCP for the newest snapshot before today. Record: original URL, status, snapshot URL, snapshot date. 4. Replace only links that have a snapshot; leave the rest untouched and list them for a human. 5. VERIFY before finishing: re-request every replacement snapshot URL and confirm it returns 200. Drop any replacement that does not. 6. Open a PR with the diff plus a table of every change and every unfixed dead link. EXIT when the PR is open, or when step 1 finds no links, or at 12 turns — whichever comes first. Do not edit link targets that still return 200. Do not push to main. Do not delete a dead link without a working archived replacement; report it instead.
/goalMaintenancehigh risknew

The Mobile Closed-Loop Build

Install on a virtual device, tap through every screen, fix crashes, repeat until store-ready.

prompt
→ Claude Code
Build and install the app on a virtual device. Programmatically tap through every screen and flow; verify layouts across screen sizes; watch for crashes, broken navigation, and slow frames. When you hit a defect, reproduce it, fix it, rebuild, and re-run the full walkthrough. Repeat until a complete walkthrough passes clean on all target device sizes.
/loopMaintenancemedium risk

TODO burn-down

Chip away at the oldest TODO comments in the codebase, one per pass: either resolve it properly or convert it into a tracked issue.

prompt
→ Claude Code
/loop 30m find the oldest TODO or FIXME comment in the codebase, and either implement it (with a test) if it takes under 50 changed lines, or open a GitHub issue capturing its context and delete the comment; report which TODO you handled; stop when none remain