← 返回
开发者工具 中文

Speckit Workflow for Openclaw

Complete Spec-Driven Development (SDD) orchestrator for OpenClaw. Initializes SpecKit and manages the full engineering lifecycle.
面向OpenClaw的完整规格驱动开发(SDD)编排器,初始化SpecKit并管理完整的工程生命周期。
vinayakv22
开发者工具 clawhub v1.0.3 1 版本 99836.5 Key: 无需
★ 0
Stars
📥 1,221
下载
💾 22
安装
1
版本
#latest

概述

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)"

  • If YES: Proceed with automated commits, pushes, and branch creation as described in the workflow. Ensure you have write access.
  • If NO: You MUST NOT perform any git operations (commits, pushes, or branch creation). You will only write files locally. The user is responsible for version control.

🚀 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//spec.md exists -> Specify complete.
    • If specs//plan.md exists -> Plan complete.
    • If specs//tasks.md 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 the subskills/ 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:

  • Isolate Context: Trigger a new agent session for implementation to ensure focus.
  • Dynamic Task Chunking: Group tasks from tasks.md dynamically based on requirements and complexity.
  • If tasks are small/simple, group 3-5 tasks (e.g., T001 to T005).
  • If tasks are complex, group 1-2 tasks.
  • Sub-Agent Execution: For each chunk, delegate to a sub-agent using speckit-implement.
  • Commit & Push: After each successfully completed chunk, the sub-agent MUST commit and push the changes to the repository.
  • Mark Completion: Ensure the sub-agent marks tasks as complete [X] in tasks.md before returning.
  • Avoid Over-grouping: Do not group too many tasks in a single sub-agent session to maintain precision and manageable diffs.

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.

版本历史

共 1 个版本

  • v1.0.3 当前
    2026-03-29 08:58 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

developer-tools

Github

steipete
使用 `gh` CLI 与 GitHub 交互,通过 `gh issue`、`gh pr`、`gh run` 和 `gh api` 管理议题、PR、CI 运行及高级查询。
★ 672 📥 324,465
developer-tools

Gog

steipete
Google Workspace 命令行工具,支持 Gmail、日历、云端硬盘、通讯录、表格和文档。
★ 921 📥 185,915
developer-tools

Agent Browser

matrixy
专为AI智能体优化的无头浏览器自动化CLI,支持无障碍树快照和基于引用的元素选择。
★ 427 📥 118,353