Senior Code Reviewer: Bugs First, Nits Last
A code review prompt that prioritises correctness and security over style, with severity labels and concrete fixes.
Prompts for debugging, code review, tests, refactoring and AI agents, tuned for Claude’s strengths: XML-tagged structure, long files and careful reasoning.
A code review prompt that prioritises correctness and security over style, with severity labels and concrete fixes.
A meta-prompt that interviews you, then rewrites a weak prompt with role, context, constraints and format.
Pulls structured data out of messy text into an exact JSON schema, with nulls instead of made-up values.
Forces the model to isolate the failure, rank root causes and write a regression test before it touches your code.
Makes an AI agent plan, call tools step by step, verify results and stop safely instead of looping.
Turns an unfamiliar repo or file into an onboarding map: architecture, data flow and where to start.
Writes a README with a one-line pitch, quick start that works on the first try, and honest limitations.
Reviews code for OWASP-style vulnerabilities with exploit scenarios and fixed code.
Writes correct SQL from plain English, states assumptions about your schema and explains performance.
Generates a focused test suite around behaviour, edge cases and failure modes instead of shallow coverage padding.
A safe-refactoring prompt: identifies smells, proposes small steps and proves behaviour is unchanged.
Drafts a production system prompt for a chatbot or AI feature, with guardrails, tone and test cases.
Reviews or designs a REST/JSON API for consistency, versioning, errors and pagination.
Explains a cryptic error in plain English, lists likely causes for your setup and gives the fix commands.
Compares technical options against your constraints and writes a crisp ADR with a clear recommendation.
Finds the real bottleneck in slow code or queries, estimates impact and proposes fixes ranked by effort.
Builds a regular expression from plain English and proves it with matching and non-matching examples.
Turns a diff into a conventional commit message and a reviewer-friendly PR description.
Claude is trained to respect tags like <context> and <instructions>, which keeps code, logs and instructions from bleeding into each other.
Yes. Paste them as a message or save them as a reusable rule or command in your editor.