skills/ohos-req-proposal-to-sr/SKILL.md
--- name: ohos-req-proposal-to-sr description: Use when every proposal associated with an OHOS IR has passed GATE A and a System Requirement baseline is needed before spec and design work begins. Triggers: 生成SR, proposal转SR, SR基线, 系统需求基线, GATE A通过, 05-proposal to SR. Do NOT use for IR generation (ohos-req-feature-to-ir), feature baseline (ohos-req-feature-baseline), or feasibility analysis (ohos-req-feasibility-analysis). metadata: author: openharmony scope: common stage: requirements ca
npx skillsauth add openharmonyinsight/openharmony-skills skills/ohos-req-proposal-to-srInstall 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.
Announce at start: "我正在使用 ohos-req-proposal-to-sr skill 生成 SR.md。"
SR.md 作为 OHOS 电子流 GA 后基线附件提交,SR 的 status=GA-Approved 是 ohos-delivery 启动 Phase 1-9 的前置条件。SR 的维度确认继承自 IR(PIR #152 P0),不重新逐条交互。SR §二责任人表的分析责任人/SE/TSE/测试责任人必须在 handoff 前指定(PIR #152 P2),缺失则阻断 Phase 1-9 启动。
IR.md05-proposal*.md以下任一情况必须拒绝生成:
GA-Approvedgate_a 或外部 GA 证据为空reference/SR.mdreference/proposal.md(模板文件不带 05- 阶段编号前缀;05-proposal*.md 仅作为 {docs_dir} 下的产物文件名)SR-01.md、SR-02.md...),以模板内「关联 SR」表相互引用reference/SR.md、reference/proposal.md(了解 proposal 产物结构)、IR、proposal 和 GA 证据。IR.md frontmatter 继承 rr_id 到 SR.md frontmatter,并在 §二 需求概要表中填写 RR单号行。Before writing an interface responsibility, ask yourself: am I adding implementation signatures (methods, classes) or just defining responsibility boundaries (direction, type)?
Before writing a traceability matrix row, ask yourself: does this AC trace back to a proposal requirement, or am I creating an untraceable link?
Before writing SR §二 需求基线, ask yourself: 每条系统需求是否可追溯到 proposal §X?是否新增了 proposal 未批准的范围?
Before 维度确认, ask yourself: IR 是否已确认此维度?是否只需继承结论而非重新逐条交互?
IR -> Proposal -> SR -> AC 追溯矩阵(§五)。{docs_dir}/SR-{NN}.md(编号与 proposal 对应,如 SR-01.md 对应 05-proposal-01.md),状态设为 GA-Approved。| proposal 文件 | SR 文件 |
|---------------|---------|
| 05-proposal.md(单一) | SR.md |
| 05-proposal-01.md | SR-01.md |
| 05-proposal-02.md | SR-02.md |
自检清单详见 reference/sr-checklist.md。核心:GA通过证据齐全、1:1 proposal→SR映射、维度继承自IR、责任人表无空值。
{docs_dir}/SR-{NN}.md(每个 proposal 一个)或 {docs_dir}/SR.md(单一 proposal 时)testing
--- name: ohos-req-value-decision description: Use after review meeting to record decision and route to next step. Triggers: 评审决策纪要, 评审结论回流, value decision, 评审接纳, 评审不接纳, 评审退回, 下次重新上会. Do NOT use for feature baseline (ohos-req-feature-baseline), review gate checks (ohos-req-review-gate), or IR generation (ohos-req-feature-to-ir). metadata: author: openharmony scope: common stage: requirements capability: value-decision version: 0.3.0 status: draft tags: - sdd - requirements
development
Use when converting an OpenHarmony requirement document, spec, or design proposal into an OpenHarmony review slide deck (需求评审 / 需求变更评审 / 设计评审 PPTX) — produces the fixed OpenHarmony-branded review-deck structure (OH logo on every page) with architecture/flow diagrams and field tables. Triggers on "需求评审PPT", "需求变更评审", "把需求文档转成评审PPT", "spec转评审PPT", "requirement/spec to review deck". NOT for arbitrary or generic slide decks unrelated to OpenHarmony requirement/design review.
testing
Use when performing the Phase 0 Step 0.5 Review Ready Gate on a 04-feature.md, especially when the user says "evaluate gate", "review readiness", "feature ready?", "should we generate IR", or when the ohos-req-intake-orchestration main session needs a structured Ready / Conditional Ready / Not Ready judgment instead of doing the check inline. Reads 01-04, runs seven fixed checks plus a conditional-items check, and returns a machine-readable JSON summary plus a human-readable table that the main session can route on. Do NOT use for feature baseline generation (ohos-req-feature-baseline), value decision recording (ohos-req-value-decision), or IR generation (ohos-req-feature-to-ir).
testing
--- name: ohos-req-requirement-intake description: Use when importing an OHOS requirement into Phase 0.1, especially for 01-requirement.md, requirement intake, background, user value, scenarios, scope, FR/NFR, affected modules, or priority. Triggers: 需求导入, 01-requirement, 需求基线, RR单号. Do NOT use for feasibility analysis (ohos-req-feasibility-analysis), architecture decision (ohos-req-arch-decision), or feature baseline (ohos-req-feature-baseline). metadata: author: openharmony scope: common