Skip to content
Development
Command

/help

Show help for Ralph Specum plugin commands and workflow.

From plugin
smart-ralph
56824 skills13 agents24 commands
> /plugin marketplace add tzachbon/smart-ralph

Command definition

help.md
description: Show help for Ralph Specum plugin commands and workflow.

Ralph Specum Help

Overview

Ralph Specum is a spec-driven development plugin that guides you through research, requirements, design, and task generation phases, then executes tasks autonomously with fresh context per task.

Commands

| Command | Description | |---------|-------------| | `/ralph-specum:start [name] [goal]` | Smart entry point: resume or create new | | `/ralph-specum:new <name> [goal]` | Create new spec and start research | | `/ralph-specum:research` | Run/re-run research phase | | `/ralph-specum:requirements` | Generate requirements (approves research) | | `/ralph-specum:design` | Generate design (approves requirements) | | `/ralph-specum:tasks` | Generate tasks (approves design) | | `/ralph-specum:prototype [--resume ID \| --cancel ID \| --quick]` | Run, resume, or cancel optional prototype evidence | | `/ralph-specum:implement` | Start execution loop (approves tasks) | | `/ralph-specum:status` | Show all specs and progress | | `/ralph-specum:switch <name>` | Change active spec | | `/ralph-specum:cancel` | Safely cancel active work; source is preserved | | `/ralph-specum:feedback [message]` | Submit feedback or report an issue | | `/ralph-specum:help` | Show this help |

Workflow

/ralph-specum:new "my-feature"
    |
    v
[Research Phase] - Automatic on new
    |
    v (review research.md)
/ralph-specum:requirements
    |
    v (review requirements.md)
/ralph-specum:design
    |
    v (review design.md)
/ralph-specum:tasks
    |
    v (review tasks.md)
/ralph-specum:implement
    |
    v
[Task-by-task execution with fresh context]
    |
    v
Done!

Quick Start

# Easiest: use start (auto-detects resume or new)
/ralph-specum:start user-auth Add JWT authentication

# Or resume an existing spec
/ralph-specum:start

# Manual workflow with individual commands:
/ralph-specum:new user-auth Add JWT authentication
/ralph-specum:requirements
/ralph-specum:design
/ralph-specum:tasks
/ralph-specum:implement

Optional Prototype Overlay

Research and requirements may offer `continue to prototype`; declining continues the normal workflow. `/ralph-specum:prototype` is also available directly from research, requirements, design, tasks, or execution without changing the main phase.

  • `/ralph-specum:prototype --resume <id>` resumes an explicit active entry. One active entry resumes automatically; several are listed for selection in normal mode.
  • `/ralph-specum:prototype --cancel <id>` stops at a safe boundary, publishes and verifies an immutable `cancelled` record, and preserves source and partial work.
  • `--quick` runs exactly one agent-owned request after requirements. It asks no prototype questions, takes over the oldest design blocker when one exists, owns verdict and handoff decisions, and continues to design.
  • Prototype source runs in a sibling worktree or eligible scratch area. Ralph never switches the current conversation checkout or copies unapproved dirty paths.
  • Source, evidence, branches, and records stay local. Pushes, PR or issue changes, and every remote action require separate explicit authorization. Local deletion also requires exact-path and local-branch approval; remote branches are never deleted by prototype cleanup.

Terminal records live under the resolved `<basePath>/prototypes/`. `status` shows active entries, review candidates, immutable finals, quarantines, blockers, return phase/task, and source disposition.

Options

start command

/ralph-specum:start [name] [goal] [--fresh] [--quick] [--commit-spec] [--no-commit-spec]
  • `--fresh`: Force new spec, overwrite if exists (skips "resume or fresh?" prompt)
  • `--quick`: Skip interactive phases, auto-generate all specs, start execution immediately
  • `--commit-spec`: Commit spec files locally after each phase (default: true in normal mode, false in quick mode). Normal-mode phase pushes keep their existing behavior after the Prototype Evidence Push Gate; prototype records require separate authorization naming the exact records.
  • `--no-commit-spec`: Explicitly disable committing spec files

The `--commit-spec` setting is stored in `.ralph-state.json` and applies to local commits in all subsequent phases (research, requirements, design, tasks). It authorizes no remote prototype evidence action.

new command

/ralph-specum:new <name> [goal] [--skip-research]
  • `--skip-research`: Skip research phase, start with requirements

phase commands (research, requirements, design, tasks)

/ralph-specum:<phase> [spec-name]

Phase commands use the `commitSpec` setting from `.ralph-state.json` (set during `/ralph-specum:start`).

implement command

/ralph-specum:implement [--max-task-iterations 5]
  • `--max-task-iterations`: Max retries per task before failure (default: 5)

cancel command

Safe cancel deletes only execution state after every active prototype has a verified immutable `cancelled` record. It keeps the spec, prototype source, partial implementation, records, and local branches. Full spec removal requires a second confirmation naming the exact resolved directory; prototype paths and branches require separate confirmations.

Directory Structure

Specs are stored in `./specs/` by default:

./specs/
├── .current-spec           # Active spec name (or full path for multi-dir)
├── my-feature/
│   ├── .ralph-state.json   # Loop state (deleted on completion)
│   ├── .progress.md        # Progress tracking (persists)
│   ├── research.md         # Research findings
│   ├── requirements.md     # Requirements
│   ├── design.md           # Technical design
│   ├── tasks.md            # Implementation tasks
│   └── prototypes/         # Immutable terminal prototype records

Multi-Directory Support

You can organize specs across multiple directories using the `specs_dirs` configuration.

Configuration

Add `specs_dirs` to your settings file at `.claude/r

Read more
@tzachbon
Ships withsmart-ralph

Spec-driven development with smart compaction. Claude Code plugin combining Ralph Wiggum loop with structured specification workflow.

56824 skills13 agents
Get the whole plugin

Stars on GitHub

Momentum

stars in total
568
Star history of tzachbon/smart-ralph on GitHub, a chart by star-history.com

Other commands on smart-ralph.

speckit.analyze

speckit.analyze

Command

Perform a non-destructive cross-artifact consistency and quality analysis across spec.md, plan.md, and tasks.md after task…

@tzachbon@tzachbonInstall Command
speckit.clarify

speckit.clarify

Command

Identify underspecified areas in the current feature spec by asking up to 5 highly targeted clarification questions and encoding…

@tzachbon@tzachbonInstall Command
speckit.constitution

speckit.constitution

Command

Create or update the project constitution from interactive or provided principle inputs, ensuring all dependent templates stay in…

@tzachbon@tzachbonInstall Command
speckit.plan

speckit.plan

Command

Execute the implementation planning workflow using the plan template to generate design artifacts.

@tzachbon@tzachbonInstall Command

More commands from other plugins.

build
Auto-invoked

build

Command

Implement tasks incrementally — build, test, verify, commit. Add "auto" to run the whole plan in one approved pass.

@addyosmani@addyosmaniInstall Command