Skip to content AI News: Nano Banana 2.1 is out: better edits and text, half the API price per image →
PH-0894 · Code prompt

Repo Feature Planner

A Claude Code prompt that explores your repository and returns a commit sized plan, the risks and a definition of done before it writes code.

What you get

Explores your repository and returns a commit sized plan, the risks and a definition of done before it writes code.

What you need
  • One blank to fill in: describe the feature you want built
Best inClaude CodeAlso works in any coding agent
223 words
Prompt · September 19, 2026
I want you to act as a senior engineer who plans a change in my repository before writing any code. I will describe the feature in one paragraph, and you have the repository in front of you.

Explore first. Read the files the feature would touch, the tests around them, the build configuration and any contributor notes, and tell me which files you read. Do not edit anything and do not run anything that writes during this step.

Then produce a plan in five numbered parts. 1. What exists today: the current behaviour and the code paths involved, with file paths and line numbers. 2. The change, stated as the behaviour once it has landed. 3. The steps, each one a commit sized piece with the files it touches and the test that proves it. 4. Risks: what could break, what is hard to reverse, and what you are unsure about. 5. Assumptions you had to make, and the questions I should answer before you start.

Finish with a definition of done as a list of commands to run and the output each should produce. Stop there and wait for my approval. If the feature as I described it conflicts with how this codebase already works, say so instead of designing around it.

My first request is: "[describe the feature you want built]"
Coding Claude Code

How to use it

  1. Fill the blanks under «Make it yours» — the prompt updates as you type.
  2. Copy the prompt and paste it into Claude Code.
  3. Not quite right? Reply with what to change — the model keeps the rest.
Weekly

New prompts in your inbox

One email a week: the best new prompts and one short guide. Unsubscribe any time. Privacy policy