Skip to content
Back to skills

Plan Quality Gates

ASecurity

Use when writing plans, roadmaps, or phased work to enforce quality gates — prevents fabricated timelines, ensures dependency ordering, and requires exit criteria.

  • 8 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added October 6, 2026
ai-agentspythonbashapidocumentation

Works with

  • api

Security analysis

A100/100

Scanned October 6, 2026

npx -y skills add bordenet/superpowers-plus --skill plan-quality-gates --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Plan Quality Gates?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Plan Quality Gates
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/bordenet-plan-quality-gates/badge)](https://www.skillsdirectory.com/skills/bordenet-plan-quality-gates)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: plan-quality-gates
disable-model-invocation: true
source: superpowers-plus
triggers: ["write plan", "create plan", "design plan", "roadmap", "phased plan", "write roadmap", "project plan"]
anti_triggers: ["execute plan", "run the plan", "implement this plan", "implementation plan", "plan and execute", "phased execution"]
description: Use when writing plans, roadmaps, or phased work to enforce quality gates — prevents fabricated timelines, ensures dependency ordering, and requires exit criteria.
summary: "Use when: writing plans or roadmaps. Prevents fabricated timelines."
coordination:
  group: writing
  order: 2
  requires: []
  enables: []
  escalates_to: []
  internal: false
composition:
  consumes: [phased-plan]
  produces: [plan-validation-report]
  capabilities: [validates-completeness, gates-quality]
  priority: 30
---

# Plan Quality Gates

> **Last Updated:** 2026-03-20
> **Fires alongside:** `superpowers:plan-and-execute` — this skill is ADDITIVE, not a replacement. Also relevant during brainstorming when plan/roadmap topics arise (load manually if needed).
>
> **Wrong skill?** Executing a plan → `plan-and-execute`. Feature design → `brainstorming` or `debate`. Writing documentation → `readme-authoring`.
> **See also:** [detecting-ai-slop reference](../detecting-ai-slop/reference.md) § Fabricated Calendar Timelines

## Purpose

Enforce quality constraints on plans at creation time. The upstream `plan-and-execute` skill handles plan structure. This skill prevents specific failure modes (fabricated timelines, missing exit criteria) that other skills do not guard against.

**Announce at start:** "Using plan-quality-gates to enforce timeline and exit-criteria discipline."

---

## ⛔ Rule 1: No Fabricated Timelines

**NEVER assign calendar periods to plan phases without actual capacity data.**

You have zero information about:

- Team size or availability
- Sprint velocity or cadence
- Competing priorities or deadlines
- Holidays, PTO, or external dependencies
- How long any specific task actually takes

Therefore you CANNOT write any of the following:

| Forbidden Pattern | Example |
|-------------------|---------|
| Phase + calendar period | "Phase 2: Foundation (Weeks 1-2)" |
| Sprint numbering | "Sprint 1: schema extraction" |
| Quarter/month targets | "Target: Q3 2026" |
| Week-numbered milestones | "By Week 3, we should have..." |
| Aggregate duration | "Timeline: 4-6 weeks" |
| Day estimates for phases | "Phase 1 (Days 1-3)" |

**If the user provides capacity data** (team size, sprint length, velocity), you MAY use it. Otherwise, any calendar-based phasing is fabrication.

### What to Use Instead

**Dependency ordering + exit criteria.** Each phase states:

1. What it depends on (preconditions)
2. What "done" means (exit criterion)

### ❌ WRONG (actual incident, 2026-03-20)

```text
Phase 1: Discovery (Week 1)
Phase 2: Foundation (Weeks 1-2)
Phase 3: Validation (Weeks 3-4)
Phase 4: Optimization (Week 5)
```

### ✅ RIGHT

```python
Phase 1: Build schema knowledge base
  Depends on: nothing
  Exit: ≥9 table docs with business semantics committed

Phase 2: Wire named connections
  Depends on: Phase 1 (need schema understanding to choose connection names)
  Exit: the service reads from named connections, tests pass

Phase 3: Validate data flow
  Depends on: Phase 2
  Exit: integration test confirms read path works end-to-end

Phase 4: Cut over production queries
  Depends on: Phase 3
  Exit: old connection strings removed, monitoring confirms no regressions
```

---

## ⛔ Rule 2: No Empty Duration Estimates

**If you don't know how long something takes, say "unknown" — don't invent numbers.**

| Forbidden | Acceptable |
|-----------|------------|
| "This should take 2-3 days" | "Duration: unknown without team input" |
| "Estimate: 1 sprint" | "Estimate: requires sizing by the team" |
| "Quick win — 1 hour" | "Likely small scope — team to confirm" |

**Exception:** If the user explicitly asks for rough estimates and accepts they're guesses, you MAY provide them with a clear disclaimer: "⚠️ These are rough guesses, not commitments."

---

## ✅ Rule 3: Dependency Ordering

Every phase in a plan MUST state its dependencies explicitly:

- `Depends on: nothing` (can start immediately)
- `Depends on: Phase N` (sequential dependency)
- `Depends on: Phase N + external approval` (blocked dependency)

If two phases have no dependency relationship, note they can run in parallel.

---

## ✅ Rule 4: Exit Criteria

Every phase or task MUST have a concrete "done means" statement:

- ❌ "Complete the migration" (vague)
- ✅ "Exit: all queries use named connections, zero references to legacy connection strings in codebase"

Exit criteria must be **verifiable** — someone can check whether they're true without asking the author what they meant.

---

## Self-Check

Before finalizing any plan, verify:

- [ ] Zero calendar-based phase labels (Weeks, Sprints, Months, Quarters)
- [ ] Zero fabricated duration estimates
- [ ] Every phase has explicit `Depends on:` statement
- [ ] Every phase has explicit `Exit:` criterion
- [ ] Exit criteria are verifiable (not "complete X" — what does complete mean?)

If any check fails, fix the plan before presenting it.

---

## Scoring (for `detecting-ai-slop` integration)

These patterns in plan output indicate this skill was not followed:

| Pattern | Score | Severity |
|---------|-------|----------|
| Phase + calendar period | +8 | Fabrication |
| Duration estimate without basis | +5 | Fabrication |
| Missing exit criteria | +3 | Incomplete |
| Missing dependency statement | +3 | Incomplete |

## Companion Skills

- **plan-and-execute**: Executing plans (this skill validates them)
- **brainstorming**: Generating plan options
- `plan-and-execute`: Plan writing standards

## When to Use

- When writing plans, roadmaps, or any phased work
- Automatically co-activated with `plan-and-execute` skill
- When reviewing existing plans for quality and completeness

## Example

```bash
# Validate plan quality before execution
echo "Checklist:"
echo "  [ ] Every step has success criteria"
echo "  [ ] Rollback plan documented"
echo "  [ ] Dependencies identified"
echo "  [ ] No fabricated timelines (capacity data required for any time estimate)"
```

## Failure Modes

| Failure | Fix |
|---------|-----|
| Calendar-disguised phase labels: "Phase 1: Quick Win" implies short duration | Audit for duration-implying words: "quick," "short," "rapid," "brief" |
| Circular exit criteria: "Phase 2 exit: Phase 2 is complete" | Exit criteria must be independently verifiable — "what can someone check?" |
| Parallel phases listed sequentially, implying false dependency chain | Explicitly mark phases that can run in parallel |
| Plan presented without checking all rules | Run the Self-Check (all 5 boxes) before presenting to user |

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…