52 prompts • Copy & paste • No signup

Claude Code

Fifty-two enhanced prompts for Claude Code, grouped by the stage of work they belong to.

No prompts match your search.

DISCOVER / ONBOARD 1

1 Onboard

Get oriented in a new repository

Give me an overview of this codebase: architecture, key directories, and how the pieces connect. Base the overview on the repository itself. Identify the main entry points, important dependencies, and the safest place to begin making changes. Cite relevant file paths and call out anything you are uncertain about.

DISCOVER / UNDERSTAND 6

2 Understand

Explain unfamiliar code

Explain what src/scheduler/queue.ts does and how data flows through it. write it up as an HTML page with a diagram, then open it in my browser. Trace the behavior through the actual code and cite the relevant files, functions, and tests. Separate confirmed findings from assumptions, and end with a concise summary of practical implications.

3 Understand

Find where something happens

Where do we validate uploaded file types? Trace the behavior through the actual code and cite the relevant files, functions, and tests. Separate confirmed findings from assumptions, and end with a concise summary of practical implications.

4 Understand

Check what breaks before you delete

What would break if I deleted the retryWithBackoff helper? Trace the behavior through the actual code and cite the relevant files, functions, and tests. Separate confirmed findings from assumptions, and end with a concise summary of practical implications.

5 Understand

Trace how code evolved

Look through the commit history of internal/auth/session.go and summarize how it evolved and why. Trace the behavior through the actual code and cite the relevant files, functions, and tests. Separate confirmed findings from assumptions, and end with a concise summary of practical implications.

6 Understand

Scope a change before you start

Which files would I need to touch to add a dark mode toggle to settings? Trace the behavior through the actual code and cite the relevant files, functions, and tests. Separate confirmed findings from assumptions, and end with a concise summary of practical implications.

7 Understand

Ask the codebase a product question

I am a PM. walk me through what happens when a user clicks Export to PDF, from the UI down to the result. Trace the behavior through the actual code and cite the relevant files, functions, and tests. Separate confirmed findings from assumptions, and end with a concise summary of practical implications.

DESIGN / PLAN 4

8 Plan

Plan a multi-file change before touching code

Plan how to refactor the payment module to support multiple currencies. list the files you would change, but don't edit anything yet. Do not edit any files yet. Identify dependencies, edge cases, risks, tests, and rollout or migration concerns. Finish with an ordered implementation plan and explicit acceptance criteria.

9 Plan

Draft a spec by interview

I want to build per-workspace rate limits. interview me about implementation, UX, edge cases, and tradeoffs until we have covered everything, then write the spec to SPEC.md. Do not edit any files yet. Identify dependencies, edge cases, risks, tests, and rollout or migration concerns. Finish with an ordered implementation plan and explicit acceptance criteria.

10 Plan

Turn a meeting into tickets

Read @meeting-notes.md and write up the action items, then create a Linear ticket for each with acceptance criteria. Do not edit any files yet. Identify dependencies, edge cases, risks, tests, and rollout or migration concerns. Finish with an ordered implementation plan and explicit acceptance criteria.

11 Plan

Map edge cases before building

List the error states, empty states, and edge cases for the file upload flow that the design needs to cover. Do not edit any files yet. Identify dependencies, edge cases, risks, tests, and rollout or migration concerns. Finish with an ordered implementation plan and explicit acceptance criteria.

DESIGN / PROTOTYPE 2

12 Prototype

Turn a mockup into a working prototype

Here is a mockup. build a working prototype I can click through, matching the layout and states shown. Preserve the important layout, interactions, and states shown in the reference. Verify the result by exercising the main flow, compare it with the reference, and summarize any remaining differences.

13 Prototype

Implement from a screenshot and self-check

Implement this design, then take a screenshot of the result, compare it to the original, and fix any differences. Preserve the important layout, interactions, and states shown in the reference. Verify the result by exercising the main flow, compare it with the reference, and summarize any remaining differences.

BUILD / IMPLEMENT 7

14 Implement

Follow an existing pattern

