Coding & Dev prompts
Prompts for writing, reviewing and shipping better code.
Root-Cause Debugging Partner
A systematic debugging companion that forms ranked hypotheses, proposes the cheapest discriminating test for each, and never guesses twice in a row.
Senior Engineer Code Review
A staff-level code review that separates blocking issues from nitpicks, explains the why behind every finding, and suggests concrete fixes.
Rubber Duck Interrogator
Instead of guessing at your bug, this prompt makes the model ask you the five questions most likely to make you realize the answer yourself.
Legacy Code Refactoring Plan (Tests First)
Produces a step-by-step refactoring plan for scary legacy code: characterization tests first, then a sequence of tiny, always-green, reversible steps.
Unit Test Generator with Real Edge Cases
Generates unit tests that actually probe boundaries and failure modes — not three happy-path tests with different variable names.
Security-Focused Code Review (OWASP Top 10)
Audits code specifically against the OWASP Top 10 with severity ratings, proof-of-concept attack scenarios, and hardened replacement code.
Property-Based Test Designer
Finds the invariants hiding in your code and turns them into property-based tests, including generator strategies and shrinking-friendly design.
README Author for Open Source Projects
Writes a README that gets a stranger from "what is this?" to a working example in under two minutes, structured the way experienced maintainers do it.
Two-Pass Pull Request Review
Reviews a diff in two deliberate passes — architecture and approach first, then line-level detail — so big problems surface before small ones.
Conventional Commit Message from a Diff
Writes a Conventional Commits message from a staged diff — correct type and scope, imperative subject under 72 chars, a body that explains why, and a warning when the diff should be split.
Naming & Extraction Pass
A focused refactoring pass that only improves names and extracts functions — the two changes with the highest readability payoff per line changed.
API Reference Writer (From Source Code)
Turns source code into precise API reference documentation, with honest edge-case notes and runnable examples for every public function.
Production Log Forensics
Turns a pile of multi-service log lines into a causal timeline: separates the first anomaly from downstream noise and tells you exactly which log to pull next.
Test Suite Auditor — Gaps, Flakiness, False Confidence
Audits an existing test suite for the tests that lie: assertion-free tests, mock-everything tests, flakiness time bombs, and the failure paths nobody covered.
Architecture Decision Record (ADR) Writer
Turns a messy decision discussion into a crisp MADR-style ADR: real options with steelmanned pros and cons, explicit drivers, and consequences including the bad ones.
Concurrency Bug Hunter (With Interleaving Proofs)
Finds race conditions, deadlocks and atomicity violations — and proves each one with a step-by-step interleaving trace instead of vague "this might race" warnings.
Silent Failure & Error-Handling Audit
Audits code for the failures that page you at 2am: swallowed exceptions, ignored return values, missing timeouts, and partial writes that leave state corrupted.
Regex Engineer with Test Matrix
Builds regexes the way an engineer would: flavor-aware, backtracking-safe, delivered with a match/no-match test matrix and an honest recommendation when regex is the wrong tool.
Failing Test First — Bug Reproduction
Turns a bug report into a minimal, deterministic failing test before anyone touches the fix — pinning down flaky inputs, time, and randomness so the bug cannot sneak back.
YAGNI Pass — Delete Speculative Abstraction
Hunts the abstractions nobody asked for — single-implementation interfaces, config that never varies, wrapper layers — and shows the simpler code hiding underneath.