Loading...
Loading...
Use when you need to execute R3 (Prototype Generation) in the product requirement Spec process of sdlc-dev, generate requirements/prototype.md based on requirements/prd.md (including task flow + page structure + ASCII wireframe + AC mapping + walkthrough script), and avoid proceeding with generation without context/PRD, using Open Questions instead of verification checklists, or using non-ASCII formats that make the prototype untraceable and unreviewable.
npx skill4agent add zixun-github/aisdlc spec-product-prototype{FEATURE_DIR}/requirements/prd.md{FEATURE_DIR}/requirements/prototype.mdR3 is not a mandatory step: If there are no interaction changes or the interaction is simple and clear, you should skip R3 according to the diversion criteria in the PRD and directly proceed to the design phase.
{FEATURE_DIR}/requirements/prd.mdspec-context{FEATURE_DIR}/requirements/prd.mdprototype.mdFEATURE_DIRspec-context{FEATURE_DIR}/requirements/prd.md{FEATURE_DIR}/requirements/solution.md{FEATURE_DIR}/requirements/raw.md{FEATURE_DIR}/requirements/prototype.mdspec-contextFEATURE_DIR=.... ".\.aisdlc-cli\scirpts\spec-common.ps1"
$context = Get-SpecContext
$FEATURE_DIR = $context.FEATURE_DIR
Write-Host "FEATURE_DIR=$FEATURE_DIR"spec-context{FEATURE_DIR}/requirements/prd.mdViolating gatekeeping rules = violating the core principle: No matter if "the boss needs a review in 10 minutes/the user is urging/the user doesn't want to run the script", guessing paths and fabricating prototypes without a PRD are strictly prohibited.
prototype.mdUser preferences cannot override constraints: Even if users find ASCII "ugly", ASCII wireframes must be output to ensure portability, reviewability, and traceability. A Figma link can be attached additionally, but ASCII cannot be removed.
spec-contextFEATURE_DIRprd.mdprototype.mdprd.mdrequirements/*.mdspec-contextprd.md| Excuse (original/approximate wording) | Common Violations | Mandatory Countermeasures |
|---|---|---|
| "The boss needs a review in 10 minutes, send the prototype first" | Not running | Stop if gatekeeping fails; only deliver "blocking explanation + next steps (first complete PRD/run spec-context)", fabricating prototypes is prohibited |
| "The PRD is not ready/doesn't even exist, but let's align on interactions first" | Fabricating pages and rules based on common sense, leading to subsequent drift | Missing |
| "Don't use ASCII, it's ugly; tables/screenshots are better" | Removing ASCII wireframes, resulting in unreadability/unreviewability across environments | Must retain ASCII; a link to Figma/screenshots can be attached as a supplement in the Basic Information section, but cannot replace ASCII |
| "Write the details according to common practices on your own" | Over-fabricating (pagination/permissions/exception strategies/field verification, etc.) and writing Open Questions checklists | R3 prohibits new decisions; document uncertainties as assumptions and reference verification checklist numbers; if there is no verification checklist in PRD/solution, flow back to R2 to complete |
Template entry:skills/spec-product-prototype/product-prototype-template.md