Guide · 20 prompts
Best Claude prompts for coding
Every prompt below is tagged as working in Claude. Open any prompt for the full text, fill-in blanks and step-by-step instructions.
This guide is presented by your brandSponsored · open- 1 · Websites & Apps Build a browser extension from a description
Scaffolds a working Chrome extension (Manifest V3) for a small job. - 2 · Coding Explain an unfamiliar codebase to me
Get a guided tour of a repo before you change anything. - 3 · Coding · attach screenshot or file Find and fix a bug from an error message
Paste the error and get the root cause, not a guess. - 4 · Coding · attach file Write tests for a file
Adds meaningful unit tests that cover edge cases, not just the happy path. - 5 · Coding · attach file Refactor messy code without changing behavior
Cleaner code with the same behavior, done in safe steps. - 6 · Coding Write a SQL query from plain English
Describe what you need and get a correct, explained SQL query. - 7 · Coding · attach file Convert code from one language to another
Idiomatic translation, not a line-by-line copy. - 8 · Coding Write a Python script to automate a boring task
A small, safe script for a repetitive job. - 9 · Coding · attach screenshot or file Explain this code line by line
Understand code you didn't write. - 10 · Coding · attach file Debug why my app is slow
Find the real bottleneck before optimizing. - 11 · Coding Write an API endpoint with validation
Production-ready endpoint with input checks and errors. - 12 · Coding Plan a big refactor in safe steps
Break a scary change into small, shippable pull requests. - 13 · Coding Write a git commit message and PR description
Clear history that teammates can scan. - 14 · Coding · attach file Fix my code's security holes
A focused security review with fixes. - 15 · Coding · attach screenshot Turn a spreadsheet formula into code
Move logic out of Excel or Sheets into a script. - 16 · Data Design an A/B test
Set up an experiment you can trust. - 17 · Data Write a Python data analysis script
Reproducible analysis with pandas. - 18 · Data Write SQL to answer a business question
From a question to a query that runs. - 19 · Coding Debug a failing test suite
Get the suite green without hiding real bugs. - 20 · Coding · attach file Write documentation for my API
Reference docs with examples for every endpoint.