---
name: "plan-and-build-a-feature-with-claude-code-method"
description: "Use when you need to Plan and build a feature with Claude Code. Plan and build a feature with Claude Code"
---

# Plan and build a feature with Claude Code

Job: [Plan and build a feature with Claude Code](https://aiagents.org/canai/plan-and-build-a-feature-with-claude-code)

## Need

- ai agent: [Claude Code](https://aiagents.org/agents/claude-code)

## Steps

1. Explore: switch Claude Code into plan mode so it can only read and answer, with no edits.
2. Plan: ask for a detailed implementation plan, and edit it in your text editor if needed before it proceeds.
3. Implement: leave plan mode, let it code against the plan, write tests, run them, and fix any failures.
4. Commit: ask for a commit with a clear message and a pull request.
5. The source says to skip planning when you could describe the change in one sentence.

## Credit

Method author Anthropic
Source: https://code.claude.com/docs/en/best-practices
