
Speckit Analyze Zh
This is a read-only analysis tool for Chinese project documentation that runs after you've generated your spec, plan, and tasks files. It cross-checks all three artifacts for inconsistencies, duplicate requirements, vague acceptance criteria, and gaps in task coverage. The skill also validates against a project constitution file to catch principle violations early. You get a structured markdown report with severity ratings, coverage metrics, and remediation suggestions, but nothing gets modified automatically. Use this before implementation when you want to catch planning errors like unmapped requirements, conflicting tech stack choices, or tasks that reference undefined components. It's designed to stay under token limits by loading only essential context and capping findings at 50 items.
- skills.sh installs
- 308
- GitHub stars
- 10
- last updated
- Aug 21, 2026
Install
$ npx -y skills add forztf/open-skilled-sdd --skill speckit-analyze-zh --agent claude-codeInstalls into .claude/skills of the current project.
Files
用户输入
$ARGUMENTS
您必须在继续之前考虑用户输入(如果不为空)。
目标
在实现之前,识别三个核心工件(spec.md、plan.md、tasks.md)之间的不一致、重复、歧义和未充分说明的项目。此命令必须仅在 speckit-tasks 成功生成完整的 tasks.md 后运行。
操作约束
严格只读:不要修改任何文件。输出结构化分析报告。提供可选的补救计划(用户必须明确批准后才能手动调用任何后续编辑命令)。
宪章权威性:项目宪章(.specify/memory/constitution.md)在此分析范围内是不可协商的。宪章冲突自动为关键级别,需要调整规格、计划或任务——而不是稀释、重新解释或默默忽略原则。如果原则本身需要更改,必须在 speckit-analyze 之外的单独、明确的宪章更新中进行。
执行步骤
scripts: sh: .specify/scripts/bash/check-prerequisites.sh --json ps: .specify/scripts/powershell/check-prerequisites.ps1 -Json
1. 初始化分析上下文
从仓库根目录运行一次 {SCRIPT} 并解析 JSON 以获取 FEATURE_DIR 和 AVAILABLE_DOCS。推导绝对路径:
- SPEC = FEATURE_DIR/spec.md
- PLAN = FEATURE_DIR/plan.md
- TASKS = FEATURE_DIR/tasks.md
如果缺少任何必需文件,则中止并显示错误消息(指示用户运行缺少的先决条件命令)。 对于参数中的单引号,如 "I'm Groot",使用转义语法:例如 'I'''m Groot'(或者如果可能的话使用双引号:"I'm Groot")。
2. 加载工件(渐进式披露)
仅加载每个工件的最小必要上下文:
来自 spec.md:
- 概述/上下文
- 功能要求
- 非功能要求
- 用户故事
- 边缘情况(如果存在)
来自 plan.md:
- 架构/技术栈选择
- 数据模型引用
- 阶段
- 技术约束
来自 tasks.md:
- 任务 ID
- 描述
- 阶段分组
- 并行标记 [P]
- 引用的文件路径
来自 constitution:
- 加载
.specify/memory/constitution.md用于原则验证
3. 构建语义模型
创建内部表示(不要在输出中包含原始工件):
Sponsors
Details
- Repository
- github.com/forztf/open-skilled-sdd
- Category
- Productivity & Planning
- First seen
- Jun 3, 2026
More from forztf/open-skilled-sdd
All 16- Speckit Constitution Zh305
- Openspec Implementation1.4K
- Openspec Proposal Creation1.2K
- Openspec Proposal Creation Cn1.2K
- Openspec Context Loading1.1K
- Openspec Archiving1K
- Openspec Context Loading Cn392
- Openspec Implementation Cn384
- Openspec Archiving Cn363
- Speckit Specify Zh332
- Speckit Tasks Zh320
- Speckit Plan Zh313
- Speckit Checklist Zh312
- Speckit Clarify Zh312
- Speckit Implement Zh309