AgentSkillsCN

pipeline-conductor

涵盖功能开发的管道编排,包括各个阶段、交接环节与产物管理。适用于在从需求发现到部署上线的整个流程中协调各项工作时使用。

SKILL.md
--- frontmatter
name: pipeline-conductor
description: Covers pipeline orchestration for feature development including stages, handoffs, and artifact management. Use when coordinating work through the discovery to deployment pipeline.

Pipeline Conductor

This skill covers pipeline orchestration for feature development.

Slash Commands

Use these commands to orchestrate the pipeline:

CommandDescription
/pipeline start <name>Start a new feature pipeline
/pipeline status <id>Check current stage and blockers
/pipeline next <id>Advance to next stage
/pipeline listShow all active pipelines
/discover <description>Quick-start feature discovery
/review [feature-id]Invoke code review
/deploy <id>Trigger deployment workflow

See commands/ directory for detailed command documentation.

Pipeline Stages

code
request → discovery → spec → pricing → design → ui-patterns →
  implementation → test → review → deploy → document → announce

Parallel Execution

Some stages can run in parallel:

code
discovery
    ├── spec ──────────┐
    └── pricing ───────┼── design
                       │
implementation:        │
    ├── api-dev ───────┤ (parallel)
    ├── frontend-dev ──┤
    └── sre ───────────┘
                       │
post-deploy:           │
    ├── document ──────┤ (parallel)
    └── announce ──────┘

Stage Routing

Input TypeStarting Stage
Feature ideadiscovery
Clear requirementsspec
Bug fiximplementation
Doc updatedocument
Hotfiximplementation → deploy

Human Gates

Approval required after:

  • spec: Requirements confirmed
  • pricing: Commercial model approved
  • review: Code quality verified
  • announce: Content approved

Approve with: /pipeline approve <id> <gate>

Pipeline Artifacts

All artifacts live in .claude/pipeline/:

code
.claude/pipeline/
├── requests/       # Feature requests
├── briefs/         # Discovery briefs
├── specs/          # Specifications
├── pricing/        # Pricing briefs
├── designs/        # Architecture designs
├── ui-patterns/    # UI specifications
├── triage/         # Support triage docs
└── comms/          # GTM content

Artifact Naming

Pattern: {id}-{name}.md

Example: feat-001-vm-snapshots.md

Stage Handoffs

Each agent reads upstream artifacts and writes downstream:

AgentReadsWrites
product-discoveryrequests/briefs/
product-plannerbriefs/specs/
commercial-strategistbriefs/, specs/pricing/
architectspecs/, pricing/designs/
api-devdesigns/code
code-reviewerdesigns/, codefindings

Handoff Headers

All pipeline artifacts MUST include structured handoff headers. See handoff-format.md for the complete schema.

Key fields:

  • context_summary: What this artifact represents
  • decisions_made: Key decisions with rationale
  • open_questions: Unresolved items (blocking vs non-blocking)
  • assumptions: What was assumed, with confidence levels
  • platform_capabilities: Quota, insights, telemetry, activity decisions

Templates

See templates/ for stage-specific templates with handoff headers:

  • templates/discovery-brief.md - Discovery phase output
  • templates/spec.md - Specification document
  • templates/pricing-brief.md - Commercial strategy output
  • templates/design.md - Architecture design document

Artifact Requirements

Discovery Brief

Required sections:

  • Problem Statement
  • Target Users
  • Scope Boundaries
  • Success Criteria
  • Platform Capability Assessment
  • Open Questions

Specification

Required sections:

  • Overview
  • User Stories
  • Functional Requirements
  • Non-Functional Requirements
  • API Changes
  • Data Model Changes

Design

Required sections:

  • Architecture Overview
  • Component Changes
  • API Design
  • Storage Design
  • Platform Integrations
  • Migration Plan