Look at how the GitHub webhook handler is implemented to understand the pattern, then build a Stripe webhook handler the same way. Follow existing project conventions and keep the change narrowly scoped. Add or update relevant tests, run the appropriate checks, fix any failures caused by the change, and summarize the files changed and verification performed.

15 Implement

Generate docs for undocumented code

Find the public functions in src/auth/ without JSDoc comments and add them, matching the style already used in the file. Follow existing project conventions and keep the change narrowly scoped. Add or update relevant tests, run the appropriate checks, fix any failures caused by the change, and summarize the files changed and verification performed.

16 Implement

Add a small, well-defined feature

Add a /health endpoint that returns the app version and uptime. Follow existing project conventions and keep the change narrowly scoped. Add or update relevant tests, run the appropriate checks, fix any failures caused by the change, and summarize the files changed and verification performed.

17 Implement

Build a small internal tool from scratch

Create a drag-and-drop Kanban board with three columns using HTML, CSS, and vanilla JavaScript, then open it in my browser. Follow existing project conventions and keep the change narrowly scoped. Add or update relevant tests, run the appropriate checks, fix any failures caused by the change, and summarize the files changed and verification performed.

18 Implement

Work an issue end to end

Read issue #312, implement the fix, and run the tests. Follow existing project conventions and keep the change narrowly scoped. Add or update relevant tests, run the appropriate checks, fix any failures caused by the change, and summarize the files changed and verification performed.

19 Implement

Find and update copy across the codebase

Find every place we say "Sign up free" or a close variant, show me each one in context, then update them all to "Start free trial". leave tests and the changelog alone. Follow existing project conventions and keep the change narrowly scoped. Add or update relevant tests, run the appropriate checks, fix any failures caused by the change, and summarize the files changed and verification performed.

20 Implement

Draft a document from past examples

Read the privacy impact assessments in legal/pia/ to learn the structure and voice, then draft a new one for the new analytics integration. Follow existing project conventions and keep the change narrowly scoped. Add or update relevant tests, run the appropriate checks, fix any failures caused by the change, and summarize the files changed and verification performed.

BUILD / TEST 3

21 Test

Write tests, run them, fix failures

Write tests for app/parsers/feed.py, run them, and fix any failures. Match the project’s existing test style and cover the happy path, failure cases, and meaningful edge cases. Run the smallest relevant test suite first, fix failures caused by your work, then report the commands run and results.

22 Test

Drive implementation from tests

Write tests for the password reset flow first, then implement it until they pass. Match the project’s existing test style and cover the happy path, failure cases, and meaningful edge cases. Run the smallest relevant test suite first, fix failures caused by your work, then report the commands run and results.

23 Test

Fill gaps from a coverage report

Read coverage/coverage-summary.json and add tests for the lowest-covered files until each is above 80%. Match the project’s existing test style and cover the happy path, failure cases, and meaningful edge cases. Run the smallest relevant test suite first, fix failures caused by your work, then report the commands run and results.

BUILD / REFACTOR 4

24 Refactor

Migrate a pattern across the codebase

Migrate everything from the old logging API to the structured logger: identify every place that needs to change, then make the changes. Preserve public behavior unless the request explicitly changes it. Establish a baseline, make the smallest coherent change, run relevant tests or benchmarks, and report before-and-after evidence plus any tradeoffs.

25 Refactor

Port code to another language

Port this Python module to Rust, keeping the same public API and test behavior. Preserve public behavior unless the request explicitly changes it. Establish a baseline, make the smallest coherent change, run relevant tests or benchmarks, and report before-and-after evidence plus any tradeoffs.

26 Refactor

Optimize against a measurable target

Optimize the search query to bring p95 latency from 2s down to under 500ms. Preserve public behavior unless the request explicitly changes it. Establish a baseline, make the smallest coherent change, run relevant tests or benchmarks, and report before-and-after evidence plus any tradeoffs.

27 Refactor

Fix a precise visual bug

The login button extends 20px beyond the card border on mobile. fix it. Preserve public behavior unless the request explicitly changes it. Establish a baseline, make the smallest coherent change, run relevant tests or benchmarks, and report before-and-after evidence plus any tradeoffs.

BUILD / REVIEW 5

