.agents/skills/create-pr-document/SKILL.md
Gathers the requirement from the user and produces it_{iteration}_product-requirement-document.md. Triggered by: bun nvst define requirement.
npx skillsauth add lpng-plenge/frontend-IA create-pr-documentInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Produce it_{current_iteration}_product-requirement-document.md in .agents/flow/ by interviewing the user about the feature or change they want to build.
Important: Do NOT start implementing. Just gather the requirement and write the document.
AGENTS.md, .agents/PROJECT_CONTEXT.md, and explore the codebase structure (main entry points, conventions, existing features) before starting the interview. This context will make your questions more relevant and the PRD better aligned with the project.state.json to get current_iteration (6-digit string, e.g. "000001")..agents/flow/it_{current_iteration}_product-requirement-document.md.state.json: requirement_definition.status = "in_progress", requirement_definition.file = filename.CRITICAL: Ask ONE question at a time. Wait for the user's answer before asking the next question. Do NOT present all questions at once.
Ask only questions where the initial prompt is ambiguous. Present lettered options so the user can reply with short codes (e.g. "1A").
Questions to ask (one by one, in order):
(Wait for answer, then ask question 2)
(Wait for answer, then ask question 3)
(Wait for answer, then ask question 4)
(Wait for answer, then ask question 5)
(Wait for answer, then generate the document)
# Requirement: [Feature or Change Name]
## Context
Brief description of the problem or opportunity this addresses.
## Goals
- [Specific, measurable objective]
- …
## User Stories
Each story must be small enough to implement in one focused session.
### US-001: [Title]
**As a** [actor], **I want** [capability] **so that** [benefit].
**Acceptance Criteria:**
- [ ] [Specific, verifiable criterion — not vague]
- [ ] [Another criterion]
- [ ] Typecheck / lint passes
- [ ] **[UI stories only]** Visually verified in browser
### US-002: …
## Functional Requirements
- FR-1: …
- FR-2: …
## Non-Goals (Out of Scope)
- …
## Open Questions
- …
FR-N) for easy cross-reference with it_{iteration}_PRD.json.Before saving:
.agents/flow/it_{current_iteration}_product-requirement-document.mdstate.json → requirement_definition.status = "in_progress", requirement_definition.file settesting
Refines an existing test plan based on user feedback or adversarial challenge mode. Triggered by: bun nvst refine test-plan.
development
Refines an existing refactor plan based on user feedback or adversarial challenge mode. Triggered by: bun nvst refine refactor-plan.
development
Refines .agents/PROJECT_CONTEXT.md via editor mode or challenge mode. Challenge mode validates the document against the actual codebase and detects compliance issues. Triggered by: bun nvst refine project-context.
documentation
Updates an existing product requirement document based on user feedback. Triggered by: bun nvst refine requirement.