Issue Pipelineのロゴ

Issue Pipeline

コミュニティ
fagemx
issue-pipeline

Issue対応を計画→実装→レビュー→マージまで一貫して進めます。worktreeで分離したサブエージェントを並列で実行します。使用方法:/issue-pipeline 33 34 35 [--skip-plan] [--skip-review] [--no-merge]

Add to TypingMind

概要

公開者fagemx
リポジトリgstack-game
スキル名issue-pipeline
スター
81
フォーク
10
同梱ファイル
指示のみ
ライセンスMIT
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 指示だけで完結

    モデルに必要なものはすべて指示に含まれているため、別途同期するファイルはありません。

  • オープンソース

    fagemxがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキル「Issue Pipeline」をTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/fagemx/gstack-game/tree/main/.claude/skills/issue-pipeline
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/fagemx/gstack-game.git /tmp/gstack-game
mkdir -p .claude/skills
cp -r /tmp/gstack-game/.claude/skills/issue-pipeline .claude/skills/issue-pipeline
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでIssue Pipelineを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあるとすぐに、モデルが自動的にIssue Pipelineを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Issue Pipelineは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、スキルを使わない間は指示の読み込みにトークンを消費しません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

/issue-pipeline: End-to-End Issue Pipeline

You orchestrate the full lifecycle of GitHub issues through parallel sub-agents. Each phase runs all issues concurrently in isolated worktrees.

Arguments

Parse $ARGUMENTS to get issue numbers and flags.

Examples:

  • /issue-pipeline 33 34 35 — full pipeline (plan → implement → review → merge)
  • /issue-pipeline 33 34 --skip-plan — issues already have plans, skip to implement
  • /issue-pipeline 33 34 --skip-review --no-merge — implement only, no review or merge
  • /issue-pipeline 33 — single issue, full pipeline

If no issue numbers provided, ask: "Which issues? Provide issue numbers separated by spaces."

Flags:

  • --skip-plan — Skip plan phase (issues already have planned label + plan comments)
  • --skip-review — Skip review phase, merge after implement
  • --no-merge — Stop after review, don't auto-merge
  • --dry-run — Show what would happen without executing

Pre-Flight Check

Before starting, verify all issues exist and check their state:

bash
for num in {issue_numbers}; do
  gh issue view $num --json number,title,labels,state --jq '"\(.number) [\(.labels | map(.name) | join(","))] \(.state) — \(.title)"'
done

Report findings:

  • Issues with planned label → can skip plan phase
  • Closed issues → skip entirely with warning
  • Issues without planned label → need plan phase

Pipeline Phases

Phase 1: Plan (parallel)

Skip if: --skip-plan flag OR issue already has planned label.

For each issue needing a plan, launch a sub-agent:

Agent tool parameters:
  description: "Plan issue #{number}"
  isolation: "worktree"
  run_in_background: true
  prompt: |
    You are working on GitHub issue #{number} for gstack-game at {repo_root}.

    Execute the /issue-plan workflow:
    1. Read the skill at {repo_root}/.claude/skills/issue-plan/SKILL.md
    2. Follow its instructions for issue #{number}

    This means: Research → Innovate → Plan, posting all 3 phases to the issue.

    IMPORTANT:
    - You are in a worktree — do NOT modify source code, planning only
    - Post all findings to the GitHub issue as comments
    - Add the "planned" label when done

Wait for ALL plan agents to complete. Report status table.

Phase 2: Implement (parallel)

For each issue with a plan, launch a sub-agent:

Agent tool parameters:
  description: "Implement issue #{number}"
  isolation: "worktree"
  run_in_background: true
  prompt: |
    You are implementing GitHub issue #{number} for gstack-game at {repo_root}.

    Execute the /issue-action workflow:
    1. Read the plan from the issue comments: `gh issue view {number} --json comments`
    2. Also check for local artifacts: `.tmp/deep-dive/issue-{number}/plan.md`
    3. Read the skill at {repo_root}/.claude/skills/issue-action/SKILL.md
    4. Follow its instructions for issue #{number}

    IMPORTANT:
    - You are in a worktree — create a feature branch, make changes, commit
    - Edit .tmpl files, never generated .md directly
    - Run `bun run build` after template changes
    - Run `bun test` — all tests must pass before creating PR
    - Create a PR with `gh pr create` — include "Closes #{number}" in the body
    - Do NOT merge the PR

Wait for ALL implement agents to complete. Collect PR URLs/numbers. Report status table.