28 Review

Review your changes before you commit

Review my uncommitted changes and flag anything that looks risky before I commit. Do not modify anything. Prioritize findings by severity, cite exact files and lines where possible, explain the impact, and suggest a concrete fix. If nothing material is wrong, say so and note any remaining uncertainty or untested areas.

29 Review

Review a pull request

Review PR #247 and summarize what changed, then list any concerns. Do not modify anything. Prioritize findings by severity, cite exact files and lines where possible, explain the impact, and suggest a concrete fix. If nothing material is wrong, say so and note any remaining uncertainty or untested areas.

30 Review

Review infrastructure changes before applying

Here is my Terraform plan output. what is this going to do, and is anything here going to cause problems? Do not modify anything. Prioritize findings by severity, cite exact files and lines where possible, explain the impact, and suggest a concrete fix. If nothing material is wrong, say so and note any remaining uncertainty or untested areas.

31 Review

Run a security review with a subagent

Use a subagent to review src/api/ for security issues and report what it finds. Do not modify anything. Prioritize findings by severity, cite exact files and lines where possible, explain the impact, and suggest a concrete fix. If nothing material is wrong, say so and note any remaining uncertainty or untested areas.

32 Review

Catch issues before formal review

Review launch-post.md for unsupported claims, missing attributions, and brand-guideline issues and list anything I should fix before it goes to legal. Do not modify anything. Prioritize findings by severity, cite exact files and lines where possible, explain the impact, and suggest a concrete fix. If nothing material is wrong, say so and note any remaining uncertainty or untested areas.

BUILD / STEER 3

33 Steer

Course-correct a wrong approach

That is not right: the function signature needs to stay backward-compatible. try a different approach. Preserve correct work already completed and change only what is necessary. Re-check the result against the clarified constraint, run relevant verification, and summarize what changed from the previous approach.

34 Steer

Narrow the scope of a change

That is too much. keep only the changes to the validation logic in src/forms/ and undo your other edits. Preserve correct work already completed and change only what is necessary. Re-check the result against the clarified constraint, run relevant verification, and summarize what changed from the previous approach.

35 Steer

Turn a correction into a rule

You keep using default exports when this project uses named exports. add a rule to CLAUDE.md so this stops happening. Preserve correct work already completed and change only what is necessary. Re-check the result against the clarified constraint, run relevant verification, and summarize what changed from the previous approach.

SHIP / GIT 3

36 Git

Resolve merge conflicts

Resolve the merge conflicts in this branch and explain what you kept from each side. Inspect the full diff and repository state first. Preserve unrelated work, avoid destructive operations, run relevant checks before finalizing, and clearly summarize the resulting commits, conflicts, or pull-request contents.

37 Git

Commit with a generated message

Commit these changes with a message that summarizes what I did. Inspect the full diff and repository state first. Preserve unrelated work, avoid destructive operations, run relevant checks before finalizing, and clearly summarize the resulting commits, conflicts, or pull-request contents.

38 Git

Open a pull request from a ticket

Find the Linear ticket about the login timeout and open a PR that implements it. Inspect the full diff and repository state first. Preserve unrelated work, avoid destructive operations, run relevant checks before finalizing, and clearly summarize the resulting commits, conflicts, or pull-request contents.

SHIP / RELEASE 2

39 Release

Draft release notes from git history

Compare v2.3.0 to v2.4.0 and draft release notes grouped by feature, fix, and breaking change. Follow existing CI and release conventions. Validate syntax and configuration, identify secrets or permissions required, include rollback considerations, and summarize how to verify the workflow safely.

40 Release

Write a CI workflow

Write a GitHub Actions workflow that runs the tests and deploys to staging on every push to main. Follow existing CI and release conventions. Validate syntax and configuration, identify secrets or permissions required, include rollback considerations, and summarize how to verify the workflow safely.

OPERATE / DEBUG 3

41 Debug

Find and fix a failing test

The UserAuth test is failing, find out why and fix it. Reproduce the problem if possible, gather evidence, and identify the root cause rather than masking the symptom. Make the smallest safe fix, run the relevant checks, and explain the cause, change, and verification.

