Plan Pipeline Validateのロゴ

Plan Pipeline Validate

コミュニティ人気
FlorianBruniaux
plan-pipeline-validate

2-layer plan validation: instant structural checks + trigger-based specialist agents. Auto-fixes issues using ADRs and first principles. Every issue must be resolved before execution.

概要

公開者FlorianBruniaux
リポジトリclaude-code-ultimate-guide
スキル名plan-pipeline-validate
スター
6K
フォーク
782
同梱ファイル
指示のみ
ライセンスCC-BY-SA-4.0
リンク
  • Markdown形式の指示

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

  • どのLLMでも利用可能

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

  • 指示だけで完結

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

  • オープンソース

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

インストール

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

1

TypingMindにインストール

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

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

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

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

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

TypingMindで使用

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

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

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

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

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

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

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

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

スキルの指示

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

/plan-pipeline:validate: 2-Layer Validation

Independently validate the plan produced by /plan-pipeline:start. No code is written. Run /clear after this command before running /plan-pipeline:execute.

Validation is separate from planning by design: validators that didn't write the plan are not anchored to its assumptions.


Prerequisite

A committed plan file must exist at docs/plans/plan-{name}.md. If multiple plans exist, list them and ask the user which to validate.


Layer 1: Structural Validation

Run immediately, no agents required. Check the plan document for:

Format & Completeness

  • All required sections present (Summary, Decisions, Architecture, Tasks, Test Plan, Out of Scope)
  • Each task has: description, files affected, acceptance criteria, layer assignment

Dependency Chain

  • No circular dependencies between tasks
  • Tasks in higher layers only depend on tasks in lower layers
  • All stated dependencies exist in the plan

File Existence

  • Every file listed for modification actually exists in the codebase (use Glob)
  • New files are in appropriate directories per project conventions

ADR Consistency

  • Plan decisions align with ADRs created during /plan-pipeline:start
  • No contradiction with existing ADRs in docs/adr/

CLAUDE.md Compliance

  • Plan respects all hard rules in CLAUDE.md
  • No first principles violations (no workarounds, no backward-compat shims)

Test Coverage

  • Every new function/component has a corresponding test task
  • TDD-marked tasks have failing test written before implementation task

Record all Layer 1 issues with severity (BLOCKER / WARNING / INFO) before proceeding to Layer 2.


Layer 2: Specialist Review

Select agents by applying trigger rules to the plan content. No user input needed; triggers are objective.

Validation agent pool:

AgentTriggerModel
security-reviewerAuth, payments, PII, RBAC, new public APIsOpus
db-migration-reviewerNew tables, columns, indexes, or migration filesOpus
performance-reviewerNew queries, resolvers, routes, or added dependenciesSonnet
design-system-reviewerNew UI components or visual styling changesSonnet
ux-reviewerNew pages, forms, modals, or interaction patternsSonnet
cross-platform-reviewerChanges touching both web and mobile, or shared packagesSonnet
native-app-reviewerMobile screens, native UI package changesSonnet
integration-reviewerNew external services, libraries, or OTEL configOpus

Spawn triggered agents in parallel (Task tool, run_in_background: true). Each agent receives: the plan file, relevant ADRs, and targeted questions based on its domain.

Monitor via Read on .claude/tasks/<id>/output.log (TaskOutput is deprecated since v2.1.83). Report progress to user.

Each agent must return structured findings:

FINDING: [BLOCKER|WARNING|INFO]
Location: [plan section or file reference]
Issue: [concrete description]
Risk: [what breaks if this isn't addressed]
Suggestion: [specific fix or alternative]

Auto-Fix Phase

Merge Layer 1 structural issues + Layer 2 specialist findings into a single issue list. Every issue must be resolved. No skipping.

Triage each issue:

Bucket A: Auto-resolve

  • Issue matches an existing ADR decision → cite ADR, mark resolved
  • Issue matches a confirmed pattern in PATTERNS.md → cite pattern, mark resolved
  • Issue resolvable from first principles in CLAUDE.md → apply rule, mark resolved

Bucket B: Needs human input

  • Novel architectural question not covered by existing decisions
  • Conflicting ADRs with no clear precedent
  • Blocker with no obvious resolution

For Bucket B items: present the issue, explain why it can't be auto-resolved, propose options, wait for decision. Record the decision in the plan's ## Decisions section and create a new ADR if it's architecturally significant.

Apply all fixes in one batch once all issues are triaged. Update the plan file. Commit the updated plan.


Issue Persistence

Record every issue in docs/plans/metrics/{name}.json under validation.issues:

json
{
  "id": "S-001",
  "layer": 1,
  "severity": "WARNING",
  "category": "test-coverage",
  "description": "No test task for the new webhook handler",
  "reporting_agent": "structural",
  "triage": "A",
  "resolution_source": "first-principles",
  "resolution": "Added test task in Layer 2 of the plan"
}

Auto-Transition

If all issues are auto-resolved (Bucket A only): auto-start /plan-pipeline:execute without asking.

If any human input was required (Bucket B): ask "All issues resolved. Ready to execute?" before proceeding.


Usage

/plan-pipeline:validate

Picks up the most recent uncommitted plan automatically. Or specify:

/plan-pipeline:validate plan-user-authentication

Output

Layer 1: Structural validation...
  ✓ Format complete
  ✓ Dependencies valid
  ⚠ WARNING S-001: Missing test task for webhook handler
  ✓ CLAUDE.md compliant

Layer 2: Triggering specialist agents...
  → security-reviewer (auth changes detected) [Opus]
  → db-migration-reviewer (new users table) [Opus]
  → performance-reviewer (new query in /api/users) [Sonnet]
  Monitoring... 1/3 complete... 2/3 complete... done.

  BLOCKER B-001 [security-reviewer]: JWT expiry not validated on refresh endpoint
  WARNING B-002 [db-migration-reviewer]: Migration lacks rollback strategy

Auto-fix phase:
  S-001 → auto-resolved (first principles: test coverage rule)
  B-001 → NEEDS INPUT (no existing ADR for JWT refresh strategy)
  B-002 → auto-resolved (ADR-0003: migration rollback pattern)

[User input requested for B-001]
Decision recorded. ADR-0011 created.

All 3 issues resolved. Plan updated.
→ Auto-starting /plan-pipeline:execute

When to Use

Always run before any /plan-pipeline:execute call. The cost of validation ($0.20-3.00) is negligible against the cost of discovering issues mid-execution.

Pipeline Position

/plan-pipeline:ceo-review    → product direction locked
/plan-pipeline:eng-review    → architecture locked
/plan-pipeline:start         → produce implementation plan
/plan-pipeline:validate      → validate before execution     ← you are here
/plan-pipeline:execute       → execute to merged PR

よくある質問

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

2-layer plan validation: instant structural checks + trigger-based specialist agents. Auto-fixes issues using ADRs and first principles. Every issue must be resolved before execution.

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

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

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

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

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

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

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

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

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

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

AIスキルとは何ですか?

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

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

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

すべて見る

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

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