Spec Kit for Openclaw

A framework for Spec-Driven Development that transforms natural language specifications into executable implementation plans for AI agents.

aungmyokyaw
v1.0.0
Feb 28, 2026
1
1.4k
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install spec-kit

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install spec-kit using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is Spec Kit?

Spec Kit is a powerful tool designed to flip traditional software development on its head by prioritizing intent over implementation. By using this tool within the Openclaw Skills ecosystem, developers can treat specifications as executable artifacts rather than static documentation. It integrates seamlessly with major AI agents like Claude Code and GitHub Copilot to refine requirements and generate high-quality code. The philosophy centers on a multi-step refinement process where the AI model handles the technical stack while the developer focuses on the what and why. This approach ensures that software is built with high intent-fidelity and minimal technical debt by relying on rich specifications with built-in guardrails.

Spec Kit Use Cases

  • Rapidly bootstrapping greenfield projects with clear architectural guardrails.
  • Modernizing legacy systems through iterative, specification-based enhancements.
  • Exploring multiple technology stacks for a single feature by defining technology-agnostic specs.
  • Enforcing organizational design systems and compliance rules across AI-generated codebases.

How Spec Kit Works

  1. Initialize the project using the specify CLI to create the necessary directory structure and agent templates.
  2. Define a Project Constitution to establish core rules, functional programming patterns, and project guardrails.
  3. Create a Specification using natural language to describe user behaviors and business constraints without focusing on implementation details.
  4. Refine the specification by identifying ambiguities and resolving edge cases through AI-led clarification steps.
  5. Generate a detailed Implementation Plan covering architecture, file structure, and testing strategies.
  6. Execute the Build command to generate code, run tests, and commit progress to Git automatically.

Spec Kit Setup

Ensure you have Python 3.11+, Git, and uv installed. To start a new project with this entry in your Openclaw Skills library, run:

uvx --from git+https://github.com/github/spec-kit.git specify init <PROJECT_NAME> --ai claude

To install it as an editable package for local development:

git clone https://github.com/github/spec-kit.git
cd spec-kit
uv venv
source .venv/bin/activate
uv pip install -e .

Spec Kit Data Schema & Taxonomy

Spec Kit organizes project data using a branch-based context system to maintain feature isolation and clarity.

Component Description
.speckit/ Root directory for configuration and AI agent templates.
Git Branches Naming convention (e.g., 001-feature) used to auto-detect active specifications.
Constitution A markdown-based file defining global project principles and guardrails.
Spec Files Behavior-focused documents used to drive the planning and building phases.

Spec Kit Advanced Features

  • Automated Git branch-based context detection for seamless switching between feature specifications.
  • Cross-platform support for both POSIX shell and PowerShell script generation during build phases.
  • Enforcement of enterprise-level organizational constraints for specific cloud providers and design systems.
  • Multi-agent support compatible with Claude Code, GitHub Copilot, Gemini CLI, and Codebuddy.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*