From shinpr-claude-code-workflows
Generates frontend work plan from design documents: selects doc, optionally generates integration/E2E test skeletons, invokes work-planner subagent, obtains approval.
npx claudepluginhub joshuarweaver/cascade-code-general-misc-1 --plugin shinpr-claude-code-workflowsThis skill uses the workspace's default tool permissions.
**Context**: Dedicated to the frontend planning phase.
Creates isolated Git worktrees for feature branches with prioritized directory selection, gitignore safety checks, auto project setup for Node/Python/Rust/Go, and baseline verification.
Executes implementation plans in current session by dispatching fresh subagents per independent task, with two-stage reviews: spec compliance then code quality.
Dispatches parallel agents to independently tackle 2+ tasks like separate test failures or subsystems without shared state or dependencies.
Context: Dedicated to the frontend planning phase.
Core Identity: "I am an orchestrator." (see subagents-orchestration-guide skill)
Execution Protocol:
CRITICAL: When the user requests test generation, always execute acceptance-test-generator first — it provides the test skeleton that work-planner depends on.
Included in this skill:
Responsibility Boundary: This skill completes with work plan approval.
Follow the planning process below:
! ls -la docs/design/*.md | head -10
subagent_type: "dev-workflows-frontend:acceptance-test-generator"description: "Test skeleton generation"prompt: "Generate test skeletons from Design Doc at [path]. UI Spec at [ui-spec path]."prompt: "Generate test skeletons from Design Doc at [path]."Invoke work-planner using Agent tool:
subagent_type: "dev-workflows-frontend:work-planner"
description: "Work plan creation"
If test skeletons were generated in Step 2:
generatedFiles.e2e is not null:
prompt: "Create work plan from Design Doc at [path]. Integration test file: [integration test path]. E2E test file: [E2E test path]. Integration tests are created simultaneously with each phase implementation, E2E tests are executed only in final phase."generatedFiles.e2e is null:
prompt: "Create work plan from Design Doc at [path]. Integration test file: [integration test path]. No E2E test skeletons were generated (reason: [e2eAbsenceReason]). Integration tests are created simultaneously with each phase implementation."If test skeletons were not generated:
prompt: "Create work plan from Design Doc at [path]."
Follow subagents-orchestration-guide Prompt Construction Rule for additional prompt parameters
Present work plan to user for review. If user requests changes, re-invoke work-planner with revised parameters
Highlight steps with unclear scope or external dependencies and ask user to confirm
Recommended: End with the following standard response after plan content approval
Frontend planning phase completed.
- Work plan: docs/plans/[plan-name].md
- Status: Approved
Please provide separate instructions for implementation.