Borrowing it
Nothing to install: this file belongs to TouheedCode/claude-dev-workflow. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/TouheedCode/claude-dev-workflow/master/.claude/commands/phased-plan.mdgit clone --depth 1 https://github.com/TouheedCode/claude-dev-workflowWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/commands/touheedcode/claude-dev-workflow/phased-plan)<a href="https://agentmods.dev/commands/touheedcode/claude-dev-workflow/phased-plan"><img src="https://agentmods.dev/badge/commands/touheedcode/claude-dev-workflow/phased-plan/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/commands/touheedcode/claude-dev-workflow/phased-plan"><img src="https://agentmods.dev/badge/commands/touheedcode/claude-dev-workflow/phased-plan.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00000 | $0.00928 |
| Opus 5.5 | $0.00000 | $0.00371 |
| Sonnet 5.5 | $0.00000 | $0.00186 |
| Haiku 4.5 | $0.00000 | $0.00093 |
Grade A, and why
phased-plan scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 125 lines — stays where its author put it; the contents beside it link to each section on GitHub.
/phased-plan — Generate 7-Phase Implementation Plan
Arguments
$ARGUMENTS— Story ID to plan (e.g., "US-001")
Instructions
You are generating a 7-phase implementation plan that maps a user story to the structured development workflow.
Story input: $ARGUMENTS
Step 1: Read the Story
Find and read the user story at docs/stories/{story-ID}.md. If it doesn't exist, tell the user to run /story first. Also read the referenced PRD for full context.
Step 2: Map to 7 Phases
Generate a plan at docs/plans/PLAN-{story-ID}.md that maps the story's BDD scenarios to concrete deliverables across all 7 phases:
# Implementation Plan: {Story ID} — {Story Title}
## Source Story
- Story: docs/stories/{story-ID}.md
- PRD: {PRD path}
## Phase 1: Presentational UI
**Agent:** frontend-phase-1
**Goal:** Build pure UI components with no business logic
### Deliverables
- [ ] `apps/web/src/components/{ComponentName}.tsx` — {description}
- [ ] `apps/web/src/components/__tests__/{ComponentName}.test.tsx`
### BDD Mapping
- Scenario "{name}" → renders {component} with {props}
---
## Phase 2: API Client & Mocks
**Agent:** frontend-phase-2
**Goal:** Create API hooks and MSW mock handlers
### Deliverables
- [ ] `apps/web/src/lib/api/{resource}.ts` — TanStack Query hooks
- [ ] `apps/web/src/mocks/handlers/{resource}.ts` — MSW handlers
- [ ] `libs/shared/src/types/{resource}.ts` — Shared response types
### API Contract
| Method | Endpoint | Request | Response |
|--------|----------|---------|----------|
| GET | /api/... | — | {...} |
---
## Phase 3: Smart Components & State
**Agent:** frontend-phase-3
**Goal:** Wire UI to state and API hooks
### Deliverables
- [ ] `apps/web/src/stores/{store}.ts` — Zustand store
- [ ] `apps/web/src/app/{route}/page.tsx` — Page component
- [ ] Integration tests for user flows
---
## Phase 4: Repository Layer (TDD)
**Agent:** backend-phase-4
**Goal:** Build data access with tests first
### Deliverables
- [ ] `apps/api/src/modules/{module}/domain/{entity}.ts`
- [ ] `apps/api/src/modules/{module}/{module}.repository.ts`
- [ ] `apps/api/src/modules/{module}/{module}.repository.spec.ts`
### Database Schema
Tables and columns needed for this feature.
---
## Phase 5: Service Layer (TDD)
**Agent:** backend-phase-5
**Goal:** Implement business logic with mocked repos
### Deliverables
- [ ] `apps/api/src/modules/{module}/{module}.service.ts`
- [ ] `apps/api/src/modules/{module}/{module}.service.spec.ts`
### Business Rules
Logic and validation rules derived from BDD scenarios.
---
## Phase 6: Controller Layer (TDD)
**Agent:** backend-phase-6
**Goal:** Thin controllers with E2E tests
### Deliverables
- [ ] `apps/api/src/modules/{module}/{module}.controller.ts`
- [ ] `apps/api/src/modules/{module}/{module}.module.ts`
- [ ] `apps/api/src/modules/{module}/{module}.e2e.spec.ts`
---
## Phase 7: Integration
**Agent:** integration-phase-7
**Goal:** Connect frontend to real backend, verify E2E
### Deliverables
- [ ] Remove/disable MSW mocks for this feature
- [ ] Configure real API endpoint
- [ ] E2E smoke test passing
### Verification
- [ ] All BDD scenarios pass as integration tests
- [ ] No MSW handlers active for production paths
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 2mo ago First seen · 125 lines · 0 tokens per session scan A dfad9e90521a
phased-plan is a command published in the GitHub repository TouheedCode/claude-dev-workflow (2 stars, last pushed 16d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 928 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other commands, from other repositories
audit-agents-skills
Audit quality of agents, skills, and commands in a Claude Code project.
audit-whitepapers
Audit version freshness, FR/EN parity, and metadata quality of all whitepapers and recap cards.
audit-repo-docs
Audit repository documentation against 85+ best practices from claude-code-ultimate-guide.
boldguy-linkedin-answer
Draft a LinkedIn comment on a post, referencing the guide's relevant section, in Flow style with AI markers removed.
release
Release guide version (CHANGELOG + VERSION + README + landing sync + commit + push).
security-audit
Comprehensive security audit of your project AND Claude Code configuration. Analyzes secrets exposure, injection surfaces, dependencies, hook security, and produces a scored security posture assessment.