From omni
Analyzes business scenarios to assess impact on existing functions, generates INSERT/MODIFY/DELETE/REFER specs per template, appends to IMPL_DESIGN. Explicitly invoked by design skill for structured feature design.
npx claudepluginhub zte-aicloud/co-omnispec --plugin omniThis skill uses the workspace's default tool permissions.
- 仅被 `design` skill 显式调用
Analyzes business intent impact on existing scenarios, generates INSERT/MODIFY/DELETE/REFER updates per template, and appends to spec.md. Explicitly invoked by specify skill for feature spec maintenance.
Processes increment-request.json: orients on project state, elicits incremental EARS requirements with acceptance criteria, classifies changes, updates SRS/design docs, appends to feature-list.json.
Produces approved design documents for new features, refactors, architecture changes, or behavior updates before any code. Enforces checklist with adversarial review, decomposition, and spec validation.
Share bugs, ideas, or general feedback.
design skill 显式调用注意事项:
context.md 中已对齐的术语,避免同一概念多种叫法。FEATURE_DIR/spec.md 中的「场景」章节,明确本次需要支撑的业务目标与验收标准。FEATURE_DIR/context.md,参考其中的:
context_mode = evidence_first,优先消费 on_demand.scope、on_demand.traceability、on_demand.risks、on_demand.evidence_gaps基于步骤1输入与上下文,按「功能定义」识别并产出本次变更涉及的全部功能条目(含INSERT/MODIFY/DELETE/REFER),作为后续步骤的范围基线。
动作类型定义:
on-demand 功能消费规则(仅 evidence_first 模式):
on_demand.scope.direct_functions 和 on_demand.scope.indirect_functions 建立功能基线(白名单)。on_demand.traceability 将需求/场景映射到功能条目,优先判定 MODIFY/REFER,减少无依据 INSERT。${DOC_DIR}/on-demand/functions/*.md 中可定位证据(入口、主流程、波及点、风险)。scope 且无证据链支撑的功能,不得纳入主设计范围(避免 scope creep)。on_demand.risks / on_demand.evidence_gaps 要体现在功能的失败处理、补偿策略或假设说明中。兼容规则(default 模式):
context_mode = default 或 on_demand 字段缺失,沿用原有逻辑,不阻塞功能设计。## 功能
### [动作类型: INSERT/MODIFY/DELETE/REFER] - [功能ID] - [功能名称]
**来源场景**: [场景ID] - [场景名称]
变更原因: [分析业务意图对存量功能的影响;REFER 填写为无变更]
**功能描述**: [从对应场景的验收场景中提取,描述该功能需要实现的具体能力]
[功能具体内容]
[按照上述格式继续描述其他功能...]
业务意图 分析本次变更的动机与影响范围,明确需要调整的具体内容。对新增或修改的部分使用 **加粗** 标记,对拟删除的内容使用 ~~删除线~~ 标记,以便后续评审与追踪。DOC_DIR/specs/functions/0.function_list.md,提取已存在的 FUNC-XXX 最大ID,取 最大ID + 1 作为新功能的ID。0.function_list.md 时,功能ID从 FUNC-001 开始。.infra/metamodel/5.function-template.md 中的规范生成[功能具体内容]:
DOC_DIR/specs/functions/ 下既有文档的组织方式与粒度,使新功能在抽象层级上与既有功能保持一致,避免过于宽泛(难以验证)或过于聚焦实现细节。从既有功能文档中提取对应条目的完整内容填入模板,变更原因 统一填写为 无变更,仅建立引用关系以支持后续波及分析。
SCN-XXX),且能够支撑该场景的主路径验收与关键异常/边界。FUNC-XXX ID基于当前最大值顺序递增,无冲突或缺号。