ワンクリックで
execute-prp
Execute a PRP implementation, starting at Phase 0 for complex multi-phase PRPs.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Execute a PRP implementation, starting at Phase 0 for complex multi-phase PRPs.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Safely upgrade this Cortex repo to the latest template: detects on-disk state, reconciles infrastructure, and applies idempotent migrations — preserving your customizations and never overwriting your edits without asking.
Safely upgrade this Cortex workspace to the latest template: detects on-disk state, reconciles infrastructure, and applies idempotent migrations — preserving your customizations and never overwriting your edits without asking.
Maintainer auto-check for the Cortex source repo. Invoke this PROACTIVELY and automatically WHENEVER files under templates/ have been added, edited, deleted, renamed, or restructured — and before committing template changes — to classify the change as ADDITIVE (handled by the runner's reconciliation) or MIGRATION-NEEDED (breaking/structural), and scaffold a migrations/NNN-*.md if one is required. Do not wait to be asked. For use INSIDE the template source repo only; it is never shipped to user projects.
Run a full project health check across context-engineering, the knowledge base, and docs to surface gaps, drift, and inconsistencies.
Validate implementation progress of a PRP against its original requirements, auditing completed, current, and remaining phases.
Validate a generated PRP structure against its source requirements to catch gaps and misalignments before execution begins.
| name | execute-prp |
| description | Execute a PRP implementation, starting at Phase 0 for complex multi-phase PRPs. |
| argument-hint | <prp-path> |
| disable-model-invocation | true |
Execute a PRP (Project Requirement Plan). Use this for:
For continuing phased PRPs after Phase 0, use /continue-prp instead.
Check if $ARGUMENTS is:
context-engineering/PRPs/feature-name.md) → Simple PRPcontext-engineering/PRPs/FEATURE-NAME/) → Phased PRPcontext-engineering/_STATUS.md to understand current workspace contextUpdate the PRP file's status header to reflect work has started:
**Status:** In Progress
**Feature Input:** {keep existing path}
**Last Updated:** {today's date}
If the PRP has no status header (older PRP), add one at the top of the file.
If the PRP contains a "Test Cases" section:
========================================
READY FOR GUIDED TESTING
========================================
I'll walk you through {N} test cases.
For each test, I'll:
- Tell you what to do
- Validate the result after your action
- Mark pass/fail
Let's start with TC-1: {title}
========================================
Update the PRP file's status header:
**Status:** Complete
**Feature Input:** {keep existing path}
**Last Updated:** {today's date}
After successful implementation:
context-engineering/_STATUS.mdMove the feature input document:
mv context-engineering/feature-inputs/in-progress/{feature-name}.md context-engineering/archive/feature-inputs/
Update the **Feature Input:** path in the PRP status header to reflect the archive location.
After archiving, run the full /update-knowledge-base process to:
Update Knowledge Base:
_SUMMARY.md files and knowledge-base/INDEX.mdUpdate Project Documentation:
active-projects/{project}/AGENTS.md only if this work changed a durable, every-session fact: project structure, tech stack, a build/test/lint command, a new coding convention, an "always do X / never do Y" rule, or a high-level architecture/data-flow change. Litmus test: "Would a fresh agent need this in EVERY session, regardless of the task?" If no, do not touch AGENTS.md.AGENTS.md. Those belong in the PRP's own FIXES.md/COMPLETED.md and the knowledge base (gotchas/, decisions/, flows/, implementations/{project}/).What to extract:
For detailed instructions, see /update-knowledge-base.
========================================
PRP EXECUTION COMPLETE
========================================
All tasks completed and validated.
PRP status updated to: Complete
Feature input archived to: context-engineering/archive/feature-inputs/
Workspace _STATUS.md updated
========================================
This command starts Phase 0. For subsequent phases, use /continue-prp.
Read in this order:
context-engineering/_STATUS.md - Current workspace status{$ARGUMENTS}/_STATUS.md - Verify we're on Phase 0{$ARGUMENTS}/OVERVIEW.md - Full feature context{$ARGUMENTS}/phase-0-*/PLAN.md - Phase 0 tasks{$ARGUMENTS}/phase-0-*/TEST-CASES.md - Phase 0 test cases (for guided testing after implementation)/continue-prp insteadFor each task in PLAN.md:
COMPLETED.md as you workUse TodoWrite to track progress.
PLAN.md{phase}/TEST-CASES.md========================================
READY FOR GUIDED TESTING
========================================
I'll walk you through {N} test cases for Phase 0.
For each test, I'll:
- Tell you what to do
- Validate the result after your action
- Mark pass/fail
Let's start with TC-A1: {title}
========================================
_STATUS.md:
**Status:** Awaiting Testing
- Phase 0: Awaiting Testing
If guided testing was already completed in Step 4.5 and all tests passed, skip to PHASE 0 COMPLETION.
Otherwise, tell user:
========================================
PHASE 0 TASKS COMPLETE
========================================
Status: Awaiting Testing
Please test the functionality and let me know:
- If it works → say "approved" and I'll complete the handoff
- If issues → describe the problem and I'll fix it
After this phase is approved, use:
/continue-prp {$ARGUMENTS}
========================================
If user reports issues while still in the same session:
Add to phase-0-*/FIXES.md:
## Fix #1: {Issue Title}
**Reported:** {Date}
**Status:** Pending
**User Feedback:**
> {Exact quote from user}
FIXES.md with root cause, solution, code changesContinue until user approves.
When user approves Phase 0:
Fill in phase-0-*/HANDOFF.md with:
REQUIRED for EVERY phase (including Phase 0):
Run the full /update-knowledge-base process to preserve knowledge:
Update Knowledge Base:
_SUMMARY.md files and knowledge-base/INDEX.mdUpdate Project Documentation:
active-projects/{project}/AGENTS.md only if this work changed a durable, every-session fact: project structure, tech stack, a build/test/lint command, a new coding convention, an "always do X / never do Y" rule, or a high-level architecture/data-flow change. Litmus test: "Would a fresh agent need this in EVERY session, regardless of the task?" If no, do not touch AGENTS.md.AGENTS.md. Those belong in the PRP's own FIXES.md/COMPLETED.md and the knowledge base (gotchas/, decisions/, flows/, implementations/{project}/).Why every phase matters:
Skip only if: Phase was purely bug fixes with no new patterns or decisions.
For detailed instructions, see /update-knowledge-base.
Update _STATUS.md:
**Current Phase:** Phase 1 - {Phase Name}
**Status:** Not Started
## Quick Status
- Phase 0: Complete
- Phase 1: Not Started
========================================
PHASE 0 COMPLETE
========================================
Handoff: phase-0-*/HANDOFF.md
Next: Phase 1 - {Name}
You can close this context.
To continue: /continue-prp {$ARGUMENTS}
========================================
| PRP Type | Command | Purpose |
|---|---|---|
| Simple (file) | /execute-prp | Complete execution |
| Phased (folder) - Phase 0 | /execute-prp | Start Phase 0 |
| Phased (folder) - Phase 1+ | /continue-prp | Continue any phase |
/continue-prp for Phase 1+ - This command is for Phase 0 onlyCOMPLETED.md during implementationFIXES.mdAGENTS.md for project-specific safety rulesgit commit, git push, or similar commands