Loading...
Loading...
Compare original and translation side by side
{FEATURE_DIR}/requirements/prd.md{FEATURE_DIR}/requirements/prototype.mdR3 不是强制步骤:若无交互变化或交互简单且明确,应按 PRD 的分流口径跳过 R3,直接进入 design。
{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.md{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.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.md违反门禁=违反精神:无论“老板 10 分钟后评审/用户催/用户不想跑脚本”,都禁止猜路径、禁止在缺少 PRD 的情况下编造原型。
spec-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.mdprototype.md用户偏好不能覆盖约束:即便用户觉得 ASCII“丑”,也必须输出 ASCII 线框以保证可移植、可评审、可追溯。可额外附 Figma 链接,但不能删掉 ASCII。
User 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.mdspec-contextFEATURE_DIRprd.mdprototype.mdprd.mdspec-contextrequirements/*.mdprd.mdrequirements/*.mdspec-contextprd.md| 借口(原话/近似原话) | 常见违规行为 | 必须的反制动作 |
|---|---|---|
| “老板 10 分钟后评审,先把 prototype 发出来” | 不跑 | 门禁不过就停止;只能交付“阻断说明 + 下一步(先补 PRD/跑 spec-context)”,禁止交付脑补原型 |
| “PRD 还没写好/甚至没有,但我们先对齐交互” | 用常识编造页面与规则,导致后续漂移 | 缺 |
| “别用 ASCII,太丑了;表格/截图更好” | 删除 ASCII 线框,导致跨环境不可读/不可评审 | 必须保留 ASCII;可在 0. 基本信息里附 Figma/截图链接作为补充,但不能替代 ASCII |
| “细节你自己按常见做法写” | 过度脑补(分页/权限/异常策略/字段校验等),并写 Open Questions 清单 | R3 禁止新增决策;把不确定性写成假设并引用验证清单编号;若 PRD/solution 没有验证清单,回流 R2 补齐 |
| 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 |
模板入口:skills/spec-product-prototype/product-prototype-template.md
Template entry:skills/spec-product-prototype/product-prototype-template.md