Prompts for the Software Engineer
AI prompts to help software engineers ship faster: code review, debugging, explaining code, writing tests, refactoring, and documentation.
Perform a Thorough Code Review on a Pull Request
Get a senior-engineer-style code review with categorized, file-referenced feedback.
Explain Complex Code in Simple Terms
Turn confusing code into a clear, junior-friendly explanation with edge-case notes.
Debug an Error Message Step-by-Step
Get a structured debugging plan: error explanation, ranked root causes, tests, and fixes.
Write a SQL Query From a Business Question
Translate a business question into a clean, commented SQL query against your schema.
Write a Concise Weekly Status Update
Convert messy weekly notes into a manager-ready 200-word status update.
Refactor Code for Readability and Maintainability
Refactor any code for readability and maintainability without changing its behavior.
Generate Unit Tests for a Function
Generate comprehensive unit tests with happy path, edge cases, and failure modes.
Write a Clear Git Commit Message
Generate a Conventional Commits-compliant git commit message with context and rationale.
Design a RESTful API Endpoint Schema
Design a complete REST API schema with request/response bodies, status codes, and error cases.
Build and Explain a Regular Expression
Get a working regex with a plain-English breakdown and a set of passing/failing test cases.
Translate Code From One Language to Another
Convert code between programming languages while using idiomatic patterns in the target language.
Audit Code for Performance Bottlenecks
Identify performance bottlenecks in code and get ranked, impact-focused optimization suggestions.
Run a Security Review on Code
Get an OWASP-aligned security review with severity ratings and remediation snippets.
Design a Normalized Database Schema
Design a fully normalized relational database schema with DDL, indexes, and design rationale.
Write Clear Technical Documentation
Generate complete Markdown technical docs with params, examples, and error handling.
Write a Self-Review for Your Performance Review
Turn your wins into a polished, metrics-backed self-review with an explicit ask.
Generate a Production-Ready Dockerfile and Explain Each Line
Generate a hardened, multi-stage Dockerfile with line-by-line comments and matching .dockerignore.
Explain and Write a Regex From Plain English
Translate a plain-English matching requirement into a regex with line-by-line breakdown and edge cases.
Design a Clean REST API for a New Resource
Get a complete REST endpoint design with shapes, errors, and idempotency notes.
Write Unit Tests for an Existing Function
Generate a thorough unit test suite covering happy path, branches, edges, and errors.
Optimize a Slow Function With Specific Tradeoffs
Get a ranked list of optimizations with complexity analysis and explicit tradeoffs.