speckit-checklist
它能做什么
这个技能为某个功能创建检查清单,用于测试其书面需求的质量,而不是代码。适合使用 Spec Kit 方法的产品负责人和开发者。
适用场景
- ✓功能规格已经写好,你想检查其中是否有遗漏或不清楚的需求的时候。
- ✓你想在把工作交给开发者之前,对需求进行质量审查的时候。
- ✓你需要一份问题清单,用来测试规格是否涵盖了边界情况的时候。
技能链接
https://github.com/unoplatform/uno/blob/master/.claude/skills/speckit-checklist/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请帮我制作一份检查清单,测试我新登录功能的需求是否清晰、完整。”
每周 5 个新技能,1 分钟读完。
工作原理
这个技能把你的需求转换为一系列质量问题。每个问题检查书面规格的清晰度、完整性或一致性。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Checklist Purpose: "Unit Tests for English"
CRITICAL CONCEPT: Checklists are UNIT TESTS FOR REQUIREMENTS WRITING - they validate the quality, clarity, and completeness of requirements in a given domain.
NOT for verification/testing:
- ❌ NOT "Verify the button clicks correctly"
- ❌ NOT "Test error handling works"
- ❌ NOT "Confirm the API returns 200"
- ❌ NOT checking if code/implementation matches the spec
FOR requirements quality validation:
- ✅ "Are visual hierarchy requirements defined for all card types?" (completeness)
- ✅ "Is 'prominent display' quantified with specific sizing/positioning?" (clarity)
- ✅ "Are hover state requirements consistent across all interactive elements?" (consistency)
- ✅ "Are accessibility requirements defined for keyboard navigation?" (coverage)
- ✅ "Does the spec define what happens when logo image fails to load?" (edge cases)
Metaphor: If your spec is code written in English, the checklist is its unit test suite. You're testing whether the requirements are well-written, complete, unambiguous, and ready for implementation - NOT whether the implementation works.
User Input
$ARGUMENTS
You MUST consider the user input before proceeding (if not empty).
Pre-Execution Checks
Check for extension hooks (before checklist generation):
- Check if
.specify/extensions.ymlexists in the project root. - If it exists, read it and look for entries under the
hooks.before_checklistkey - If the YAML cannot be parsed or is invalid, skip hook checking silently and continue normally
- Filter out hooks where
enabledis explicitlyfalse. Treat hooks without anenabledfield as enabled by default. - For each remaining hook, do not attempt to interpret or evaluate hook
conditionexpressions:- If the hook has no
conditionfield, or it is null/empty, treat the hook as executable - If the hook defines a non-empty
condition, skip the hook and leave condition evaluation to the HookExecutor implementation
- If the hook has no
- When constructing slash commands from hook command names, replace dots (
.) with hyphens (-). For example,speckit.git.commit→/speckit-git-commit. - For each executable hook, output the following based on its
optionalflag:- Optional hook (
optional: true):## Extension Hooks **Optional Pre-Hook**: {extension} Command: `/{command}` Description: {description} Prompt: {prompt} To execute: `/{command}` - Mandatory hook (
optional: false):## Extension Hooks **Automatic Pre-Hook**: {extension} Executing: `/{command}` EXECUTE_COMMAND: {command} Wait for the result of the hook command before proceeding to the Execution Steps.
- Optional hook (
- If no hooks are registered or
.specify/extensions.ymldoes not exist, skip silently
Execution Steps
Setup: Run
.specify/scripts/powershell/check-prerequisites.ps1 -Jsonfrom repo root and parse JSON for FEATURE_DIR and AVAILABLE_DOCS list.- All file paths must be absolute.
- For single quotes in args like "I'm Groot", use escape syntax: e.g 'I'''m Groot' (or double-quote if possible: "I'm Groot").
Clarify intent (dynamic): Derive up to THREE initial contextual clarifying questions (no pre-baked catalog). They MUST:
- Be generated from the user's phrasing + extracted signals from spec/plan/tasks
- Only ask about information that materially changes checklist content
- Be skipped individually if already unambiguous in
$ARGUMENTS - Prefer precision over breadth
Generation algorithm:
- Extract signals: feature domain keywords (e.g., auth, latency, UX, API), risk indicators ("critical", "must", "compliance"), stakeholder hints ("QA", "review", "security team"), and explicit deliverables ("a11y", "rollback", "contracts").
- Cluster signals into candidate focus areas (max 4) ranked by relevance.
- Identify probable audience & timing (author, reviewer, QA, release) if not explicit.
- Detect missing dimensions: scope breadth, depth/rigor, risk emphasis, exclusion boundaries, measurable acceptance criteria.
- Formulate questions chosen from these archetypes:
- Scope refinement (e.g., "Should this include integration touchpoints with X and Y or stay limited to local module correctness?")
- Risk prioritization (e.g., "Which of these potential risk areas should receive mandatory gating checks?")
- Depth calibration (e.g., "Is this a lig
常见问题
这是对代码的测试吗?
不是。这个技能说明,检查清单检查的是书面需求,而不是代码能否正常运行。
它会提出哪些类型的问题?
内容中的示例包括:是否为所有卡片类型定义了视觉规则,以及是否考虑了图片加载失败的情况。
它只适用于某一个工具吗?
它是为按照 Spec Kit 方法编写的功能规格而设计的。
详情
作者的原始描述
Generate a custom checklist for the current feature based on user requirements.
repo: unoplatform/uno
热度
- GitHub 星标
- 10k
- 排名
- #11996
- 许可证
- Apache-2.0
- 更新时间
- 2026/11/2
评论
- …
同一仓库的更多技能
speckit-analyze
10k帮你的智能体检查功能规格、计划和任务清单是否彼此一致,并指出缺口,且不修改任何文件。
speckit-clarify
10k帮你的智能体找出功能规格中不清楚的部分,提出最多五个有针对性的问题,并把答案写回规格中。
speckit-constitution
10k帮你的智能体编写或更新项目章程(一组简短的指导原则),并使相关的规划模板与之保持一致。
speckit-git-commit
10k在 Spec Kit 步骤完成后,帮你的智能体按项目配置文件中的提交设置,自动将当前更改保存到 Git。