codel

CATALOG NO. 001 · JULY 2026 EDITION

A pattern language for building with AI agents

Field-tested loops, goals, workflows, and prompts. Look one up, copy it, paste it into Claude Code, Cursor, or Codex. No account, no theory, no fluff.

ENTRIES
157 and counting
SECTIONS
10
FORMATS
loop · goal · workflow · prompt
LICENSE
CC-BY-4.0
AGENT API
/api/patterns.json

Start by outcome

157 entries in the catalog

SEC. 01

Engineering & Coding

19 entries
ENG-01

The Core Engineering Loop

A six-step loop for any coding task: clarify, check, choose, execute, verify, recommend.

loop10 min1 copies
ENG-02

Self-Verifying Build Loop

Make the agent build, run, diagnose, and retry until there's real passing evidence, not a hunch.

loop15 min1 copies
ENG-03

Ambiguity Halt and Ask

Make the agent name exactly what's unclear and stop, instead of guessing silently and building on it.

prompt5 min0 copies
ENG-04

Bold Idea Sidecar

Get one honest, out-of-the-box improvement idea alongside routine execution, without derailing the task.

prompt5 min0 copies
ENG-05

Complexity Tier Classifier

Classify a new build into a size tier before scaffolding, so you don't over- or under-build it.

goal10 min0 copies
ENG-06

Decision Batch Checkpoint

Collect small pending decisions during a long task and approve them together at one checkpoint.

loop10 min0 copies
ENG-07

Decision Log Append

Log every real technical decision so it never gets silently relitigated by a future session.

loop10 min0 copies
ENG-08

Hostile Reviewer Pass

Make the agent tear apart its own diff like a hostile senior reviewer before you ship it.

prompt10 min0 copies
ENG-09

Integration Decision Checklist

Before adding any new dependency or service, check for an existing alternative and the real cost first.

goal10 min0 copies
ENG-10

Leaf-to-Root Build Order

Build UI leaf-first: components, then composites, then pages, routing, state, and API.

workflow30 min0 copies
ENG-11

No Fix Without a Failing Test

Refuse any bug fix until a test reproduces the bug, so the fix is proven, not vibes.

goal15 min0 copies
ENG-12

Performance Budget Loop

Optimize against a stated numeric budget with median-of-5 measurements, reverting any change that doesn't move them.

loop30 min1 copies
ENG-13

Pushy Skill Description Audit

Rewrite thin skill descriptions so agents actually reach for them instead of silently ignoring them.

loop10 min0 copies
ENG-14

Reference Repo to Reusable Skill

Study a reference codebase once, then extract its patterns into a reusable skill instead of re-reading it.

workflow30 min0 copies
ENG-15

Repomix Context Handoff

Pack the full codebase into one file before closing a session, so the next agent inherits real code.

workflow10 min0 copies
ENG-16

Smallest Useful Move Scoper

Cut an oversized task into ordered slices and execute only the first, with the rest explicitly deferred.

loop10 min1 copies
ENG-17

Stack Decision Gate

Force an explicit preset-vs-custom decision before scaffolding a new project.

goal15 min0 copies
ENG-18

Strategic Thread Tracker

Open every session by placing today's task inside the bigger roadmap, not as an isolated request.

loop10 min0 copies
SEC. 02

Debugging & Evaluation

16 entries
DBG-01

Root Cause Debugging Loop

Force one hypothesis at a time against real evidence, so the AI stops guess-and-check fixing.

loop10 min0 copies
DBG-03

Verify Before Claiming Fixed

Don't accept 'fixed it' from an AI agent until it re-runs the exact failing case and shows real output.

loop5 min0 copies
DBG-06

Ban 'Should Work Now' Claims

A standing rule that blocks an AI agent from claiming a fix works without pasting real output.

prompt2 min0 copies
DBG-07

Bug Postmortem From a Fix

Turn a fixed bug into a structured postmortem so the same class of bug doesn't ship again.

workflow15 min0 copies
DBG-09

Error Message Forensics Loop

Force the AI to parse the exact error text and stack trace before it's allowed to guess a cause.

loop10 min0 copies
DBG-10

Flaky Test Triage Loop

Re-run a failing test enough times to tell a real regression from noise before you touch any code.

loop10 min0 copies
DBG-11

Git Bisect Regression Hunt

Automate git bisect with a real pass/fail check so the agent finds the exact breaking commit.

workflow20 min0 copies
DBG-12

Log Diff Divergence Loop

Compare logs from a working run and a broken run side by side to find where behavior splits.

loop15 min0 copies
DBG-13

One Variable at a Time

A standing rule: one change per run while debugging, predict before you edit, revert what didn't help.

prompt2 min0 copies
DBG-16

