一键导入
speckit-04-checklist
Generate domain-specific quality checklists for requirements validation
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Generate domain-specific quality checklists for requirements validation
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | speckit-04-checklist |
| description | Generate domain-specific quality checklists for requirements validation |
Generate a custom checklist for the current feature based on user requirements. Checklists are "Unit Tests for English" - they validate the REQUIREMENTS, not the implementation.
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:
FOR requirements quality validation:
$ARGUMENTS
You MUST consider the user input before proceeding (if not empty).
Before ANY action, load and internalize the project constitution:
Read constitution:
cat .specify/memory/constitution.md 2>/dev/null || echo "NO_CONSTITUTION"
If exists, parse all principles for checklist generation.
Run prerequisites check:
bash .tessl/tiles/tessl-labs/spec-kit/skills/speckit-01-specify/scripts/bash/check-prerequisites.sh --json
Parse JSON for FEATURE_DIR and AVAILABLE_DOCS.
Derive up to THREE contextual clarifying questions. They MUST:
$ARGUMENTSQuestion archetypes:
Read from FEATURE_DIR:
spec.md: Feature requirements and scopeplan.md (if exists): Technical details, dependenciestasks.md (if exists): Implementation tasksCreate FEATURE_DIR/checklists/[domain].md:
CORE PRINCIPLE - Test the Requirements, Not the Implementation:
Every checklist item MUST evaluate the REQUIREMENTS THEMSELVES for:
Category Structure - Group items by requirement quality dimensions:
HOW TO WRITE CHECKLIST ITEMS:
WRONG (Testing implementation):
CORRECT (Testing requirements quality):
ITEM STRUCTURE: Each item should follow this pattern:
[Spec SS.Y] when checking existing requirements[Gap] marker when checking for missing requirementsTraceability Requirements:
[Gap], [Ambiguity], [Conflict], [Assumption]ABSOLUTELY PROHIBITED:
REQUIRED PATTERNS:
Use template structure:
# [CHECKLIST TYPE] Checklist: [FEATURE NAME]
**Purpose**: [Brief description]
**Created**: [DATE]
**Feature**: [Link to spec.md]
## [Category 1]
- [ ] CHK001 - [Requirement quality question] [Quality Dimension, Spec Reference]
- [ ] CHK002 - [Requirement quality question] [Quality Dimension, Gap]
## [Category 2]
- [ ] CHK003 - [Another requirement quality question] [Quality Dimension]
## Notes
- Check items off as completed: `[x]`
- Items are numbered sequentially (CHK001, CHK002, etc.)
If checklist contains [Gap] items, guide the user through resolving them one by one:
Count gaps: Identify all items marked with [Gap]
For each gap, present:
────────────────────────────────────────────────────────────────
Gap 1 of N: [CHK00X]
────────────────────────────────────────────────────────────────
**Missing Requirement:**
[Quote the checklist item]
**Why This Matters:**
[Brief explanation of risk if left unspecified]
**Suggested Options:**
| Option | Description | Implications |
|--------|-------------|--------------|
| A | [First reasonable default] | [Trade-offs] |
| B | [Alternative approach] | [Trade-offs] |
| C | [Another option] | [Trade-offs] |
| Skip | Leave unspecified for now | Will remain as [Gap] |
**Your choice (A/B/C/Skip/Custom):** _
Process user response:
spec.md with the new requirement[Gap], continue to nextspec.mdAfter each resolved gap:
[x] (complete)Summary after all gaps processed:
Gap Resolution Complete:
- Resolved: X items (added to spec.md)
- Skipped: Y items (remain as [Gap])
- Total gaps: Z
Spec updated at: specs/NNN-feature/spec.md
Skip gap resolution if: User passes --no-interactive flag or there are no [Gap] items.
Output:
UX Requirements Quality: ux.md
API Requirements Quality: api.md
Security Requirements Quality: security.md
After creating and resolving checklists, determine next step based on constitution:
If TDD is MANDATORY in constitution:
Checklist complete!
Gaps resolved: X (added to spec)
Gaps remaining: Y
Next steps:
- /speckit-04-checklist - (If gaps remain) Continue resolving requirement gaps
- /speckit-05-testify - (REQUIRED by constitution) Generate test specifications
- /speckit-06-tasks - Generate task breakdown
If TDD is optional or not mentioned:
Checklist complete!
Gaps resolved: X (added to spec)
Gaps remaining: Y
Next steps:
- /speckit-04-checklist - (If gaps remain) Continue resolving requirement gaps
- /speckit-05-testify - (Optional) Generate test specifications for TDD
- /speckit-06-tasks - Generate task breakdown
Note: /speckit-08-implement requires all checklists to be 100% complete (no [ ] items).
Create or update project governance principles and constitution
Create feature specification from natural language description
Identify underspecified areas and ask targeted clarification questions
Create technical implementation plan from feature specification
Generate test specifications from requirements before implementation (TDD support)
Generate actionable task breakdown from plan and specification