Skip to content
Back to skills

Design Consistency Check

ASecurity

检查VS↔SD/DM一致性(value_path是否与序列图/数据模型匹配),生成不一致项清单和修复建议。当Self-Reflection报告一致性问题或准备CONSTRAINT验收前使用。

  • 5 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added February 8, 2026
developmentfrontendbackend

Security analysis

A100/100

Scanned February 12, 2026

npx -y skills add tikazyq/agentic-spec-forge --skill design-consistency-check --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Design Consistency Check?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Design Consistency Check
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/tikazyq-design-consistency-check/badge)](https://www.skillsdirectory.com/skills/tikazyq-design-consistency-check)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: design-consistency-check
description: 检查VS↔SD/DM一致性(value_path是否与序列图/数据模型匹配),生成不一致项清单和修复建议。当Self-Reflection报告一致性问题或准备CONSTRAINT验收前使用。
stage: DESIGN
level_supported: [L2, L3]
---

## design-consistency-check: 设计一致性检查

### 描述
检查 VS↔SD/DM 一致性(value_path 是否与序列图/数据模型匹配),生成不一致项清单和修复建议。

### 适用场景
- **WORKFLOW_STEP_4 Task S4-2 Round 2**:生成所有 artifacts 后
- **WORKFLOW_STEP_4 Task S4-3**:Self-Reflection 报告一致性问题时
- **WORKFLOW_STEP_4 Task S4-5 前**:准备 CONSTRAINT 验收前

### 输入
- design/ 目录(所有 VS/SD/DM)

### 输出
- 一致性检查报告(markdown)
- 一致性百分比(如"75%,9/12 个 VS 一致")
- 不一致项清单(哪些 VS 的 value_path 与 SD/DM 不匹配)
- 修复建议

### 执行策略
1. 遍历所有 VS(检查正文中的 value_path 段落,参考 CRAFT_L{LEVEL}_DESIGN.md)
2. 对每个 VS:
   - 从正文中读取 value_path 字段(D1/D2/D3/D4)
   - 查找对应的 SD/DM(DESIGN 阶段禁止 `source_vs`;优先用 VS 的 `### 设计输入索引(Design Inputs Index)` 定位)
     - 优先:从 VS 的 Design Inputs Index 中读取 SD/DM 的 `id` 与相对路径(或等价引用)
     - 兜底:在 `design/` 中扫描 SD/DM 文件,按 `source_us = VS.source_us`(或 `related_us` 覆盖主 US)匹配;必要时再用 `sn` 与正文引用交叉确认
   - 验证:
     - D1-Frontend → SD 中有前端步骤?
     - D2-Data Flow → SD 中有数据传递 + DM 有对应结构?
     - D3-Backend → SD 中有后端步骤?
     - D4-Feedback → SD 中有反馈步骤?
3. 生成不一致项清单 + 修复建议

### 价值
- **SPEC 组织**:提前发现一致性问题,避免 CONSTRAINT 验收失败
- **PM/BA**:确保设计完整实现需求
- **Dev**:清晰的设计依赖

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.