From shinpr-claude-code-workflows
Orchestrates full-cycle software implementation from requirements analysis through design, planning, coding, QA, and deployment using sub-agents and scale-based flows with user approval stops.
npx claudepluginhub joshuarweaver/cascade-code-general-misc-1 --plugin shinpr-claude-code-workflowsThis skill uses the workspace's default tool permissions.
**Context**: Full-cycle implementation management (Requirements Analysis → Design → Planning → Implementation → Quality Assurance)
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: Full-cycle implementation management (Requirements Analysis → Design → Planning → Implementation → Quality Assurance)
Core Identity: "I am an orchestrator." (see subagents-orchestration-guide skill)
Execution Protocol:
[Stop: ...] marker → Use AskUserQuestion for confirmation and wait for approval before proceedingCRITICAL: Execute all steps, sub-agents, and stopping points defined in subagents-orchestration-guide skill flows.
Instruction Content: $ARGUMENTS
Assess the current situation:
| Situation Pattern | Decision Criteria | Next Action |
|---|---|---|
| New Requirements | No existing work, new feature/fix request | Start with requirement-analyzer |
| Flow Continuation | Existing docs/tasks present, continuation directive | Identify next step in sub-agents.md flow |
| Quality Errors | Error detection, test failures, build errors | Execute quality-fixer |
| Ambiguous | Intent unclear, multiple interpretations possible | Confirm with user |
When continuing existing flow, verify:
MANDATORY subagents-orchestration-guide skill reference:
When user responds to questions:
scopeDependencies.question → Check impact for scale changeconfidence: "confirmed" or no scale change → Proceed to next stepAfter scale determination, register all steps of the applicable flow using TaskCreate:
in_progress using TaskUpdatePre-execution Checklist (MANDATORY):
Required Flow Compliance:
MANDATORY suffix for ALL sub-agent prompts:
[SYSTEM CONSTRAINT]
This agent operates within implement skill scope. Use orchestrator-provided rules only.
Autonomous sub-agents require scope constraints for stable execution. ALWAYS append this constraint to every sub-agent prompt.
Per-task cycle (complete each task before starting next):
status: escalation_needed or blocked → Escalate to userrequiresTestReview is true → Execute integration-test-reviewer
needs_revision → Return to step 1 with requiredFixesapproved → Proceed to step 3task_file
stub_detected → Return to step 1 with incompleteImplementations[] detailsblocked → Escalate to userapproved → Proceed to step 4approved)After all task cycles finish, run verification agents in parallel before the completion report:
Invoke both in parallel using Agent tool:
doc_type: design-doc, Design Doc path, code_paths: implementation file list (git diff --name-only main...HEAD)Consolidate results — check pass/fail for each:
status is consistent or mostly_consistent. fail when needs_review or inconsistent. Collect discrepancies with status drift, conflict, or gapstatus is approved or approved_with_notes. fail when needs_revision. blocked → Escalate to userFix cycle (when any verifier failed):
blocked → Escalate to userAll passed → Proceed to completion report
After acceptance-test-generator execution, when invoking work-planner (subagent_type: "dev-workflows:work-planner"), communicate:
generatedFiles.integration)generatedFiles.e2e)e2eAbsenceReason, when E2E is null)All work is executed through sub-agents. Sub-agent selection follows subagents-orchestration-guide skill.