一键导入
refine-pr-document
Updates an existing product requirement document based on user feedback. Triggered by: nvst refine requirement.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Updates an existing product requirement document based on user feedback. Triggered by: nvst refine requirement.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Drive interactive approval of the prototype by updating project context and roadmap artifacts after a completed iteration.
Validate the current iteration's PRD against the implemented code via the audit prototype skill.
Gathers the requirement from the user and produces it_{iteration}_product-requirement-document.md. Triggered by: nvst define requirement.
Creates or updates .agents/PROJECT_CONTEXT.md with project conventions, tech stack, code standards, testing strategy, and product architecture. Triggered by: nvst create project-context.
Implements a single user story from the PRD: writes code and tests, follows project conventions. Invoked by: nvst create prototype.
Load the refactor plan from it_{iteration}_audit.json and invoke the agent to apply code changes.
| name | refine-pr-document |
| description | Updates an existing product requirement document based on user feedback. Triggered by: nvst refine requirement. |
| user-invocable | true |
Update it_{current_iteration}_product-requirement-document.md in place based on user feedback. The file must already exist; this skill does not create it from scratch.
Do NOT start implementing. Only update the document.
Two modes available — the agent asks at the start:
- Editor mode — apply specific changes requested by the user.
- Challenger mode — act as an independent critical reviewer: challenge assumptions, question scope, find gaps, and propose improvements. The user accepts or rejects each suggestion before anything is written.
state.json → get requirement_definition.file (e.g. it_000001_product-requirement-document.md)..agents/flow/{file}.create-pr-document.state.json — requirement_definition.status stays "in_progress".Act as a second agent reviewing the document with fresh eyes. Do not apply any change without explicit user approval.
Challenge areas — examine each (in order):
FR-N that contradicts another or contradicts an acceptance criterion.Challenger output format — one observation at a time:
CRITICAL: Present findings one at a time. After delivering one finding, stop and wait for the user to respond before moving on. Do not queue or batch findings.
For each finding, format it as:
Challenge [N/total]: <area name>
Finding: <what the issue is>
Suggestion: <proposed change>
Accept / Reject / Discuss?
Ask only what is needed to understand the requested change.
1. What would you like to change or add?
A. Replace or rewrite a user story
B. Add a new user story (must be MVP-justified)
C. Remove a user story
D. Tighten acceptance criteria
E. Update goals or non-goals
F. Other: [describe]
2. If adding a user story — is it strictly necessary for the MVP?
[Open answer — skip if not adding stories]
3. Anything else to update in this pass?
[Open answer — skip if none]
US-NNN and FR-N entries only if a story is removed; otherwise keep existing IDs stable.create-pr-document).Before saving:
US-NNN and FR-N numbering is consistent.agents/flow/it_{current_iteration}_product-requirement-document.mdstate.json not modified (status stays "in_progress")