Skip to content
Development
Command

/help

Show help for Ralph Specum plugin commands and workflow.

From plugin
smart-ralph
43223 skills12 agents23 commands
Install
$ npx -y skills add tzachbon/smart-ralph --agent claude-code

How it fires

How this command gets triggered: by you, by Claude, or both.

  • Fires itselfClaude auto-loads it when your prompt matches the work.
  • You can call itInvoke it directly when you want it.
  • Slash command/help

Context preview

What this command does when you run it.

Show help for Ralph Specum plugin commands and workflow.

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:implement` | Start execution loop (approves tasks) | | `/ralph-specum:status` | Show all specs and progress | | `/ralph-specum:switch <name>` | Change active spec | | `/ralph-specum:cancel` | Cancel active loop, cleanup state | | `/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

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 and push spec files after each phase (default: true in normal mode, false in quick mode)
  • `--no-commit-spec`: Explicitly disable committing spec files

The `--commit-spec` setting is stored in `.ralph-state.json` and applies to all subsequent phases (research, requirements, design, tasks).

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)

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

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/ralph-specum.local.md`:

---
specs_dirs:
  - ./specs
  - ./packages/api/specs
  - ./packages/web/specs
---

If not configured, defaults to `["./specs"]` for backward compatibility.

Using --specs-dir Flag

The `start` and `new` commands accept `--specs-dir` to specify where to create a spec:

# Create spec in default directory (./specs/)
/ralph-specum:start my-feature Some goal

# Create spec in a specific directory
/ralph-specum:start my-feature Some goal --specs-dir ./packages/api/specs
/ralph-specum:new api-auth --specs-dir ./packages/api/specs

The specified directory must be listed in `specs_dirs` configuration.

Monorepo Example

For a monorepo with multiple packages:

my-monorepo/
├── .claude/
│   └── ralph-specum.local.md    # specs_dirs config
├── packages/
│   ├── api/
│   │   └── specs/               # API-related specs
│   │       └── auth-feature/
│   └── web/
│       └── specs/               # Web-related specs
│           └── dashboard-feature/
└── specs/                       # Shared/root specs
    └── infrastructure-feature/

Settings file:

---
specs_dirs:
  - ./specs
  - ./packages/api/specs
  - ./packages/web/specs
---

Disambiguation

When the same spec name exists in multiple directories, commands will prompt for disambiguation:

Multiple specs named "auth-feature" found:
  1. ./specs/auth-feature
  2. ./packages/api/specs/auth-feature

Specify the full path to switch:
  /ralph-specum:switch ./packages/api/specs/auth-feature

Use the full path to target a specific spec when names are ambiguous.

Execution Loop

The implement command runs tasks one at a time: 1. Execute task from tasks.md 2. Verify completion 3. Commit changes 4. Update progress 5. Stop and restart with fresh context 6. Continue until all tasks done

This ensures each task has full context without accumulating irrelevant history.

Sub-Agents

Each phase uses a specialized agent:

  • **research-analyst**: Research and feasibility analysis
  • **product-manager**: Requirements and user stories
  • **architect-reviewer**: Technical design and architecture
  • **task-planner**: POC-first task breakdown
  • **spec-executor**: Autonomous task execution

POC-First Workflow

Tasks follow a

Read more
Ships withsmart-ralph

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

Get the whole plugin, auto-invoked
Stats
432
Stars
1
Views
40
Forks
Active
Maintenance
Shell
Language
MIT
License
16d ago
Last commit
6mo ago
Created

Repo: tzachbon/smart-ralph