Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

blueprint-prp-execute

БесплатноБез исполняемых скриптовНе проверен

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…

laurigatesот laurigates★ 61 звезда на GitHub

Об этом скилле

/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:

  • PRP exists in docs/prps/[prp-name].md
  • Confidence score >= 7 (if lower, suggest /blueprint:prp-create refinement)

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

  • PRP file path: !find . -maxdepth 3 -path "./docs/prps/${1:-unknown}.md"
  • PRP confidence score: !find . -path '*/docs/prps/*' -maxdepth 3 -name "${1:-unknown}.md" -exec grep -m1 "^confidence:" {} +
  • Feature tracker enabled: !find . -path '*/docs/blueprint/*' -maxdepth 3 -name 'feature-tracker.json' -type f
  • Current branch: !git rev-parse --abbrev-ref HEAD
  • Uncommitted changes: !git status --porcelain

Parameters

Parse $ARGUMENTS:

  • prp-name (required): Name of PRP file in docs/prps/ (without .md extension)
    • Example: feature-auth-oauth2 → loads docs/prps/feature-auth-oauth2.md

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.
    • {"ok": true} → continue
    • {"ok": false, "reason": ...} → stop before any execution or delegation, print the reason, and suggest /blueprint:prp-create {prp-name} to refine the PRP
  5. If confidence >= 9 → Offer delegation: "This PRP has high confidence. Execute now (current session) or create work-order for delegation?"
    • If work-order chosen → Run /blueprint:work-order --from-prp {prp-name} and exit
    • If delegation to multiple subagents chosen → Create focused work-orders per module from Implementation Blueprint and exit
  6. Continue to Step 2 if executing now OR confidence 7-8
  7. Load all referenced curated rule entries (.claude/rules/) for context
  8. 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:

  • Document existing issues
  • Decide: fix first or proceed with note
  • Continue when ready

Step 3: Execute TDD implementation cycle

For each task in Implementation Blueprint:

  1. RED phase: Write failing test matching PRP TDD Requirements

    • Create test file if needed
    • Run tests → Confirm FAILURE (test is meaningful)
  2. GREEN phase: Implement minimal code to pass test

    • Follow Codebase Intelligence patterns from PRP
    • Apply patterns from curated rule references
    • Watch for Known Gotchas
    • Run tests → Confirm SUCCESS
  3. REFACTOR phase: Improve code while keeping tests green

    • Extract common patterns
    • Improve naming, add type hints
    • Follow project conventions
    • Stay inside the task's files and the PRP task list. A pre-existing bug or 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.
    • Run tests → Confirm PASS
    • Run validation gates frequently (not just at end)
  4. Mark progress: once the task's tests pass,

Полный SKILL.md на GitHub

Установить blueprint-prp-execute в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Read
Write
Edit
Glob
Bash(find *)
Bash(git rev-parse *)
Bash(git status *)
Bash(head *)
Bash(grep *)
Bash(sed *)
Bash(ls *)
Bash(gh issue create *)
Task
AskUserQuestion

Вложенные файлы

REFERENCE.md

FAQ

Что делает скилл blueprint-prp-execute?

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.

Как установить скилл blueprint-prp-execute?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл blueprint-prp-execute запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить blueprint-prp-execute с