Coding Prompts
Curated prompts that have proven useful in production work. Each entry includes the prompt itself, a short description, recommended models, and a tag list. Submit a prompt if you've built one worth sharing.
All prompts
-
Code Review — Specific, Severity-Graded
Reviews code with concrete fixes per finding, grouped by severity. Avoids generic "consider adding tests" suggestions.
coding ▲ 47
-
Debug a Production Error
Walks through a stack trace systematically: what failed, why, and the smallest change to fix it without introducing risk.
coding ▲ 44
-
Write Unit Tests — Cover Edge Cases
Generates unit tests in {{framework}} that cover the happy path, edge cases, and error conditions. Tests are runnable, not pseudocode.
coding ▲ 35
-
Explain a SQL Query
Translates a complex SQL query into plain English step by step. Notes performance characteristics and missing indexes.
coding ▲ 26
What makes a prompt worth saving
The prompts here aren't generic "you are a helpful assistant" starters. Each one targets a specific production use case — code review, structured extraction, RAG with grounding, classification — and includes the constraints that make it actually work at scale: explicit output schema, refusal clauses, severity grouping, citation requirements.
Submit a prompt if it meets the same bar. Include what model you used it with, what the input format looks like, and what failure modes it solves.