Plan Pipeline Validate logo

Plan Pipeline Validate

CommunityPopular
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.

Overview

PublisherFlorianBruniaux
Repositoryclaude-code-ultimate-guide
Skill nameplan-pipeline-validate
Stars
6K
Forks
782
Bundled files
Instructions only
LicenseCC-BY-SA-4.0
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by FlorianBruniaux on GitHub. Read the source before you install it.

Installation

Install the Plan Pipeline Validate AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

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
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Plan Pipeline Validate in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Plan Pipeline Validate on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Plan Pipeline Validate is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

/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

Frequently asked questions

What does the Plan Pipeline Validate AI skill do?

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.

Why use Plan Pipeline Validate on TypingMind?

Because you install it once and use it with any model. Plan Pipeline Validate is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Plan Pipeline Validate in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/FlorianBruniaux/claude-code-ultimate-guide/tree/main/examples/skills/plan-pipeline/validate. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Plan Pipeline Validate?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Plan Pipeline Validate?

As many as you like. As long as a model supports skills, you can use Plan Pipeline Validate with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Plan Pipeline Validate AI skill free?

Yes. It is published on GitHub by FlorianBruniaux under the CC-BY-SA-4.0 license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