Silent Failure Hunt

Scan a codebase area for swallowed errors and ignored rejections that hide real bugs.

goal15 min0 copies
SEC. 03

Operations & DevOps

13 entries
OPS-02

Pre-Deploy Safety Check

Confirm build, routes, and diff are clean before you push to production.

workflow10 min0 copies
OPS-08

Port and Process Squatter Sweep

Find every dev server, stray node process, and container squatting on your ports before you debug the wrong app.

prompt5 min0 copies
OPS-12

Rollback Readiness Check

Before you deploy, confirm you can actually roll back, not just that the deploy itself is clean.

workflow10 min0 copies
SEC. 04

Product & Planning

15 entries
PRD-10

Recalibrate the Roadmap as Actuals Land

Log estimate vs actual per finished ticket, compute a drift factor, and re-plan when the milestone math breaks.

loop5 min per ticket, ongoing0 copies
PRD-14

Two Plans Enter, One Plan Ships

Force two rival plans, cheapest and most thorough, then make the agent attack both before you pick one.

prompt10 min0 copies
SEC. 05

Content & Writing

15 entries
WRT-01

Brain Dump to Polished Draft

Turn messy notes into a publish-ready blog post or landing page section in one pass.

prompt10 min0 copies
WRT-10

Make the README Stop Lying

Verify every command, path, and claim in your README against the actual repo, then fix what drifted.

goal20 min0 copies
WRT-13

The Skeptical Reader Gauntlet

Loop hostile-reader objections against your draft, patch the real ones, repeat until it survives a clean pass.

loop25 min0 copies
SEC. 06

Design & UI

13 entries
SEC. 07

SEO & GEO

27 entries
SEO-19

Hreflang Locale-Integrity Loop

Build the real locale clusters, repair invalid or non-reciprocal hreflang, and rescan every variant.

loop25 min0 copies
SEO-22

Non-Commodity Content Upgrade Loop

Replace generic claims with real tests, data, examples, or expert evidence, and verify the full page again.

loop30 min0 copies
SEO-23

Pre-Registered SEO Experiment Goal

Decide if an SEO change is testable, then lock cohorts, metrics, safety rules, and verdicts before launch.

goal30 min0 copies
SEO-24

Programmatic SEO Publish Gate

Gate a programmatic page system on real user value, source accuracy, boundary cases, and doorway risk.

goal30 min0 copies
SEO-26

Search Indexation Root-Cause Loop

Trace a URL through crawl, render, canonical, and index evidence until the real controllable blocker is isolated.

loop25 min0 copies
SEC. 08

Market Research

13 entries
MKT-02

TAM/SAM/SOM Market Sizing Scan

Scope TAM/SAM/SOM for a product idea in one pass, with every number labeled estimate or sourced.

workflow15 min0 copies
MKT-03

Target User Segment Breakdown

Turn a rough audience description into grounded user segments with needs, objections, and buying triggers.

prompt10 min0 copies
MKT-12

The Riskiest Assumption Kill Loop

Rank a plan's load-bearing assumptions, then loop cheapest-test-first until each is validated or killed.

loop30 min0 copies
SEC. 09

Competitive Intelligence

13 entries
INT-01

Competitor Feature Scan

Turn a competitor's public pages into a structured pricing and feature comparison table.

workflow10 min0 copies
INT-02

Competitor Watch Loop

A weekly check that flags only what changed on a competitor's public pages, not the whole page again.

loop5 min0 copies
INT-03

Positioning Gap Analysis

Compare your product against competitor URLs to find the gaps worth leading with in messaging.

workflow15 min0 copies
INT-04

Battlecard Rot Check

Re-verify every claim in your sales battlecard against competitors' live pages and flag what went stale.

loop15 min0 copies
INT-07

Competitor Complaint Mining

Mine a competitor's negative reviews for weaknesses that recur, are recent, and a buyer would switch over.

goal20 min0 copies
INT-08

Competitor Hiring Signal Loop

Track a competitor's open job postings over time to catch roadmap bets before they ship.

loop8 min0 copies
INT-10

Incumbent Switching-Cost Teardown

Map documented switching friction and separate it from customer impact that still needs validation.

workflow12 min0 copies
INT-11

Pricing & Packaging Teardown

Break down 2-4 competitors' pricing pages into tier structure, packaging levers, and pricing psychology.

workflow12 min0 copies
INT-12

Substitute Products Scan

Find who else solves this problem, including spreadsheets and manual workarounds, not just named rivals.

prompt8 min0 copies
INT-13

Win/Loss Signal Synthesis

Turn scattered G2, Reddit, and churn-survey quotes into a ranked list of why you actually lose deals.

workflow15 min0 copies
SEC. 10

Marketing & Growth

13 entries