42 Debug

Investigate a reported error

Users are seeing 500 errors on /api/settings. investigate and tell me what is going on. Reproduce the problem if possible, gather evidence, and identify the root cause rather than masking the symptom. Make the smallest safe fix, run the relevant checks, and explain the cause, change, and verification.

43 Debug

Fix a build error at the root

Here is a build error. fix the root cause and verify the build succeeds. Reproduce the problem if possible, gather evidence, and identify the root cause rather than masking the symptom. Make the smallest safe fix, run the relevant checks, and explain the cause, change, and verification.

OPERATE / INCIDENT 3

44 Incident

Investigate a production incident

The checkout endpoint started returning 500s an hour ago. check the logs, recent deploys, and config changes, then tell me the most likely cause. Start with read-only investigation. Build a brief timeline, distinguish evidence from hypotheses, assess impact, and recommend the safest next action. Do not make production changes without explicit approval.

45 Incident

Diagnose from a console screenshot

Here is a screenshot of the GCP Kubernetes dashboard. walk me through why this pod is failing and give me the exact commands to fix it. Start with read-only investigation. Build a brief timeline, distinguish evidence from hypotheses, assess impact, and recommend the safest next action. Do not make production changes without explicit approval.

46 Incident

Query logs in plain English

Show me all failed logins for the auth service over the past 24 hours. write the query, run it, and tell me what stands out. Start with read-only investigation. Build a brief timeline, distinguish evidence from hypotheses, assess impact, and recommend the safest next action. Do not make production changes without explicit approval.

OPERATE / DATA 2

47 Data

Analyze a data file

Read @reports/q1-signups.csv, summarize the key patterns, and write the results to an HTML page with charts, then open it in my browser. Validate the input data and state any assumptions. Show the method used, quantify the strongest patterns, flag data-quality limitations, and produce a concise conclusion with actionable next steps.

48 Data

Generate variations from performance data

Read @ads-performance.csv, find the underperforming headlines, and generate 20 new variations that stay under 90 characters. Validate the input data and state any assumptions. Show the method used, quantify the strongest patterns, flag data-quality limitations, and produce a concise conclusion with actionable next steps.

OPERATE / AUTOMATE 4

49 Automate

Turn a recurring task into a skill

Create a /ship skill for this project that runs the linter and tests, then drafts a commit message. Inspect existing project configuration and conventions first. Make the automation safe, repeatable, and narrowly scoped; document prerequisites and failure behavior; then test it and explain how to use or undo it.

50 Automate

Add a hook for repeat behavior

Write a hook that runs prettier after every edit to a .ts or .tsx file. Inspect existing project configuration and conventions first. Make the automation safe, repeatable, and narrowly scoped; document prerequisites and failure behavior; then test it and explain how to use or undo it.

51 Automate

Connect a tool with MCP

Set up the Sentry MCP server so you can read my error reports directly. Inspect existing project configuration and conventions first. Make the automation safe, repeatable, and narrowly scoped; document prerequisites and failure behavior; then test it and explain how to use or undo it.

52 Automate

Capture what to remember for next time

Summarize what we did this session and suggest what to add to CLAUDE.md. Inspect existing project configuration and conventions first. Make the automation safe, repeatable, and narrowly scoped; document prerequisites and failure behavior; then test it and explain how to use or undo it.

How to use these prompts

Each prompt is a starting point, not a finished instruction. Replace the example file names, topics, metrics and tools with details from your own work before you run it. Paste the prompt into ChatGPT, Claude or Claude Code, then adjust the constraints to match how your team works.

Source & attribution

The Claude Code collection is based on the Claude Code Prompt Library — Enhanced Edition. Those prompt titles and core requests originate from Anthropic's Claude Code documentation; the added guardrails and verification steps are editorial enhancements and should not be read as official Anthropic wording.

Claude and Claude Code are trademarks of Anthropic; ChatGPT is a trademark of OpenAI. WebCareWorks is not affiliated with, endorsed by, or sponsored by either. We publish this directory as a free reference.

Prefer we handle it for you?
We build fast, secure, SEO-ready websites for local businesses.
Copied!