Orchestration playbook for managing fixed sequential delegation chains where each stage consumes the previous stage's output (prompt chaining pattern). Defines pipeline structure, agent selection guidance, output passing protocol, and validation criteria for 2-5 stage sequential workflows. Use when a more specialized team does not already exist.
This skill provides orchestration guidance for sequential delegation pipelines, a pattern where work flows through a fixed chain of stages with each stage consuming and transforming the output of the previous stage. This is the prompt chaining pattern: Stage 1 → Stage 2 → Stage 3, where each arrow represents explicit output handoff.
When invoked, Bobert follows this instruction playbook to:
Use sequential-pipeline when:
Do NOT use sequential-pipeline when:
This pattern is ideal for linear transformation workflows where data or artifacts flow through a clear chain of processing steps.
sequential-pipeline expects Bobert to identify:
inputFrom{
"pipeline": [
{
"stageId": "stage-1-research",
"stageGoal": "Investigate best practices for error handling in React applications",
"agent": "deep-researcher",
"inputFrom": "initial",
"outputFormat": "Learning Packet with sources and patterns",
"validationCriteria": [
"At least 5 sources cited",
"Patterns are actionable and specific"
]
},
{
"stageId": "stage-2-document",
"stageGoal": "Create documentation guide from research findings",
"agent": "technical-breakdown-maintainer",
"inputFrom": "stage-1-research",
"outputFormat": "Markdown documentation file with examples",
"validationCriteria": [
"All patterns from research are documented",
"Code examples are included"
]
}
],
"initialInput": "We need comprehensive error handling standards for our React codebase",
"contextRequirements": ["src/components/", "existing-error-patterns.md"]
}
Note: In practice, Bobert constructs this structure based on Addison's request rather than receiving explicit JSON. The schema above guides Bobert's pipeline definition process.
sequential-pipeline produces:
All stages complete with validation criteria satisfied. Final stage output is delivered to Addison.
When errors occur, Bobert decides:
This is an instruction-only skill - no bash script implementation. Bobert loads this skill and follows the guidance.
SEQUENTIAL PIPELINE PATTERN
Initial Input
|
v
+------------------------------------------+
| STAGE 1 |
| Agent: [agent-1] |
| Input: Initial input |
| Goal: [stage 1 goal] |
| Output: [stage 1 output format] |
| Validation: [criteria 1, criteria 2] |
+------------------------------------------+
|
| Stage 1 Output (validated)
v
+------------------------------------------+
| STAGE 2 |
| Agent: [agent-2] |
| Input: Stage 1 output |
| Goal: [stage 2 goal] |
| Output: [stage 2 output format] |
| Validation: [criteria 1, criteria 2] |
+------------------------------------------+
|
| Stage 2 Output (validated)
v
+------------------------------------------+
| STAGE N (final) |
| Agent: [agent-N] |
| Input: Stage N-1 output |
| Goal: [stage N goal] |
| Output: [final output format] |
| Validation: [criteria 1, criteria 2] |
+------------------------------------------+
|
v
Final Output → Deliver to Addison
When defining the pipeline, Bobert selects agents based on stage goals:
Research Stages:
deep-researcher: External research requiring Learning Packets and source analysisExplore: Codebase investigation and pattern discoveryAnalysis Stages:
Plan: Structured analysis and decision-makingcode-review: Code quality assessment and recommendationsDocumentation Stages:
technical-breakdown-maintainer: Context synthesis and technical documentationadr-maintainer: Architecture decision recordingImplementation Stages:
code-monkey: Fast code modifications from clear specificationsworktree-manager: Worktree operations and branch managementSynthesis Stages:
implementation-plan-maintainer: Translating architecture into executable specificationstechnical-breakdown-maintainer: Combining multiple sources into coherent documentationBetween stages, Bobert must:
Example Prompt for Stage 2:
Stage 2: Document research findings
Input from Stage 1 (deep-researcher Learning Packet):
[Full text of research output]
Your goal: Create documentation guide from research findings.
Output format: Markdown documentation file with examples.
Validation criteria:
- All patterns from research are documented
- Code examples are included
Context: src/components/, existing-error-patterns.md
Each stage must have explicit validation criteria. Common patterns:
Quantitative Criteria:
Qualitative Criteria:
Artifact Criteria:
Bobert verifies these criteria using read-only tools (Read, Grep, Bash with ls/cat) before proceeding to the next stage.
~/.claude/agents/No external tools required (instruction-only skill).
From Addison to Bobert (implicit pipeline):
"Research error handling patterns in React, then create documentation from your findings."
Bobert recognizes sequential pattern and constructs pipeline:
From Addison (explicit pipeline):
"Use sequential pipeline: Explore agent finds all TODO patterns in the codebase, then Plan agent proposes standardization approach, then technical-breakdown-maintainer documents the standard."
Bobert constructs three-stage pipeline:
Identify Pipeline Structure:
Analyze Addison's request for sequential stages
Identify stage goals, agents, and dependencies
Define output formats and validation criteria
Validate Pipeline Definition:
Check stage count (2-5 stages)
Verify agent availability
Confirm output passing is feasible
Ensure validation criteria are explicit
Execute Stage 1:
Delegate to stage 1 agent via Task tool
Pass initialInput and contextRequirements
Wait for completion
Validate output against criteria
Execute Stage 2:
Construct prompt with Stage 1 output
Delegate to stage 2 agent via Task tool
Wait for completion
Validate output against criteria
Repeat for Remaining Stages: Continue sequential execution with validation between each stage
Report Final Output: Deliver last stage's output to Addison with pipeline summary
Bobert should consult Addison (not proceed autonomously) when:
Bobert should proceed autonomously when:
Research → Document:
Explore → Analyze → Plan:
Research → Design → Document:
Implement → Review → Document:
Since this is an orchestration playbook (not executable code), testing involves:
Two-Stage Test: Simple linear transformation
"Research React hooks best practices, then document them."
Expected: deep-researcher → Learning Packet, technical-breakdown-maintainer → Documentation
Three-Stage Test: Analysis in the middle
"Explore our auth code, analyze what needs improvement, then create a plan."
Expected: Explore → patterns, Plan → analysis, implementation-plan-maintainer → spec
Validation Failure Test: Stage produces incomplete output Expected: Bobert detects validation failure, retries with clarified prompt
Handoff Test: Verify output from one stage properly reaches next stage Expected: Stage 2 prompt explicitly includes Stage 1 output
This skill is installed as part of the Claude Code configuration:
nix develop .#building --command rebuild <hostname>
ls ~/.claude/skills/sequential-pipeline/
After rebuild, Bobert automatically has access to this skill via the skills frontmatter in bobert.md.
Skills:
full-lifecycle-delivery: Use when work requires multi-phase coordination with iterative loopsAgents:
deep-researcher: Stage 1 research for external knowledgeExplore: Stage 1 codebase investigationPlan: Middle-stage analysis and decision-makingcode-monkey: Implementation stages with clear specificationstechnical-breakdown-maintainer: Documentation and synthesis stagesadr-maintainer: Architecture decision documentation stagesimplementation-plan-maintainer: Specification creation stagesMemory Nodes:
This skill follows the instruction-only pattern like full-lifecycle-delivery and todo-writer - it's loaded into Bobert's context to provide guidance rather than executed as a script. The 6-section structure ensures consistency with all other skills in the ecosystem.
Key patterns maintained: