Speckit Workflow for Openclaw
by @vinayakv22
Complete Spec-Driven Development (SDD) orchestrator for OpenClaw. Initializes SpecKit and manages the full engineering lifecycle.
clawhub install speckit-workflowπ About This Skill
name: speckit-workflow description: Complete Spec-Driven Development (SDD) orchestrator for OpenClaw. Initializes SpecKit and manages the full engineering lifecycle. compatibility: Requires OpenClaw and a project repository metadata: author: vinayak source: custom/speckit-workflow
Speckit Workflow Skill π¦
This is the master orchestrator for the SpecKit for OpenClaw engineering workflow.
β οΈ Security & Credentials
This workflow is designed to automate git operations to save progress and isolate work.
Agent Requirement:
Before starting the workflow or initializing a new project, you MUST ask the user:
> "Do you want to enable automated git commit, git push, and branch creation for this project? (Yes/No)"
π Step 1: Initialization
If this project has not been initialized with SpecKit yet, you MUST ensure the .specify/ directory is present in the project root.
Initialization Instructions for Agent:
1. Ask for Git Permission (see above).
2. Check if .specify/ exists in the project root.
3. If missing, copy the .specify/ directory from this skill package (located at ./.specify/) to .specify/ in the project root.
- Create the destination directory if it doesn't exist.
4. Confirm successful initialization.
π Resuming Workflow
Before starting or when returning to a project, you MUST determine the current state by checking for the existence of SpecKit artifacts:
1. Check for Initialization: Verify if .specify/ exists.
2. Determine Current Phase:
- If .specify/memory/constitution.md exists -> Constitution complete.
- If specs/ exists -> Specify complete.
- If specs/ exists -> Plan complete.
- If specs/ exists -> Tasks complete.
- If tasks in tasks.md are partially marked [X] -> Implementation in progress.
Always resume from the first incomplete phase in the Execution Order.
ποΈ Step 2: Workflow Orchestration
Once initialized, you MUST follow the canonical Spec-kit order by delegating to sub-agents.
When to Create a Sub-Agent:
For each phase below, you should create or delegate to a specialized sub-agent that uses the corresponding skill found in thesubskills/ directory relative to this skill file (./subskills/).The Execution Order:
1. π Constitution: Delegate to speckit-constitution. Establish code quality, testing standards, and architectural constraints.
2. π Specify: Delegate to speckit-specify. Transform requirements into a formal spec.md.
3. π Clarify (Optional): Delegate to speckit-clarify if the specification is ambiguous.
4. ποΈ Plan: Delegate to speckit-plan. Derive technical design and implementation architecture.
5. π Tasks: Delegate to speckit-tasks. Break the plan into actionable task lists.
6. βοΈ Analyze (Optional): Delegate to speckit-analyze for cross-artifact consistency.
7. π· Implement: Delegate to speckit-implement.
π· Implementation Session Management
When executing the speckit-implement phase, you MUST:
tasks.md dynamically based on requirements and complexity.speckit-implement.[X] in tasks.md before returning.User Provided Context
{{user_provided_context}}
Use this context to start or resume the workflow. If the project is not yet initialized, begin with Step 1: Initialization.