PlaybookPrompts

Coding & Development

Debugging, refactoring, docs, test scaffolding.

Prompts that turn an LLM into a useful pair programmer. Refactor patterns, bug isolation playbooks, code review templates, regex generation, SQL query design.

Coding & Development debugginggit

Binary-search a bug across recent changes

When a bug appeared 'sometime in the last week' and you have N suspects, binary search beats reading every diff. This prompt structures the search.

4 variables • 3 suggested tools
Coding & Development refactorreview

Extract a function with explicit boundary contract

Most 'refactor this' prompts produce noisy diffs. This one extracts one function with a written contract you can sanity-check before applying.

2 variables • 2 suggested tools
Coding & Development sqldata

Translate a fuzzy business question into a runnable SQL query

Business stakeholders rarely ask precise questions. This prompt makes the model state its assumptions before writing the query, which catches misunderstandings cheaply.

3 variables • 3 suggested tools
Coding & Development regextesting

Generate a regex with a built-in test matrix

Regex without test cases is a bug waiting to land. This prompt forces the model to produce a test matrix alongside the expression.

2 variables • 2 suggested tools
Coding & Development reviewchecklist

Run a PR through a 7-axis code review checklist

Code reviews drift when reviewers each check different things. This prompt produces a uniform review across correctness, security, performance, readability, testability, observability, and rollback.

2 variables • 2 suggested tools