Loops

Reusable prompts and workflows for coding agents.

Submit a loop
MU

Migration Until Applied

Run database migrations, fix schema issues, and loop until migrations apply cleanly in dev.

748 Database
PR

Post-Merge Regression Guard

Hook that runs smoke tests after git merge or rebase to catch integration regressions immediately.

740 Testing & quality
SS

Staging Smoke Test

Run a fixed smoke checklist against staging after deploy: auth, core flows, and error budgets.

728 DevOps
PS

PR Self-Review

Review your own diff like a senior reviewer, fix issues, and repeat for three passes before opening the PR.

729 Review
LA

Lint and Typecheck Fix

Run lint and typecheck, fix reported issues, and loop until the codebase is clean.

711 Testing & quality
PT

Post-Edit Test Guard

Hook-based loop that runs related tests after file edits to catch regressions early.

633 Testing & quality
SA

Security Audit Weekly

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

567 Maintenance
DA

Dependency Audit Weekly

Weekly loop to check outdated dependencies, propose safe upgrades, and open a summary.

533 Maintenance
DU

Dependency Upgrade One-by-One

Upgrade a single outdated package per iteration, fix breakages, and commit — safer than bulk npm update.

489 Maintenance
IS

Investigation Script Loop

Write a small throwaway script to reproduce a bug, run it, read output, and iterate until the root cause is proven.

485 Debugging
TU

Test Until Green

Run your test suite, fix the smallest root cause on failure, and repeat until every test passes.

483 Testing & quality
SS

Spec-First Ship

Implement from a written spec.md checklist — each iteration completes one unchecked requirement with verification.

467 Planning
MC

Merge Conflict Resolver

Rebase or merge target branch, resolve conflicts file by file, and loop until the branch is current and tests pass.

433 Git
BS

Bundle Size Budget

Ship features without bloating the client bundle — loop until size checks pass under your budget threshold.

426 Performance
VR

Visual Regression Until Match

Run Playwright or Percy visual snapshots on UI changes; fix unintended diffs until baselines match intentionally.

390 Testing & quality
EU

E2E Until Green

Run end-to-end tests, fix UI and integration failures, and loop until the E2E suite passes.

372 Testing & quality
Feedback 💬