The prompt library

17 copy-paste loop cards, organized by category. Each card has a Use-when, a fill-in-the-blanks prompt (the canonical six-field loop contract), a Verify step, Steps, and Notes.

Machine-readable: catalog.json (validated against catalog.schema.json) ยท agent instructions: llms.txt.

Engineering

Card Primitive Use when Example
Claim-Ledger Security Triage /goal A scanner dumped a pile of findings and you want only the ones backed by a runnable repro. worked
Flaky-Test Quarantine Warden /loop Flaky tests are eroding trust in CI and you want a loop to detect, quarantine, and file them. -
Overnight Code Review (governed) /loop You want an agent to review an open-PR queue continuously, without it re-reviewing unchanged PRs forever. worked
Reproduce-Before-You-Fix /goal A regression needs fixing and you want to forbid touching source until the bug is reliably reproduced. worked
Two Loops, One Repo (coordinated) /loop You want two agents (e.g. a refactor loop and a docs loop) working the same repo without clobbering each other. worked

Operations

Card Primitive Use when Example
Ad-Spend Reconciliation /goal You need messy invoices reconciled against a bank export to a hard zero-variance gate. worked
Log-Anomaly Patrol /loop You want a security-camera loop that watches logs for new error signatures and opens an issue once per signature. -
SaaS Spend-Audit Circuit-Breaker /loop You want a recurring audit of SaaS/cloud spend that flags anomalies but can't run up its own bill. -

Content

Card Primitive Use when Example
Changelog From Commits /goal You want a release changelog drafted only from the actual commit/PR history, with every entry traceable. -
Deliverability Rescue (climb to a gate) /goal An email/landing page must clear a spam/quality score and you want a writer-vs-scorer loop to climb to it. worked
Docs-Freshness Patrol /loop You want a patrol that flags docs whose code examples or referenced APIs have drifted from the codebase. -

Research

Card Primitive Use when Example
Claim-Verify Research Brief /goal You want a research brief where every claim is independently verified before it is allowed to stay. -
Competitive-Intel Digest routine You want a scheduled digest of changes to a watchlist of competitor pages, with each claim linked to its source. -
RFP / Security Questionnaire Pack /goal You must answer a long questionnaire and every answer has to cite an approved source or be left as a gap. worked

Data

Card Primitive Use when Example
Messy-CSV Normalizer /goal You have messy CSVs (mixed formats, currencies, dates, encodings) to normalize to a target schema. -
Data-Quality Gate Patrol /loop You want a patrol that checks a dataset/table against quality rules and blocks or flags on violations. -
Schema-Migration Backfill /goal You're backfilling a new column/table and need every affected row migrated with a verifiable invariant. -

Back to the handbook