workflow-orchestration
自律的なCI、コードレビュー、スマートコミット、Jules連携などのプラグインを連携させ、検証からPR作成やCI失敗からの復旧といった、複雑なCI/CDパイプラインをスムーズに実行・管理するSkill。
📜 元の英語説明(参考)
Coordinates multi-step CI/CD pipelines by chaining autonomous-ci, code-review, smart-commit, and jules-integration plugins. Use when executing validation-to-PR workflows or recovering from CI failures.
🇯🇵 日本人クリエイター向け解説
自律的なCI、コードレビュー、スマートコミット、Jules連携などのプラグインを連携させ、検証からPR作成やCI失敗からの復旧といった、複雑なCI/CDパイプラインをスムーズに実行・管理するSkill。
※ jpskill.com 編集部が日本のビジネス現場向けに補足した解説です。Skill本体の挙動とは独立した参考情報です。
下記のコマンドをコピーしてターミナル(Mac/Linux)または PowerShell(Windows)に貼り付けてください。 ダウンロード → 解凍 → 配置まで全自動。
mkdir -p ~/.claude/skills && cd ~/.claude/skills && curl -L -o workflow-orchestration.zip https://jpskill.com/download/17176.zip && unzip -o workflow-orchestration.zip && rm workflow-orchestration.zip
$d = "$env:USERPROFILE\.claude\skills"; ni -Force -ItemType Directory $d | Out-Null; iwr https://jpskill.com/download/17176.zip -OutFile "$d\workflow-orchestration.zip"; Expand-Archive "$d\workflow-orchestration.zip" -DestinationPath $d -Force; ri "$d\workflow-orchestration.zip"
完了後、Claude Code を再起動 → 普通に「動画プロンプト作って」のように話しかけるだけで自動発動します。
💾 手動でダウンロードしたい(コマンドが難しい人向け)
- 1. 下の青いボタンを押して
workflow-orchestration.zipをダウンロード - 2. ZIPファイルをダブルクリックで解凍 →
workflow-orchestrationフォルダができる - 3. そのフォルダを
C:\Users\あなたの名前\.claude\skills\(Win)または~/.claude/skills/(Mac)へ移動 - 4. Claude Code を再起動
⚠️ ダウンロード・利用は自己責任でお願いします。当サイトは内容・動作・安全性について責任を負いません。
🎯 このSkillでできること
下記の説明文を読むと、このSkillがあなたに何をしてくれるかが分かります。Claudeにこの分野の依頼をすると、自動で発動します。
📦 インストール方法 (3ステップ)
- 1. 上の「ダウンロード」ボタンを押して .skill ファイルを取得
- 2. ファイル名の拡張子を .skill から .zip に変えて展開(macは自動展開可)
- 3. 展開してできたフォルダを、ホームフォルダの
.claude/skills/に置く- · macOS / Linux:
~/.claude/skills/ - · Windows:
%USERPROFILE%\.claude\skills\
- · macOS / Linux:
Claude Code を再起動すれば完了。「このSkillを使って…」と話しかけなくても、関連する依頼で自動的に呼び出されます。
詳しい使い方ガイドを見る →- 最終更新
- 2026-05-18
- 取得日時
- 2026-05-18
- 同梱ファイル
- 1
📖 Skill本文(日本語訳)
※ 原文(英語/中国語)を Gemini で日本語化したものです。Claude 自身は原文を読みます。誤訳がある場合は原文をご確認ください。
Skill: workflow-orchestration
概要
このスキルは、既存のプラグインをパイプラインに連結することで、複雑なワークフローをオーケストレーションします。 CHANGELOG.md を通じて状態を認識し、プラグイン間の操作を調整します。
使用する場面
- Pre-commit validation: コミット前に、すべての品質ゲートが通過することを確認します
- PR creation: 変更がレビューの準備ができ、PR 作成の準備ができたとき
- CI recovery: CI が失敗し、自動診断/修正が必要なとき
- Multi-step automation: 連携されたプラグイン実行を必要とするタスク
前提条件
必須プラグイン:
autonomous-ci- 検証と CI 監視code-review- 品質分析smart-commit- コミットメッセージ生成
オプションのプラグイン:
jules-integration- 非同期 PR 委譲
必要なスキル (Superpowers から):
systematic-debugging- 障害分析用verification-before-completion- 証拠に基づいた完了用
プロセス
フェーズ 1: コンテキスト収集
パイプラインを実行する前に:
# 1. 最近のコンテキストについて CHANGELOG を読みます
Read the file: CHANGELOG.md
# 保留中の作業を理解するために [Unreleased] セクションに注目します
# 2. git の状態を確認します
git status --porcelain
git log --oneline -5
# 3. 必要なプラグインが利用可能であることを確認します
claude plugin list
フェーズ 2: パイプラインの選択
タスクに基づいて適切なパイプラインを選択します。
| タスク | パイプライン | 使用されるプラグイン |
|---|---|---|
| コミット前の検証 | pre-commit |
autonomous-ci, code-review, smart-commit |
| PR 作成 | pr-create |
すべて + jules-integration |
| CI 失敗の修正 | ci-recover |
autonomous-ci + systematic-debugging |
フェーズ 3: パイプラインの実行
Pre-Commit パイプライン
Step 1: Validate
├── Run: ./tooling/scripts/local-validate.sh
├── On success: Continue
└── On failure: STOP, report issues
Step 2: Review
├── Invoke: code-review skill
├── Analyze: Security, style, performance
├── On success: Continue
└── On failure: Report issues, suggest fixes
Step 3: Commit Message
├── Invoke: smart-commit skill
├── Generate: Conventional commit message
├── On success: Present message for human approval
└── On failure: Provide manual template
PR-Create パイプライン
Step 1: Pre-Commit Pipeline
├── Execute full pre-commit pipeline
└── On failure: STOP
Step 2: Stage Changes
├── Present diff for human review
├── REQUIRE: Human approval for git commit
└── On approval: Continue
Step 3: Delegate to Jules
├── Invoke: jules-integration skill
├── Create: Jules session with PR task
├── Set: requirePlanApproval = true
└── Monitor: Session status
CI-Recover パイプライン
Step 1: Diagnose
├── Invoke: systematic-debugging skill
├── Analyze: CI failure logs
├── Identify: Root cause
└── On failure: Escalate to human
Step 2: Fix
├── Implement fix based on diagnosis
├── Follow TDD if adding code
└── On failure: Escalate with context
Step 3: Re-validate
├── Run: ./tooling/scripts/local-validate.sh
├── On success: Report recovery
├── On failure: Retry (max 3 times)
└── On max retries: Escalate
フェーズ 4: 完了
完了を主張する前に、常に検証してください:
# バリデーションを実行します
./tooling/scripts/local-validate.sh
# すべてのテストがパスすることを確認します
# (該当する場合)
# CHANGELOG.md を [Unreleased] の下で更新します
証拠とともに報告します:
## パイプライン実行の概要
| Step | Status | Evidence |
|------|--------|----------|
| Validation | ✅ | local-validate.sh がパスしました |
| Review | ✅ | 重大な問題はありません |
| Commit | ⏳ | 人間の承認を待っています |
### アーティファクト
- コミットメッセージ: `feat: add workflow orchestration`
- 変更されたファイル: 5
- 行数: +230 / -12
状態管理
オーケストレーターは、複数のソースから状態を読み取ります。
CHANGELOG.md
# 保留中の作業を抽出します
grep -A 50 "\[Unreleased\]" CHANGELOG.md
以下を提供します:
- 何が追加/変更/修正されたか
- 何が保留中か
- 最近の決定とコンテキスト
Git の状態
git status --porcelain # 作業ディレクトリの状態
git log --oneline -5 # 最近のコミット
git diff --stat # 変更の概要
CI の状態
# autonomous-ci スキル経由
./plugins/autonomous-ci/scripts/wait-for-ci.sh
エラー処理
検証の失敗
- エラー出力を解析します
- 失敗したチェックを特定します (shellcheck, markdownlint, プラグイン検証)
- 決定的な場合は自動修正を試みます
- 検証を再実行します
- 3 回試行してもまだ失敗する場合は、完全なコンテキストとともに報告します
レビューの失敗
- すべてのレビューの問題を収集します
- 重大度 (重大、警告、情報) で分類します
- 重大な問題の場合: STOP して報告します
- 警告の場合: 報告し、人間の承認を得て続行します
Jules API の失敗
- API キーの有効性を確認します
- 指数バックオフ (5 秒、15 秒、30 秒) で再試行します
- 永続的な場合は、報告し、手動での PR 作成を提案します
他のスキルとの統合
Superpowers から
| スキル | 使用する場面 |
|---|---|
systematic-debugging |
CI 失敗の診断 |
test-driven-development |
修正の記述 |
verification-before-completion |
完了を主張する前 |
brainstorming |
複雑なアーキテクチャの決定 |
このリポジトリから
| スキル | 使用する場面 |
|---|---|
autonomous-ci |
検証と監視 |
code-review |
品質分析 |
smart-commit |
コミット生成 |
jules-integration |
PR 委譲 |
working-on-ancplua-plugins |
リポジトリの規約 |
例
例 1: Pre-Commit フロー
トリガー: 開発者がコミット前に検証を要求
1. CHANGELOG.md を読みます → コンテキストを理解します
2. local-validate.sh を実行します → すべてのチェックがパスします
3. code-review を呼び出します → 重大な問題はありません
4. smart-commit を呼び出します → 生成: "feat(agent): add workflow orchestrator"
5. 概要を提示します → 人間が承認します
6. 証拠とともに完了を報告します
例 2: CI リカバリ
トリガー: CI が shellcheck で失敗
1. autonomous-ci 監視を介して障害を検出します
2. systematic-debugging を呼び出します:
- フェーズ 1: 証拠を収集します (CI ログ)
- フェーズ 2: Identi
(原文がここで切り詰められています) 📜 原文 SKILL.md(Claudeが読む英語/中国語)を展開
Skill: workflow-orchestration
Overview
This skill orchestrates complex workflows by chaining existing plugins into pipelines. It maintains state awareness through CHANGELOG.md and coordinates cross-plugin operations.
When to Use
- Pre-commit validation: Before any commit, ensure all quality gates pass
- PR creation: When changes are ready for review and PR creation
- CI recovery: When CI fails and automated diagnosis/fix is needed
- Multi-step automation: Any task requiring coordinated plugin execution
Prerequisites
Required Plugins:
autonomous-ci- Validation and CI monitoringcode-review- Quality analysissmart-commit- Commit message generation
Optional Plugins:
jules-integration- Async PR delegation
Required Skills (from Superpowers):
systematic-debugging- For failure analysisverification-before-completion- For evidence-based completion
Process
Phase 1: Context Gathering
Before executing any pipeline:
# 1. Read CHANGELOG for recent context
Read the file: CHANGELOG.md
# Focus on [Unreleased] section to understand pending work
# 2. Check git state
git status --porcelain
git log --oneline -5
# 3. Verify required plugins are available
claude plugin list
Phase 2: Pipeline Selection
Choose the appropriate pipeline based on the task:
| Task | Pipeline | Plugins Used |
|---|---|---|
| Validate before commit | pre-commit |
autonomous-ci, code-review, smart-commit |
| Create PR | pr-create |
All + jules-integration |
| Fix CI failure | ci-recover |
autonomous-ci + systematic-debugging |
Phase 3: Pipeline Execution
Pre-Commit Pipeline
Step 1: Validate
├── Run: ./tooling/scripts/local-validate.sh
├── On success: Continue
└── On failure: STOP, report issues
Step 2: Review
├── Invoke: code-review skill
├── Analyze: Security, style, performance
├── On success: Continue
└── On failure: Report issues, suggest fixes
Step 3: Commit Message
├── Invoke: smart-commit skill
├── Generate: Conventional commit message
├── On success: Present message for human approval
└── On failure: Provide manual template
PR-Create Pipeline
Step 1: Pre-Commit Pipeline
├── Execute full pre-commit pipeline
└── On failure: STOP
Step 2: Stage Changes
├── Present diff for human review
├── REQUIRE: Human approval for git commit
└── On approval: Continue
Step 3: Delegate to Jules
├── Invoke: jules-integration skill
├── Create: Jules session with PR task
├── Set: requirePlanApproval = true
└── Monitor: Session status
CI-Recover Pipeline
Step 1: Diagnose
├── Invoke: systematic-debugging skill
├── Analyze: CI failure logs
├── Identify: Root cause
└── On failure: Escalate to human
Step 2: Fix
├── Implement fix based on diagnosis
├── Follow TDD if adding code
└── On failure: Escalate with context
Step 3: Re-validate
├── Run: ./tooling/scripts/local-validate.sh
├── On success: Report recovery
├── On failure: Retry (max 3 times)
└── On max retries: Escalate
Phase 4: Completion
ALWAYS verify before claiming complete:
# Run validation
./tooling/scripts/local-validate.sh
# Check all tests pass
# (if applicable)
# Update CHANGELOG.md under [Unreleased]
Report with evidence:
## Pipeline Execution Summary
| Step | Status | Evidence |
|------|--------|----------|
| Validation | ✅ | local-validate.sh passed |
| Review | ✅ | No critical issues |
| Commit | ⏳ | Awaiting human approval |
### Artifacts
- Commit message: `feat: add workflow orchestration`
- Files changed: 5
- Lines: +230 / -12
State Management
The orchestrator reads state from multiple sources:
CHANGELOG.md
# Extract pending work
grep -A 50 "\[Unreleased\]" CHANGELOG.md
Provides:
- What's been added/changed/fixed
- What's pending
- Recent decisions and context
Git State
git status --porcelain # Working directory state
git log --oneline -5 # Recent commits
git diff --stat # Changes summary
CI State
# Via autonomous-ci skill
./plugins/autonomous-ci/scripts/wait-for-ci.sh
Error Handling
Validation Failures
- Parse error output
- Identify failing check (shellcheck, markdownlint, plugin validation)
- Attempt automatic fix if deterministic
- Re-run validation
- If still failing after 3 attempts, report with full context
Review Failures
- Collect all review issues
- Categorize by severity (critical, warning, info)
- For critical issues: STOP and report
- For warnings: Report and continue with human acknowledgment
Jules API Failures
- Check API key validity
- Retry with exponential backoff (5s, 15s, 30s)
- If persistent, report and suggest manual PR creation
Integration with Other Skills
From Superpowers
| Skill | When Used |
|---|---|
systematic-debugging |
CI failure diagnosis |
test-driven-development |
Writing fixes |
verification-before-completion |
Before claiming done |
brainstorming |
Complex architectural decisions |
From This Repo
| Skill | When Used |
|---|---|
autonomous-ci |
Validation and monitoring |
code-review |
Quality analysis |
smart-commit |
Commit generation |
jules-integration |
PR delegation |
working-on-ancplua-plugins |
Repo conventions |
Examples
Example 1: Pre-Commit Flow
Trigger: Developer requests validation before commit
1. Read CHANGELOG.md → Understand context
2. Run local-validate.sh → All checks pass
3. Invoke code-review → No critical issues
4. Invoke smart-commit → Generate: "feat(agent): add workflow orchestrator"
5. Present summary → Human approves
6. Report complete with evidence
Example 2: CI Recovery
Trigger: CI fails on shellcheck
1. Detect failure via autonomous-ci monitoring
2. Invoke systematic-debugging:
- Phase 1: Gather evidence (CI logs)
- Phase 2: Identify cause (SC2086 unquoted variable)
- Phase 3: Hypothesize fix (add quotes)
- Phase 4: Verify fix locally
3. Apply fix to script
4. Run local-validate.sh → Passes
5. Report recovery with evidence
Example 3: Full PR Pipeline
Trigger: Feature complete, ready for review
1. Execute pre-commit pipeline → All green
2. Present diff for human review
3. Human approves commit
4. Invoke jules-integration:
- Create session: "Create PR for workflow-orchestrator agent"
- Set requirePlanApproval: true
- Monitor session
5. Report PR URL when created
Maintenance Rules for Claude
- Never skip validation - Always run local-validate.sh before completion
- Always read CHANGELOG first - Context prevents duplicate work
- Chain skills, don't reinvent - Use existing plugins instead of custom logic
- Require human approval for commits - Orchestration ≠ autonomous commits
- Report with evidence - Tables with status and artifacts
- Update CHANGELOG - Every pipeline execution that changes files