openspec
Spec-driven development with OpenSpec CLI. Use when building features, migrations, refactors, or any structured development work. Manages proposal → specs → design → tasks → implementation workflows. Supports custom schemas (TDD, rapid, etc.). Trigger on requests involving feature planning, spec writing, change management, or when /opsx commands are mentioned.
Why use this skill?
Enhance your development workflow with OpenSpec. A spec-driven CLI for OpenClaw to plan, design, and implement features with structured, verifiable, and tracked AI-assisted workflows.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/jcorrego/openspecWhat This Skill Does
OpenSpec is a powerful framework for spec-driven development, designed to bring rigor and structure to AI-assisted coding tasks. By utilizing the OpenSpec CLI, the agent creates a repeatable pipeline for development: proposal, specification, architectural design, and task-based implementation. Instead of jumping straight into code, OpenSpec enforces a discipline that ensures requirements are clearly defined, edge cases are covered, and technical debt is minimized. It acts as an orchestrator for the development lifecycle, allowing the AI to maintain state across complex projects by tracking artifact progress and verifying implementations before final archiving. It provides a standardized interface for teams to collaborate with AI agents on features, refactors, and migrations.
Installation
To install this skill, run the following command in your terminal:
clawhub install openclaw/skills/skills/jcorrego/openspec
Additionally, ensure the OpenSpec CLI is installed globally on your machine to support the backend operations:
npm install -g @fission-ai/openspec@latest
Use Cases
- Feature Planning: Break down high-level feature requests into actionable technical tasks.
- Complex Refactoring: Design architectural changes and verify the logic before executing destructive code changes.
- System Migrations: Use structured spec-driven flows to manage data or logic migrations, ensuring every step is planned and validated.
- Team Alignment: Generate documented specifications that provide a shared context for both human developers and the OpenClaw agent.
Example Prompts
- "OpenSpec, I need to add a new authentication flow to our project. Please start a new change named 'auth-v2' using the standard schema."
- "Review the current implementation status for 'refactor-user-db' and generate the next steps based on the tasks.md file."
- "Validate the completion of my migration task and prepare the files for archiving once everything passes."
Tips & Limitations
- Always Check Schemas: Use
openspec schemas --jsonto ensure you are using the best schema for your task (e.g., TDD vs. rapid-prototyping). - Granularity: Keep tasks in
tasks.mdsmall. Smaller tasks lead to higher accuracy and lower chance of hallucination or logic errors during code execution. - Validation is Key: Do not skip the
openspec validatestep; it is designed to catch missing requirements or broken design coherence before you merge changes back into the main branch. - Context Awareness: The skill relies on accurate file structure; ensure you are operating within the root directory of an OpenSpec-initialized project.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-jcorrego-openspec": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: file-write, file-read, code-execution