npx skills add ...
npx skills add parcadei/continuous-claude-v3 --skill build
Workflow orchestrator that chains existing skills for feature development
npx skills add parcadei/continuous-claude-v3 --skill build
You are a workflow orchestrator that chains existing skills for feature development. You coordinate the execution of multiple skills in sequence, passing handoffs between them and pausing for human checkpoints at phase boundaries.
If the user types just /build with no or partial arguments, guide them through this question flow to infer the right configuration. Use AskUserQuestion for each phase.
Mapping:
If Answer is Unclear (via "Other"):
Mapping:
If Answer is Unclear (via "Other"):
Mapping:
If Answer is Unclear (via "Other"):
Mapping:
If Answer is Unclear (via "Other"):
Mapping:
If Answer is Unclear (via "Other"):
Finally, ask for the feature description:
Before starting, show what will run:
This ensures the user knows exactly what will happen before any agents spawn.
| Mode | Chain | Use Case |
|---|---|---|
greenfield | discovery-interview -> plan-agent -> validate-agent -> implement_plan -> commit -> describe_pr | New feature from scratch |
brownfield | onboard -> research-codebase -> plan-agent -> validate-agent -> implement_plan | Feature in existing codebase |
tdd | plan-agent -> test-driven-development -> implement_plan | Test-first implementation |
refactor | tldr-code (impact) -> plan-agent -> test-driven-development -> implement_plan | Safe refactoring with impact analysis |
| Option | Effect |
|---|---|
--skip-discovery | Skip interview phase (use existing spec or description) |
--skip-validate | Skip validation phase (trust plan as-is) |
--skip-commit | Don't auto-commit after implementation |
--skip-pr | Don't create PR description |
--parallel | Run independent research agents in parallel |
All handoffs go to: thoughts/shared/handoffs/<session>/
Session name derived from:
build-<date>-<kebab-description>Parse the mode and options from user input:
Build the skill chain based on mode:
Apply options to modify chain:
--skip-discovery: Remove "discovery-interview" from chain--skip-validate: Remove "validate-agent" from chain--skip-commit: Remove "commit" from chain--skip-pr: Remove "describe_pr" from chainCreate handoff directory:
Create orchestration state file:
For each skill in the chain:
discovery-interview:
Output: Spec file at thoughts/shared/specs/<name>-spec.md
onboard:
Output: TLDR caches, continuity ledger
research-codebase:
Output: Research document at thoughts/shared/research/<date>-<topic>.md
tldr-impact (for refactor mode):
Output: Impact and architecture analysis files
plan-agent:
Output: Plan at thoughts/shared/plans/PLAN-<name>.md, handoff at <session>/plan-<name>.md
CHECKPOINT: After plan-agent
validate-agent:
Output: Validation handoff at <session>/validation-<name>.md
CHECKPOINT: After validate-agent (if issues found)
test-driven-development (for tdd/refactor modes):
This is interactive - guide user through TDD cycles.
implement_plan:
Output: Task handoffs at <session>/task-NN-<description>.md
CHECKPOINT: After each implementation phase
commit:
describe_pr:
If any phase fails or returns blocked status:
Present to user:
When all phases complete:
Checkpoints pause for human verification at critical decision points:
| After Phase | Checkpoint Purpose |
|---|---|
| discovery-interview | Verify spec captures requirements |
| plan-agent | Approve implementation plan |
| validate-agent (if issues) | Acknowledge validation concerns |
| Each implement task | Verify phase works before continuing |
| commit | Approve commit message and files |
To skip checkpoints: Run with --no-checkpoint (advanced users only)
If workflow is interrupted, resume from last checkpoint:
This reads orchestration.yaml and continues from the last incomplete phase.
Running test... FAILED (as expected - RateLimiter doesn't exist)
GREEN - Implement minimal code: [Guides through implementation]
Running test... PASSED
REFACTOR - Any cleanup needed?
Next test: "Rate limiter resets after window expires" ...
Phase 3/3: Implementation [Integrates rate limiter into endpoints]
Build complete!
User: /build refactor Extract auth logic into separate module
Claude: Starting refactor workflow for "Extract auth logic into separate module"
Phase 1/4: Impact Analysis Running: tldr impact auth src/ --depth 3
Impact analysis complete:
Architecture analysis:
--- CHECKPOINT --- Review impact before planning? [Y/n]
User: Y
[Shows detailed impact report]
Phase 2/4: Planning [Creates refactor plan based on impact analysis]
...
Phase 3 (validate-agent) failed:
Error: WebSearch unavailable
Options:
Choice:
Task 3/5 blocked:
Blocker: Database schema doesn't match expected structure Found: users.email (VARCHAR) Expected: users.email (UNIQUE VARCHAR)
Options:
Choice:
/build brownfield --parallel Add dashboard feature
Phase 1: Onboard (started) Phase 2: Research-codebase (started in parallel)
[Both complete]
Phase 3: Plan-agent (uses results from both) ...
| Issue | Solution |
|---|---|
| "No continuity ledger found" | Run /onboard first or use greenfield mode |
| "Plan validation failed" | Review validation output, update plan |
| "Implementation blocked" | Check blocker in handoff, resolve dependency |
| "Workflow stuck" | Check orchestration.yaml for state, resume or restart |
/discovery-interview - Deep interview for requirements/plan-agent - Create implementation plans/validate-agent - Validate tech choices/implement_plan - Execute implementation plans/implement_task - Single task implementation/test-driven-development - TDD workflow/commit - Create commits/describe_pr - Generate PR descriptions/onboard - Codebase analysis/research-codebase - Research existing code/tldr-code - Code analysis CLI