扫描所有 SRS 的矛盾、未定义引用、规则冲突,输出一致性问题清单。
Scanned 9/9/2026
Install to Claude Code
npx -y skills add zls3434/Software-Engineering-Studios --skill consistency-check --agent claude-codeInstalls into .claude/skills of the current project.
Are you the author of Consistency Check?
Add the live security badge to your README — it updates automatically with every re-scan.
[](https://www.skillsdirectory.com/skills/zls3434-consistency-check-753bc340)More formats (shields.io, HTML) on the badges page.
---
name: consistency-check
description: "扫描所有 SRS 的矛盾、未定义引用、规则冲突,输出一致性问题清单。"
version: 1.0.0
platforms: [macos, linux, windows]
metadata:
hermes:
tags: ["review", "quality"]
load_mode: on-demand
model: sonnet
argument-hint: ""
user-invocable: true
allowed-tools:
- Read
- Glob
- Grep
- Write
---
# consistency-check — SRS 一致性扫描
## 技能目的
扫描所有 SRS 文档,检测矛盾、未定义引用、规则冲突等问题,输出结构化的一致性问题清单,供后续修复。
## 参数说明
本技能无参数。自动扫描所有 SRS。
## 分阶段工作流
### 阶段 1:收集 SRS 与引用
- **输入**:项目目录
- **处理**:
1. 使用 Glob 扫描 `docs/srs/*.md`
2. 使用 Read 读取所有 SRS
3. 使用 Grep 提取所有交叉引用(模块引用、接口引用、术语引用)
- **输出**:SRS 集合 + 引用表
### 阶段 2:检测矛盾
- **输入**:SRS 集合
- **处理**:对比不同 SRS 中对同一概念、同一接口、同一数据模型的描述,识别矛盾
- **输出**:矛盾清单
### 阶段 3:检测未定义引用
- **输入**:引用表
- **处理**:验证每个引用目标是否存在,标记未定义引用
- **输出**:未定义引用清单
### 阶段 4:检测规则冲突
- **输入**:SRS 集合
- **处理**:检查业务规则、约束条件、权限定义之间是否存在冲突
- **输出**:规则冲突清单
### 阶段 5:输出报告
- **输入**:所有问题清单
- **处理**:使用 Write 写入 `docs/reviews/consistency-report.md`
- **输出**:一致性报告文件
## 协作协议引用
- 遵循 `.claude/docs/templates/collaborative-protocols/design-agent-protocol.md` 审查规范
## 推荐下一步
修复报告中的问题,然后使用 `/create-architecture` 进入架构设计阶段。Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.
No comments yet. Be the first to comment!
Ultra-compressed commit message generator. Cuts noise from commit messages while preserving intent and reasoning. Conventional Commits format. Subject ≤50 chars, body only when "why" isn't obvious. Use when user says "write a commit", "commit message", "generate commit", "/commit", or invokes /caveman-commit. Auto-triggers when staging changes.
Ultra-compressed code review comments. Cuts noise from PR feedback while preserving the actionable signal. Each comment is one line: location, problem, fix. Use when user says "review this PR", "code review", "review the diff", "/review", or invokes /caveman-review. Auto-triggers when reviewing pull requests.
一个全面的 Claude Code 会话验证系统。
Verification loop for Spring Boot projects: build, static analysis, tests with coverage, security scans, and diff review before release or PR.
Verification loop for Django projects: migrations, linting, tests with coverage, security scans, and deployment readiness checks before release or PR.