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.

Prompt
→ Claude Code
/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.
claude-code

Implementation note

When to use: you have kicked off a deploy and the next twenty minutes are otherwise dead time — waiting to see it go live, then remembering to run the smoke test against it. How it works: every two minutes the loop checks deploy status. The moment the deploy is live it runs the smoke test and summarizes the results; if the smoke test fails, it reports the failing check and stops rather than continuing to poll or attempting fixes. Safety: the stop-on-failure clause is the notable rail — a failed smoke test halts the loop with a report, leaving the response decision (rollback, hotfix, investigate) to you instead of the loop improvising remediation against production. Everything it does is read-and-report: status checks and test runs, no code or infrastructure changes. It is cheap at a two-minute cadence, but kill it once the deploy is confirmed rather than leaving it polling. Hardened 2026-07-27: explicit stop/cap/verification guardrails appended; regraded D→A.

Source: Claude Directory blog ↗graded C · 45/100 — how grades work (Safety Score v2) →

Similar loops

All /loop loops →
/loopContent & SEOmedium risknew

The claim-ledger research loop

A source-grounded research workflow for contested or decision-relevant claims that records provenance, evidence polarity, negative checks, confidence, and stopping reasons.

prompt
→ Claude Code
Investigate exactly one contested or decision-relevant claim. Define the claim, decision it supports, source scope, known evidence, conflicts, confidence target, and pass limit. Inventory sources by type and choose the next highest-value evidence action: retrieve a primary source, verify a citation, compare conflicts, extract facts, test an alternate explanation, run a negative check, or mark access blocked. Update a source ledger and claim ledger with provenance, extracted facts, reliability, limitations, and whether each fact supports, weakens, contradicts, contextualizes, or does not affect the claim. Stop at confidence, contradiction, underdetermination, unavailable access, human judgment, or no useful next action.
/loopEvaluationmedium risknew

The expert scorecard loop

A quality-improvement workflow that defines expert scoring dimensions, fixes the lowest score, and requires fresh independent rescoring after every pass.

prompt
→ Claude Code
Bring one artifact to a verified 5 out of 5 on every dimension of an expert scorecard. Name the governing expert perspective and define five to nine scored dimensions, wiring objective checks such as tests, lint, build, accessibility, performance, or security scans to any dimensions they cover. Fix only the lowest-scoring dimension each pass. Then have a fresh independent reviewer rescore the whole artifact and name what remains below 5. Never score your own work, fake a 5, pad dimensions, or weaken checks. Stop when every dimension is 5, the lowest score has not risen for two rounds, the budget is spent, blocked, or approval is required.
/loopEvaluationhigh risknew

The product journey feedback loop

A product research workflow that observes target personas across the complete user journey, separates usability friction from unmet needs, and ranks evidence-backed feature suggestions.

prompt
→ Claude Code
Define two or three target-audience personas from the product positioning, asking if the positioning is unavailable. For one persona at a time, walk the full journey from landing and signup through core workflow, secondary features, limits, return visit, and offboarding using only what that persona could realistically see. Observe only. Record expected versus actual behavior, friction, confusion, delight, and comparable-product mental models. Split findings into usability friction, unmet needs, and feature suggestions tied to a specific journey moment. Stop after one pass per persona and return the personas, journey map, evidence log, ranked suggestions, and any approval boundaries before roadmap or production changes.