원클릭으로
pwrl-review-scope
Validate that reviewed code matches requirements and detects scope creep.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Validate that reviewed code matches requirements and detects scope creep.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Extract, classify, deduplicate, structure, and save learnings from code, commits, tasks, and documentation
Create structured implementation plans with three tiers (Fast/Standard/Deep). Pure skill pipeline orchestrator—no agent routing.
Review code changes through 4-phase micro-skill pipeline (scope, prepare, analyze, report)
Execute implementation work efficiently through 4-phase micro-skill pipeline
Verify repository state and confirm session completion before committing.
Create a clear session commit with state and next steps. Orchestrates checkpoint and commit micro-skills, optionally chains to pwrl-learnings.
| name | pwrl-review-scope |
| description | Validate that reviewed code matches requirements and detects scope creep. |
| argument-hint | [branch name, unit ID, or PR number] |
Purpose: Entry point to the review workflow. Validates that reviewed code matches the original requirements and detects scope creep (unrelated changes).
ask_user_question extension for all user-facing decisions.After completing the workflow, produce a scope artifact. See artifact-schemas.md for the complete schema.
The artifact must include the user's chosen interaction mode:
scope_id: YYYY-MM-DD-NNN-scope
unit_id: [from task or plan]
branch_name: [git branch under review]
interactionMode: detailed | smart | yolo
This artifact is passed to pwrl-review-prepare (next phase).
Ask the user to choose their engagement level for this review. Use the platform's ask_user_question extension (or equivalent) to present the following three options:
Question: "How would you like to proceed with this review?"
Options:
Store the selection in the scope artifact (replacing the placeholder in the schema above):
interactionMode: detailed | smart | yolo
Cross-phase propagation: The interactionMode value flows into pwrl-review-prepare, pwrl-review-analyze, pwrl-review-report, and pwrl-review-sync-status artifacts. Each downstream phase reads the value and adjusts its confirmation behavior:
Future refinement: In Yolo mode, pwrl-review-report should auto-approve the review unless CRITICAL issues are found (currently it always asks). This behavior change is out of scope for plan 2026-06-29-001; see docs/learnings/pattern/interaction-mode-three-mode-propagation-2026-06-29.md §"Future Refinements".
For each modified file, ask: "Is this file required (directly implements requirement), supporting (enables it), or unrelated?"
Red flags for unrelated:
Determine scope status:
| Verdict | Condition | Action |
|---|---|---|
| on-target | All required files changed; no unrelated changes | Proceed with confidence |
| justified | Unrelated changes but necessary (bugfix, import) | Document reason; proceed with note |
| creep-detected | Multiple unrelated changes not explained | Flag severity; ask user for clarification |
Severity levels (if creep):
Display analysis:
════════════════════════════════════════════════════
SCOPE VALIDATION ANALYSIS
════════════════════════════════════════════════════
Unit: [Unit ID or description]
Requirements: [1-2 line summary]
Required Files: 3 files
Supporting Files: 2 files
Questioned Files: 1 file
Verdict: [on-target/justified/creep-detected]
Confidence: [90%]
════════════════════════════════════════════════════
Ask user: "Does this scope look correct? Approve to proceed with analysis."
user_approval: true, generate artifact, doneEmit the scope artifact (YAML + markdown) to be consumed by pwrl-review-prepare.
See error-and-testing.md for comprehensive error recovery strategies, prevention tactics, and test coverage expectations for this phase.
Edge Cases:
Output Validation Tests: