Feature Development (Complex Tasks)
A codebase-agnostic workflow for building new features safely:
- 7 phases (discovery → exploration → questions → architecture → implement → review → summary)
- Persistent planning files for long tasks (macro memory: goal, status, next actions, and durable decisions)
Inputs
Minimum input:
- A 1–2 sentence feature description (what to build + who/why).
Helpful extras (optional):
- Acceptance criteria / examples
- Related files or modules
- Docs / tickets / prototypes (if inaccessible, ask user to paste key parts)
Non-Negotiable Rules
- Never skip Phase 3 (Clarifying Questions). If anything is underspecified, ask and wait.
- Never start Phase 5 (Implementation) without explicit approval.
- Use the planning files as persistent macro memory. Keep them concise and durable.
- Read before decide. Before major decisions, re-read
task_plan.md.
- Log errors briefly + don’t repeat failures. If an action fails, change the approach.
Quick Start (Planning Files)
This workflow requires these files in the repo root:
task_plan.md
findings.md
progress.md
CLAUDE.md (agent instructions; created by init if missing)
To initialize them, run:
/complex-feature-dev:init (recommended)
Or via terminal:
- macOS/Linux (or Windows Git Bash):
bash "$(ls -dt ~/.claude/plugins/cache/complex-dev-skills/complex-feature-dev/*/scripts/init-session.sh 2>/dev/null | head -1)"
- Windows PowerShell:
pwsh -ExecutionPolicy Bypass -File "~/.claude/plugins/cache/complex-dev-skills/complex-feature-dev/<version>/scripts/init-session.ps1"
Project Guidelines
- Follow
AGENTS.md / CLAUDE.md / CONTRIBUTING.md / README.md if present.
- Prefer matching existing code patterns over introducing new abstractions.
- Write important conventions you discover into
findings.md.
Phase 1: Discovery
Goal: Make the request concrete and testable.
- If planning files are missing, run the initializer script via the Bash tool and do not proceed until the files exist.
- Restate the request as acceptance criteria; confirm scope and non-goals.
- Capture constraints (compatibility, performance, time, rollout).
- Write brief confirmed requirements + acceptance criteria to
findings.md.
Phase 2: Codebase Exploration
Goal: Identify the correct integration points and existing patterns.
Do 2–3 independent exploration passes:
- Pass A: find similar features and trace end-to-end
- Pass B: map architecture boundaries and extension points
- Pass C: identify testing/build/lint/config/observability conventions
For each pass:
- record key files/patterns (prefer file:line; keep it macro) in
findings.md.
Also:
- locate and follow
AGENTS.md instructions (if present).
Phase 3: Clarifying Questions (Hard Stop)
Goal: Resolve all ambiguity before architecture and implementation.
Ask questions grouped by:
- behavior definition (inputs/outputs/state)
- edge cases (empty values, duplicates, concurrency, ordering, permissions)
- error handling (timeouts, retries, idempotency, rollback)
- integrations (APIs, data models, config, feature flags)
- backward compatibility & migration
- performance assumptions
- observability
- testing & acceptance plan
Wait for answers (or propose defaults and get explicit confirmation). Record final answers in findings.md.
Phase 4: Architecture Design
Goal: Present 2–3 viable approaches and let the user choose.
Provide at least:
- Minimal changes (reuse, low risk)
- Pragmatic balance (cleaner boundaries)
- Optional clean architecture (more refactor, higher long-term clarity)
For each approach include:
- files to create/modify
- key abstractions + data flow
- trade-offs (risk/time/testability/maintainability)
Write the chosen approach + rationale (brief) to findings.md and task_plan.md.
Phase 5: Implementation (Requires Approval)
Goal: Implement the chosen approach.
- Implement in small verifiable increments.
- Follow existing conventions; avoid unrelated refactors.
- Log key actions/files/tests in
progress.md (brief).
- Log errors in
task_plan.md (and brief resolution in progress.md).
Phase 6: Quality Review
Goal: Catch high-impact issues before delivery.
Default review scope:
- Prefer reviewing
git diff (or specified files).
Focus areas:
- correctness, security/permissions, error handling, observability, conventions, simplicity
Confidence filtering:
- score issues 0–100
- report only issues ≥ 80 confidence, with concrete fixes (file:line)
Phase 7: Summary
Goal: Deliver a clean handoff.
- Summarize what was built, key decisions, and files modified.
- Provide verification steps (commands/endpoints/UI paths).
- Call out risks and suggested next steps.
Converted and distributed by TomeVault — claim your Tome and manage your conversions.
1---2name: complex-feature-dev3description: Full-cycle 7-phase feature development workflow with persistent file-based planning (task_plan.md, findings.md, progress.md) as macro memory. Use when this capability is needed.4---56# Feature Development (Complex Tasks)78A codebase-agnostic workflow for building new features safely:9- 7 phases (discovery → exploration → questions → architecture → implement → review → summary)10- Persistent planning files for long tasks (macro memory: goal, status, next actions, and durable decisions)1112## Inputs1314Minimum input:15- A 1–2 sentence feature description (what to build + who/why).1617Helpful extras (optional):18- Acceptance criteria / examples19- Related files or modules20- Docs / tickets / prototypes (if inaccessible, ask user to paste key parts)2122## Non-Negotiable Rules23241. **Never skip Phase 3 (Clarifying Questions).** If anything is underspecified, ask and **wait**.252. **Never start Phase 5 (Implementation) without explicit approval.**263. **Use the planning files as persistent macro memory.** Keep them concise and durable.274. **Read before decide.** Before major decisions, re-read `task_plan.md`.285. **Log errors briefly + don’t repeat failures.** If an action fails, change the approach.2930## Quick Start (Planning Files)3132This workflow requires these files in the **repo root**:33- `task_plan.md`34- `findings.md`35- `progress.md`36- `CLAUDE.md` (agent instructions; created by init if missing)3738To initialize them, run:39- `/complex-feature-dev:init` (recommended)4041Or via terminal:42- macOS/Linux (or Windows Git Bash): `bash "$(ls -dt ~/.claude/plugins/cache/complex-dev-skills/complex-feature-dev/*/scripts/init-session.sh 2>/dev/null | head -1)"`43- Windows PowerShell: `pwsh -ExecutionPolicy Bypass -File "~/.claude/plugins/cache/complex-dev-skills/complex-feature-dev/<version>/scripts/init-session.ps1"`4445## Project Guidelines4647- Follow `AGENTS.md` / `CLAUDE.md` / `CONTRIBUTING.md` / `README.md` if present.48- Prefer matching existing code patterns over introducing new abstractions.49- Write important conventions you discover into `findings.md`.5051---5253## Phase 1: Discovery5455**Goal:** Make the request concrete and testable.5657- If planning files are missing, run the initializer script via the Bash tool and do not proceed until the files exist.58- Restate the request as acceptance criteria; confirm scope and non-goals.59- Capture constraints (compatibility, performance, time, rollout).60- Write brief confirmed requirements + acceptance criteria to `findings.md`.6162## Phase 2: Codebase Exploration6364**Goal:** Identify the correct integration points and existing patterns.6566Do 2–3 independent exploration passes:67- Pass A: find similar features and trace end-to-end68- Pass B: map architecture boundaries and extension points69- Pass C: identify testing/build/lint/config/observability conventions7071For each pass:72- record key files/patterns (prefer file:line; keep it macro) in `findings.md`.7374Also:75- locate and follow `AGENTS.md` instructions (if present).7677## Phase 3: Clarifying Questions (Hard Stop)7879**Goal:** Resolve all ambiguity before architecture and implementation.8081Ask questions grouped by:82- behavior definition (inputs/outputs/state)83- edge cases (empty values, duplicates, concurrency, ordering, permissions)84- error handling (timeouts, retries, idempotency, rollback)85- integrations (APIs, data models, config, feature flags)86- backward compatibility & migration87- performance assumptions88- observability89- testing & acceptance plan9091Wait for answers (or propose defaults and get explicit confirmation). Record final answers in `findings.md`.9293## Phase 4: Architecture Design9495**Goal:** Present 2–3 viable approaches and let the user choose.9697Provide at least:98- Minimal changes (reuse, low risk)99- Pragmatic balance (cleaner boundaries)100- Optional clean architecture (more refactor, higher long-term clarity)101102For each approach include:103- files to create/modify104- key abstractions + data flow105- trade-offs (risk/time/testability/maintainability)106107Write the chosen approach + rationale (brief) to `findings.md` and `task_plan.md`.108109## Phase 5: Implementation (Requires Approval)110111**Goal:** Implement the chosen approach.112113- Implement in small verifiable increments.114- Follow existing conventions; avoid unrelated refactors.115- Log key actions/files/tests in `progress.md` (brief).116- Log errors in `task_plan.md` (and brief resolution in `progress.md`).117118## Phase 6: Quality Review119120**Goal:** Catch high-impact issues before delivery.121122Default review scope:123- Prefer reviewing `git diff` (or specified files).124125Focus areas:126- correctness, security/permissions, error handling, observability, conventions, simplicity127128Confidence filtering:129- score issues 0–100130- report only issues ≥ 80 confidence, with concrete fixes (file:line)131132## Phase 7: Summary133134**Goal:** Deliver a clean handoff.135136- Summarize what was built, key decisions, and files modified.137- Provide verification steps (commands/endpoints/UI paths).138- Call out risks and suggested next steps.139140---141> Converted and distributed by [TomeVault](https://tomevault.io/claim/littlestudent886) — claim your Tome and manage your conversions.142<!-- tomevault:4.0:skill_md:2026-04-11 -->