Spec Workflow Guide
by @binggg
Use when medium-to-large changes need explicit requirements, technical design, and task planning before implementation, especially for multi-module work, unc...
clawhub install spec-workflow-guideπ About This Skill
name: spec-workflow-guide description: Use when medium-to-large changes need explicit requirements, technical design, and task planning before implementation, especially for multi-module work, unclear acceptance criteria, or architecture-heavy requests. version: 2.18.0 alwaysApply: false
Standalone Install Note
If this environment only installed the current skill, start from the CloudBase main entry and use the published cloudbase/references/... paths for sibling skills.
https://cnb.cool/tencent/cloud/cloudbase/cloudbase-skills/-/git/raw/main/skills/cloudbase/SKILL.mdhttps://cnb.cool/tencent/cloud/cloudbase/cloudbase-skills/-/git/raw/main/skills/cloudbase/references/spec-workflow/SKILL.mdKeep local references/... paths for files that ship with the current skill directory. When this file points to a sibling skill such as auth-tool or web-development, use the standalone fallback URL shown next to that reference.
Spec Workflow
Activation Contract
Use this first when
Read before writing code if
Then also read
../ui-design/SKILL.md (standalone fallback: https://cnb.cool/tencent/cloud/cloudbase/cloudbase-skills/-/git/raw/main/skills/cloudbase/references/ui-design/SKILL.md)../data-model-creation/SKILL.md (standalone fallback: https://cnb.cool/tencent/cloud/cloudbase/cloudbase-skills/-/git/raw/main/skills/cloudbase/references/data-model-creation/SKILL.md)Do NOT use for
Common mistakes / gotchas
Minimal checklist
When to use this skill
Use this workflow for structured development when you need to:
Decision rule
Use the full workflow when
Skip the full workflow when
Core workflow
Phase 1: Requirements
Create specs/.
What to do:
EARS pattern:
While , when , the shall
Example:
When the user submits the form, the booking system shall validate required fields before creating the record.
Phase 2: Design
Create specs/.
What to do:
Phase 3: Tasks
Create specs/.
What to do:
Task format:
# Implementation Plan[ ] 1. Task title
- Specific work item
- Another concrete step
- _Requirement: 1
Phase 4: Execution
Only start implementation after the user confirms the task plan.
During execution:
Working rules for the agent
1. Ask follow-up questions when the request is underspecified; do not guess core product behavior.
2. Require confirmation between requirements, design, and task breakdown.
3. Pull in ui-design early when the change includes end-user pages or visual decisions.
4. Keep documents concise but testable.
5. Prefer user-visible outcomes over implementation-detail task names.
Output expectations
requirements.md -> problem, scope, user stories, EARS acceptance criteriadesign.md -> architecture, technical approach, data/API/security/test notestasks.md -> actionable implementation checklist tied to requirements