Get the FREE Ultimate OpenClaw Setup Guide →

spec-workflow

Scanned
npx machina-cli add skill tzachbon/smart-ralph/spec-workflow --openclaw
Files (1)
SKILL.md
1.5 KB

Spec Workflow Skill

Spec-driven development workflow for building features through research, requirements, design, and task phases.

When to Use

Use these commands when user wants to:

  • Build a new feature or system
  • Create technical specifications
  • Plan development work
  • Track spec progress
  • Execute spec-driven implementation

Commands

Starting Work

  • /ralph-specum:start [name] [goal] - Start or resume a spec (smart entry point)
  • /ralph-specum:new <name> [goal] - Create new spec and begin research

Spec Phases

  • /ralph-specum:research - Run research phase
  • /ralph-specum:requirements - Generate requirements from research
  • /ralph-specum:design - Generate technical design
  • /ralph-specum:tasks - Generate implementation tasks

Execution

  • /ralph-specum:implement - Start autonomous task execution

Management

  • /ralph-specum:status - Show all specs and progress
  • /ralph-specum:switch <name> - Change active spec
  • /ralph-specum:cancel - Cancel active execution

Help

  • /ralph-specum:help - Show plugin help

Phase Flow

See references/phase-transitions.md for detailed phase flow documentation.

Source

git clone https://github.com/tzachbon/smart-ralph/blob/main/plugins/ralph-specum/skills/spec-workflow/SKILL.mdView on GitHub

Overview

Spec Workflow guides building a feature through research, requirements, design, and task phases, ensuring a clear spec-driven path from discovery to implementation. It emphasizes starting or resuming a spec, running phased activities, and tracking progress across multiple specs.

How This Skill Works

Start or resume a spec with /ralph-specum:start or /ralph-specum:new to create the smart entry point. Progress through the research, requirements, design, and tasks phases, then execute with /ralph-specum:implement, while using status and switch commands to manage active specs.

When to Use It

  • Build a new feature or system
  • Create technical specifications
  • Plan development work
  • Track spec progress
  • Execute spec-driven implementation

Quick Start

  1. Step 1: /ralph-specum:new <name> [goal] to create the spec and begin research.
  2. Step 2: /ralph-specum:research to run the research phase.
  3. Step 3: /ralph-specum:requirements, /ralph-specum:design, /ralph-specum:tasks, then /ralph-specum:implement to execute.

Best Practices

  • Define a clear goal and success criteria for the spec before starting.
  • Derive requirements directly from the research phase.
  • Tie design decisions to documented requirements.
  • Regularly update spec status and phase transitions.
  • Automate task execution where feasible to reduce toil.

Example Use Cases

  • Initiate a spec to implement a new user onboarding feature and drive it from research to tasks.
  • Run a research phase to evaluate API redesign options before writing requirements.
  • Generate a formal requirements document based on stakeholder interviews.
  • Create a technical design for a microservice and outline integration points.
  • Generate implementation tasks and execute them using the implement phase.

Frequently Asked Questions

Add this skill to your agents
Sponsor this space

Reach thousands of developers