Coding Prompts
Generate SQL, debug code, write tests, and review pull requests.
17 prompts
Diagnose bugs in any code snippet with clear explanations of the root cause and a corrected version.
Get a clear, plain-English explanation of any code snippet, function, or algorithm.
Improve code readability through better naming, structure, and clarity without changing behavior.
Generate comprehensive unit tests for any function or module, including edge cases.
Write SQL queries from plain English descriptions of what data you need.
Get a thorough code review covering bugs, security, performance, and best practices.
Write a regex pattern for any text matching task, with explanation and test cases.
Translate code from one programming language to another, using idiomatic patterns for the target.
Scaffold a complete REST API endpoint with validation, error handling, and documentation.
Generate a complete GitHub Actions (or other CI) workflow file for any tech stack — with testing, linting, building, and deployment steps.
Generate TypeScript interfaces or types from any JSON object or API response.
Generate clear, consistent documentation for functions, classes, modules, or entire files — in the doc style your codebase uses.
A production system prompt for using GPT-6 Astra as a coding assistant, tuned for a model that already reasons internally.
A production system prompt for Claude Opus 5.5 as a coding assistant — XML-structured, tuned for adaptive thinking and direct feedback.
Paste an old prompt written for GPT-4o, Claude 3.x, or Gemini 1.5/2.0 and get back a version rewritten for current reasoning models.