Loops
Reusable prompts and workflows for coding agents.
Migration Until Applied
Run database migrations, fix schema issues, and loop until migrations apply cleanly in dev.
Post-Merge Regression Guard
Hook that runs smoke tests after git merge or rebase to catch integration regressions immediately.
Staging Smoke Test
Run a fixed smoke checklist against staging after deploy: auth, core flows, and error budgets.
PR Self-Review
Review your own diff like a senior reviewer, fix issues, and repeat for three passes before opening the PR.
Lint and Typecheck Fix
Run lint and typecheck, fix reported issues, and loop until the codebase is clean.
Post-Edit Test Guard
Hook-based loop that runs related tests after file edits to catch regressions early.
Security Audit Weekly
Weekly npm audit scan, triage vulnerabilities by severity, and propose or apply safe patches.
Dependency Audit Weekly
Weekly loop to check outdated dependencies, propose safe upgrades, and open a summary.
Dependency Upgrade One-by-One
Upgrade a single outdated package per iteration, fix breakages, and commit — safer than bulk npm update.
Investigation Script Loop
Write a small throwaway script to reproduce a bug, run it, read output, and iterate until the root cause is proven.
Test Until Green
Run your test suite, fix the smallest root cause on failure, and repeat until every test passes.
Spec-First Ship
Implement from a written spec.md checklist — each iteration completes one unchecked requirement with verification.
Merge Conflict Resolver
Rebase or merge target branch, resolve conflicts file by file, and loop until the branch is current and tests pass.
Bundle Size Budget
Ship features without bloating the client bundle — loop until size checks pass under your budget threshold.
Visual Regression Until Match
Run Playwright or Percy visual snapshots on UI changes; fix unintended diffs until baselines match intentionally.
E2E Until Green
Run end-to-end tests, fix UI and integration failures, and loop until the E2E suite passes.