본문으로 건너뛰기
cccskills
무료GitHub에 공개

pipeline

Invoke and resume YAML-defined pipelines by name — /pipeline auto-dev runs the full release pipeline

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

설치 방법 보기

포함된 파일(3)

  • SKILL.md3.4 KB
  • labels.md2.3 KB
  • workflows/auto-dev.yaml16.1 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

/pipeline — Pipeline Invocation

Usage

/pipeline auto-dev          # Run the auto-dev pipeline
/pipeline                   # List available pipelines
/pipeline resume            # Resume a halted pipeline

Behavior

List Mode (no arguments or --list flag)

Execute these steps to display available pipelines:

  1. Scan built-in pipelines: Use Glob("workflows/*.yaml") (NOT templates/) to find all pipeline definitions
  2. Extract metadata: For each YAML file found, use Bash to extract name and description:
    for f in workflows/*.yaml; do
      name=$(grep -m1 '^name:' "$f" | sed 's/^name: *//' | tr -d '"')
      desc=$(grep -m1 '^description:' "$f" | sed 's/^description: *//' | tr -d '"')
      echo "  $name — $desc"
    done
    
  3. Scan template pipelines: Use Glob("templates/workflows/*.yaml") for template examples
  4. Display formatted output:
    Available pipelines:
      {name} — {description}
      {name} — {description}
    
    Template pipelines (in templates/workflows/):
      {name} — {description}
    
  5. If no pipelines found, display: "No pipelines found in workflows/ directory."
  6. If YAML parsing fails for a file, skip it and show: {filename} — (parse error, skipped)

Run Mode (with pipeline name)

  1. Validate pipeline exists: workflows/{name}.yaml
  2. Load and validate YAML structure:
    • Required fields: name, description, steps[]
    • Each step has either skill: or prompt: (not both)
    • Referenced skills exist in .claude/skills/
    • Skill names must match ^[a-z0-9-]+$ (kebab-case only) — reject path traversal attempts
  3. Announce: [Pipeline] Starting {name} — {step_count} steps
  4. Execute steps top-to-bottom:
    • Skill steps (skill: name): Invoke via Skill tool — Skill(skill: "{name}")
    • Prompt steps (prompt: text): Execute the described action using appropriate agents/tools
    • Foreach steps (foreach: collection): Iterate over collection from previous step output
  5. Report completion or failure

Resume Mode (/pipeline resume)

  1. Scan /tmp/.claude-pipeline-*-{PPID}.json for state files
  2. If none found: "No halted pipelines found."
  3. If found: display pipeline name, failed step, error message
  4. Options:
    • Retry — Re-execute the failed step
    • Skip — Mark failed step as skipped, continue to next
    • Abort — Delete state file, cancel pipeline
  5. On resume: execute from the failed step

State Tracking

Track per-step state:

{
  "pipeline": "{name}",
  "started": "ISO-8601",
  "status": "running|completed|halted",
  "current_step": 0,
  "steps": [
    {"name": "triage", "status": "completed", "duration_ms": 5000},
    {"name": "plan", "status": "running"}
  ]
}

State saved to /tmp/.claude-pipeline-{name}-{PPID}.json on failure.

Error Handling

  • Pipeline not found → list available pipelines with suggestion
  • YAML parse error → report with line number
  • Step failure (error: halt-and-report) → stop execution, save state, report failure with context
  • All file writes delegated to subagents per R010

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

Pre-action boundary checking — validates agent tool calls against declared capabilities and task contracts

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

baekenough/second-brain152026년 10월 8일 업데이트

Auto-detect project context and optimize harness — deactivate unused agents/skills, suggest missing experts, generate project profile

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

baekenough/second-brain152026년 10월 8일 업데이트

Adversarial code review using attacker mindset — trust boundary, attack surface, business logic, and defense evaluation

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

baekenough/second-brain152026년 10월 8일 업데이트

Apache Airflow best practices for DAG authoring, testing, and production deployment

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

baekenough/second-brain152026년 10월 8일 업데이트

Alembic migration patterns for naming conventions, safety checks, expand-contract, env.py configuration, and CI integration

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

baekenough/second-brain152026년 10월 8일 업데이트

Pre-routing ambiguity analysis — scores request clarity and asks clarifying questions when needed (inspired by ouroboros)

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

baekenough/second-brain152026년 10월 8일 업데이트

baekenough의 스킬 모두 보기

이 스킬의 문제 신고