Blueprint prp execute

From laurigates/claude-plugins · View interactive version

Blueprint prp execute is an AI agent skill from the GitHub repository laurigates/claude-plugins. Execute a PRP with validation loop, TDD, and quality gates. Use when asked to execute a PRP, run a planned feature from docs/prps/, or delegate a PRP to subagents.

How to use this skill

Skill file

/blueprint:prp-execute

Execute a PRP (Product Requirement Prompt) with systematic implementation, validation gates, TDD workflow, and quality assurance.

Usage: /blueprint:prp-execute [prp-name]

Prerequisites:

For detailed report templates, deferred items workflow, feature tracker sync, and error handling patterns, see REFERENCE.md.

When to Use This Skill

| Use this skill when... | Use alternative when... |

|------------------------|-------------------------|

| Ready to implement a planned feature from a PRP | PRP is not yet ready (confidence < 7) |

| Want to execute with full validation and TDD workflow | Implementing ad-hoc features without documentation |

| Need feature tracker and GitHub issue tracking | Working on isolated bug fixes |

| Want automatic progress reporting and deferred items tracking | Quick prototyping without formal tracking |

Context

Parameters

Parse $ARGUMENTS:

Execution

Execute the complete PRP implementation workflow:

Step 1: Load and validate PRP

  1. Read PRP file: docs/prps/{prp-name}.md
  2. Extract confidence score from frontmatter
  3. If confidence < 7 → Error: "PRP confidence too low. Run /blueprint:prp-create {prp-name} to refine"
  4. Check content quality with a fresh reader (issue #3002). The confidence score and the structural hook (check-prp-readiness.sh) do not judge whether the content can be implemented, and the agent about to execute the PRP has a stake in calling it ready (.claude/rules/loop-integrity.md Pillar 1). Dispatch one Task agent (subagent_type: general-purpose) and give it only the PRP file path and the reader prompt in REFERENCE.md: no session context, no plan. It judges specific requirements, testable acceptance criteria, edge cases, and bounded scope, and returns a JSON verdict.
  1. If confidence >= 9 → Offer delegation: "This PRP has high confidence. Execute now (current session) or create work-order for delegation?"
  1. Continue to Step 2 if executing now OR confidence 7-8
  2. Load all referenced curated rule entries (.claude/rules/) for context
  3. Parse the Implementation Blueprint into an ordered task checklist (dependencies first); track it with TodoWrite when the session has the task tools, otherwise carry it as a checklist in the response (see .claude/rules/agentic-permissions.md § Task-tool availability)

Step 2: Establish baseline with validation gates

Run pre-implementation validation gates (see REFERENCE.md) to establish clean starting state:

  1. Linting gate: [command from PRP] - Expected: PASS
  2. Existing tests gate: [command from PRP] - Expected: PASS

If gates fail:

Step 3: Execute TDD implementation cycle

For each task in Implementation Blueprint:

  1. RED phase: Write failing test matching PRP TDD Requirements
  1. GREEN phase: Implement minimal code to pass test
  1. REFACTOR phase: Improve code while keeping tests green

unrelated cleanup you notice is not part of this change — record it as a

deferred item in Step 5 (a GitHub issue if it is Blocked or Phase 2,

otherwise Nice-to-Have). Do not commit scratch or exploratory tests.

  1. Mark progress: once the task's tests pass, tick Task N in the checklist

from Step 1 (via TodoWrite when the task tools are present).

Step 4: Run comprehensive final validation

Execute all validation gates from PRP (see REFERENCE.md):

Verify each success criterion from PRP.

Step 5: Document deferred items

Identify and track any deferred work:

  1. Review Implementation Blueprint - items not completed
  2. Categorize each deferred item:
  1. Create GitHub issues for all Phase 2 and Blocked items (see REFERENCE.md)
  2. Update PRP with deferred items section linking to GitHub issues
  3. Do NOT proceed to Step 6 until all required issues are created

Step 6: Sync feature tracker (if enabled)

If feature tracker exists (docs/blueprint/feature-tracker.json):

  1. Identify which feature codes (e.g., FR2.1) were addressed from PRP
  2. Update feature tracker for each code:
  1. Recalculate statistics: completion percentages, phase status
  2. Update TODO.md: Check boxes for completed features
  3. Report feature tracker changes

Step 7: Report results and next steps

Generate comprehensive execution summary report:

Prompt user for next action:

Agentic Optimizations

| Context | Command |

|---------|---------|

| Check PRP exists | test -f docs/prps/${1}.md && echo "EXISTS" \|\| echo "MISSING" |

| Extract confidence | head -50 docs/prps/${1}.md \| grep -m1 "^confidence:" \| sed 's/^[^:]*:[[:space:]]*//' |

| List all PRPs | ls docs/prps/*.md 2>/dev/null \| xargs basename -s .md |

| Check feature tracker | test -f docs/blueprint/feature-tracker.json && echo "YES" \|\| echo "NO" |

| Fast validation | Run validation gates in parallel when possible |


For detailed validation gate definitions, deferred items workflow, error handling procedures, and agent team coordination, see REFERENCE.md.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.