Create an implementation plan using the etch plan format. The plan will be saved as a markdown file in .etch/plans/.
Step 1: Gather context
Before writing the plan, understand the project:
- •Read
CLAUDE.mdand key config files (go.mod,package.json,Cargo.toml, etc.) - •Explore the file tree to understand project structure (limit depth to 3 levels)
- •Check for existing plans in
.etch/plans/to avoid overlap
Step 2: Write the plan
Create the plan markdown file following this exact format:
Single-feature plans (one logical grouping):
markdown
# Plan: <Title> ## Overview <1-3 paragraphs describing the overall goal> ### Task 1: <Title> [pending] **Complexity:** small | medium | large **Files:** file1.go, file2.go **Depends on:** (none for first task) <Description of what to implement and how> **Acceptance Criteria:** - [ ] Criterion 1 - [ ] Criterion 2
Multi-feature plans (work spans distinct areas):
markdown
# Plan: <Title> ## Overview <1-3 paragraphs describing the overall goal> --- ## Feature 1: <Feature Title> ### Task 1.1: <Title> [pending] **Complexity:** small | medium | large **Files:** file1.go, file2.go **Depends on:** (none for first task) <Description> **Acceptance Criteria:** - [ ] Criterion 1 --- ## Feature 2: <Feature Title> ### Task 2.1: <Title> [pending] **Complexity:** small | medium | large **Files:** file3.go **Depends on:** Task 1.1 <Description> **Acceptance Criteria:** - [ ] Criterion 1
Plan format rules
- •Every task MUST have a status tag:
[pending] - •Every task MUST have
**Complexity:**(small, medium, or large) - •Every task MUST have
**Files:**listing specific files it will create or modify - •Tasks MAY have
**Depends on:**referencing other task IDs (e.g. "Task 1.1") - •Every task MUST have at least one acceptance criterion
- •Use single-feature format when there is only one logical grouping
- •Use multi-feature format when work spans distinct areas
- •Task descriptions should be specific enough that an AI agent can implement them without ambiguity
- •Each task should be completable in a single focused session (agent-sized)
- •Complexity ratings: small = isolated change in 1-2 files, medium = multiple files or moderate logic, large = cross-cutting or architecturally significant
Step 3: Save the plan
- •Use the slug provided via
--slug <slug>in the arguments. Do NOT generate your own slug — the CLI has already computed it. If no--slugis provided, generate one from the description: lowercase, hyphens for spaces, strip non-alphanumeric, max 50 chars. - •Create the
.etch/plans/directory if it doesn't exist - •Write the file to
.etch/plans/<slug>.md - •Report the summary: title, feature count, task count, and file path
Feature description
$ARGUMENTS