Config drift check
Compare environment config files and example templates every hour and report keys that exist in one environment but not the others.
Prompt
/loop 60m diff the keys (not values) across .env.example, config/staging.yaml, and config/production.yaml; report any key present in one file but missing in another, and any key in .env.example that no code references anymore
claude-code · codex · cursor
Implementation note
Compares key names only, never secret values, so nothing sensitive enters the transcript. Catches the classic works-in-staging-missing-in-prod config bug early.
Source: looprepo ↗graded D · 30/100 — how grades work (Safety Score v2) →
Similar loops
All devops loops →C
/loopDevOpsmedium risk
Deploy-poll loop
A hands-free ops loop that polls your deploy every two minutes, runs the smoke test the moment it goes live, and stops with a report if any check fails.
/loop every 2 minutes: check deploy status; when it's live, run the smoke test and summarize; if smoke test fails, report the failing check and stop
Guardrails: Stop when the goal is verifiably met, or stop after 15 iterations, whichever comes first. Keep changes minimal and never touch files outside the task’s scope.