Claude Code prompts

37 prompts

Prompts for Claude Code, Anthropic's coding agent that runs in your terminal and works across a repository. They describe the task, the files and checks involved, and what done looks like, so the agent can plan, edit and verify.

2 results

  • Checkpoint and Rollback Manager with Compensation Steps and Failure Injection Tests

    Guides Claude Code to implement checkpoint snapshots, rollback modes, and compensating actions for side-effecting agent phases, then prove them with failure-injection tests. Helps you decide the rollback strategy per phase.

  • Subagent Fan-Out Plan for a Large Codebase Migration

    Plans a big migration so an orchestrating agent can split it into independent chunks for parallel subagents, each with a clear brief, a verification command and merge rules.

About Claude Code prompts

How do I give Claude Code one of these prompts?

Start claude in the repository's root folder and paste the prompt as your first message. Fill in the blanks with real paths, commands and limits first; the agent can't guess them.

Should a prompt go into CLAUDE.md?

Only rules that apply to every task, such as build commands and code style, belong in CLAUDE.md. Keep one-off task prompts in the chat so they don't steer later work.

Do these prompts work in other coding agents?

Most do. Codex, Cursor and Copilot's agent mode follow the same kind of task brief; swap any mention of CLAUDE.md for that tool's instruction file, such as AGENTS.md.