piv-init
Initialize a project for PIV workflow - creates PRDs/, PRPs/, PRPs/templates/ directories and copies default PRP template.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Initialize a project for PIV workflow - creates PRDs/, PRPs/, PRPs/templates/ directories and copies default PRP template.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
PIV workflow orchestrator - Plan, Implement, Validate loop for systematic multi-phase software development. Use when building features phase-by-phase with PRPs, running automated validation, or orchestrating multi-agent development workflows. Triggers on: PIV, PRP, PRD, plan-implement-validate, multi-phase development, orchestrate workflow.
PIV workflow orchestrator - Plan, Implement, Validate loop for systematic multi-phase software development. Use when building features phase-by-phase with PRPs, automated validation loops, or multi-agent orchestration. Supports PRD creation, PRP generation, codebase analysis, and iterative execution with validation.
Lightweight PIV workflow - discovery-driven feature builder. No PRD needed. Asks 5 quick questions, generates PRP from answers, then executes the full validate/debug loop. Use for small-to-medium features, quick builds, or when you want to skip PRD ceremony.
Lightweight PIV workflow - discovery-driven feature builder. No PRD needed. Asks quick questions, generates PRP, executes with validation loop. For small-to-medium features when you want to skip PRD ceremony.
| name | piv-init |
| description | Initialize a project for PIV workflow - creates PRDs/, PRPs/, PRPs/templates/ directories and copies default PRP template. |
| disable-model-invocation | true |
| argument-hint | [PROJECT_PATH] |
Parse arguments:
PROJECT_PATH = $ARGUMENTS[0] or current working directory
Initialize the current project for the PIV (Plan-Implement-Validate) workflow by creating the required directory structure and copying default templates.
mkdir -p PROJECT_PATH/PRDs
mkdir -p PROJECT_PATH/PRPs/templates
mkdir -p PROJECT_PATH/PRPs/planning
Check if PROJECT_PATH/PRPs/templates/prp_base.md already exists:
assets/prp_base.md (relative to this skill) and write it to PROJECT_PATH/PRPs/templates/prp_base.md.Check if PROJECT_PATH/WORKFLOW.md already exists:
assets/workflow-template.md (relative to this skill's parent piv/ directory) and write it to PROJECT_PATH/WORKFLOW.md. Replace [PROJECT_NAME] with the directory name and [DATE] with today's date.Output:
## PIV Init Complete
Project: PROJECT_PATH
Created:
- PRDs/ (Product Requirements Documents)
- PRPs/ (Project Requirement Plans)
- PRPs/templates/ (PRP templates)
- PRPs/planning/ (Codebase analysis outputs)
- WORKFLOW.md (Phase tracking)
Next steps:
1. Create a PRD: /piv-workflow:piv with a PRD path, or create one manually in PRDs/
2. Run full PIV: /piv-workflow:piv [PRD_PATH]
3. Run quick PIV: /piv-workflow:mini-piv [feature-name]