Phase 3: Review (parallel)

Skip if: --skip-review flag.

For each PR created in Phase 2, launch a sub-agent:

Agent tool parameters:
  description: "Review PR #{pr_number}"
  isolation: "worktree"
  run_in_background: true
  prompt: |
    You are reviewing PR #{pr_number} for gstack-game at {repo_root}.

    Execute the /pr-review-loop workflow:
    1. Read the skill at {repo_root}/.claude/skills/pr-review-loop/SKILL.md
    2. Follow its instructions for PR #{pr_number}

    IMPORTANT:
    - You are in a worktree
    - If fixes are needed, check out the PR branch, fix, commit, and push
    - The review loop continues until LGTM or max 3 iterations

Wait for ALL review agents to complete. Report verdicts.

Phase 4: Merge

Skip if: --no-merge flag.

For each PR with LGTM verdict:

bash
gh pr merge {pr_number} --merge --delete-branch

For PRs without LGTM: report them as needing manual review.

After all merges, sync main:

bash
git checkout main && git pull

Report final status table.

Execution Rules

  1. All sub-agents use isolation: "worktree" — never work on main directly
  2. All sub-agents use run_in_background: true — maximize parallelism
  3. Launch ALL agents for a phase in a SINGLE message (one Agent tool call per issue, all in parallel)
  4. Wait for ALL agents in a phase before starting the next phase
  5. Report a status table after each phase — issue number, status, key details
  6. If any agent fails, report it but continue with the rest — don't block the pipeline
  7. Between phases, sync main — git checkout main && git pull to pick up merged changes

gstack-game Specific Rules

  • Template workflow: Agents edit .tmpl files, run bun run build to regenerate .md, run bun test (14 tests)
  • Preamble changes: If an issue changes skills/shared/preamble-*.md, ALL 28 SKILL.md files are regenerated
  • Commit style: Conventional Commits (feat: / fix: / test: / docs:)
  • PR merges use --merge (not squash) to preserve commit history

Status Table Format

After each phase:

| Issue | Phase     | Status | Details |
|-------|-----------|--------|---------|
| #33   | plan      | ✅     | Plan posted to issue |
| #34   | plan      | ⏭️     | Already planned |
| #35   | implement | ✅     | PR #38 created |
| #36   | implement | ❌     | bun test failed |

After merge:

| Issue | PR  | Plan | Implement | Review | Merge | Result |
|-------|-----|------|-----------|--------|-------|--------|
| #33   | #38 | ✅   | ✅        | ✅     | ✅    | DONE   |
| #34   | #39 | ⏭️   | ✅        | ✅     | ✅    | DONE   |
| #35   | #40 | ✅   | ✅        | ⚠️     | ❌    | NEEDS REVIEW |

Error Handling

  • Agent fails: Mark as ❌, continue with other issues. Report at end.
  • PR creation fails: Try to identify branch, suggest manual fix.
  • Review finds issues: pr-review-loop handles fix + re-review automatically (max 3 rounds).
  • Merge conflict: Report conflict, skip merge for that PR, suggest manual resolution.
  • bun test fails: Agent should NOT create PR. Report test failures.

Anti-Sycophancy

  • ❌ "All issues completed successfully!" (unless they actually all did)
  • ❌ "Easy batch!" (some issues may have unexpected complexity)
  • ✅ Report exact counts: "4/5 issues completed. #36 failed at implement phase: bun test returned 2 failures."
  • ✅ If all agents fail, say so plainly: "0/3 issues completed. All agents encountered errors."

よくある質問

AIスキル「Issue Pipeline」では何ができますか?

Issue対応を計画→実装→レビュー→マージまで一貫して進めます。worktreeで分離したサブエージェントを並列で実行します。使用方法:/issue-pipeline 33 34 35 [--skip-plan] [--skip-review] [--no-merge]

TypingMindでIssue Pipelineを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Issue Pipelineはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにIssue Pipelineをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/fagemx/gstack-game/tree/main/.claude/skills/issue-pipelineを貼り付けてください。TypingMindがSKILL.mdを読み込み、チャットごとに有効にできるスキルとしてインストールします。

Issue Pipelineを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストの内容がこのスキルの用途に合ったときに、このスキルを読み込めます。

Issue Pipelineで使えるAIモデルの数に制限はありますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもIssue Pipelineを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Issue Pipeline」は無料ですか?

はい。fagemxがMITライセンスのもとでGitHubに公開しています。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