Commands

Workflow commands

All 42 commands covering the complete development lifecycle — from planning and spec writing to autonomous overnight builds.

Typical workflow order

/effectum
effect:prd:new
/prd:handoff
/save
/run
Navigation
Core Workflow
Autonomous
Spec
Onboarding
Project
Design
Setup

Navigation

3 commands

Orient yourself and get pointed to the right next step

/effectumNavigationWhere to start

Entry point and getting-started guide. Run this if you don't know which command to use — it explains effectum in 60 seconds and points you to the right next step.

  • Overview of the effectum workflow in plain language
  • Detects your current project state and recommends a starting point
  • Links to /next for smart routing after you're oriented
  • Safe to run at any time — read-only, no side effects
/effectum
/helpNavigationAlias for /effectum

Alias for /effectum. Use /help or /effectum interchangeably — both run the getting-started guide and orientation flow.

  • Identical to /effectum — same output, same behavior
  • Use whichever feels more natural to you
  • Recommended alias for quick orientation in any session
/help
effect:nextNavigationSmart router

Reads your project state and recommends exactly one action. The smart router that keeps you moving forward without having to remember the full workflow.

  • Reads CLAUDE.md, git log, loop-state.json, and PRD status
  • Recommends one specific command with a one-line reason
  • Never overwhelming — one recommendation, always actionable
  • Re-run at any time when you're not sure what to do next
effect:next

Core Workflow

7 commands

Plan, build, test, verify — the full development cycle

effect:dev:planCore WorkflowThink before building

Reads your specification, explores the existing codebase, and creates a detailed implementation plan. Surfaces risks, asks clarifying questions, and identifies the right order of operations.

  • Analyzes PRD acceptance criteria, data model, and API design
  • Creates step-by-step implementation plan with dependencies
  • Identifies risks and open questions
  • Waits for your explicit approval before writing any code
effect:dev:plan docs/prds/001-my-feature.md
effect:dev:tddCore WorkflowTests first, always

Enforces test-driven development. Writes a failing test, implements the minimum code to pass it, then refactors. Repeats for each acceptance criterion.

  • RED: write a failing test for the next AC
  • GREEN: implement minimum code to pass
  • REFACTOR: improve without changing behavior
  • Targets 80%+ coverage on new code
effect:dev:tdd
effect:dev:verifyCore WorkflowEvery quality gate, every time

Runs all 8 quality gates in sequence and reports pass/fail for each. These are requirements, not suggestions. A feature is not done until all gates pass.

  • Build (0 errors), Types (0 errors), Lint (0 warnings)
  • Tests (all pass, 80%+ coverage)
  • Security (no OWASP vulnerabilities)
  • Debug logs (0 console.log), Type safety (no any/as), File size (max 300 lines)
effect:dev:verify
effect:dev:reviewCore WorkflowA second pair of eyes

Security audit and architecture validation. Reviews every change for OWASP vulnerabilities, code quality violations, architecture rule breaches, and common mistakes.

  • OWASP Top 10 vulnerability scanning
  • Architecture and design pattern validation
  • RLS policy completeness check (Supabase)
  • Rates findings: Critical, Warning, Info
effect:dev:review
effect:dev:e2eCore WorkflowTest real user flows

Generates and runs end-to-end tests using Playwright. Tests real user flows through browser automation — page loads, navigation, form submissions, and critical journeys.

  • Auto-generates Playwright test scripts
  • Tests critical user journeys end-to-end
  • Captures screenshots and traces on failure
  • Uses accessibility-tree selectors for stability
effect:dev:e2e
effect:dev:fixCore WorkflowDiagnose, don't guess

Reads build error output, identifies root causes, and applies targeted fixes. Works incrementally — fixes one error at a time, rebuilds, and repeats.

  • Reads full error messages and stack traces
  • Identifies root cause before attempting fixes
  • Applies targeted changes, not broad rewrites
  • Rebuilds after each fix to verify
effect:dev:fix
effect:dev:refactorCore WorkflowLess code, same behavior

Removes dead code, unused imports, and unnecessary complexity. Runs tests before and after every change to ensure nothing breaks.

  • Identifies unused exports, imports, and variables
  • Consolidates similar functions
  • Improves naming without changing behavior
  • Tests before and after every change
effect:dev:refactor

Autonomous

9 commands

Let Claude build autonomously overnight

effect:dev:runAutonomousBuild autonomously — overnight if you want

The most powerful feature. Claude works autonomously — writing code, running tests, fixing errors — until every quality gate passes and your completion promise is 100% true. (internally: /ralph-loop)

  • Iterates: read spec → check state → implement → verify → repeat
  • Stuck detection: stops on 2 consecutive identical errors
  • Status report at 80% of max iterations
  • Only outputs completion promise when genuinely true
effect:dev:run "Build feature X" --max-iterations 30 --completion-promise "All tests pass"
Deprecated: /ralph-loop is a permanent alias for effect:dev:run — it will never be removed.
effect:dev:run (alias: /ralph-loop)AutonomousInternal name for /run

The internal/legacy name for /run. Prefer /run — it is the primary alias and feels more natural. All flags and options are identical.

  • Identical to /run — same behavior, same options
  • Use /run instead — it is the primary name
  • Both names will continue to work
effect:dev:run "Build feature X" --max-iterations 30
effect:dev:stopAutonomousTake back the wheel

Stops an active autonomous build session. Use when you want to take over manually, change direction, or if the loop is not converging. (internally: /cancel-ralph)

  • Immediately stops the autonomous loop
  • Preserves all work done so far
  • Git history shows every iteration
  • Resume with a new /run if needed
effect:dev:stop
Deprecated: /cancel-ralph remains as a permanent alias for effect:dev:stop.
effect:dev:stop (alias: /cancel-ralph)AutonomousInternal name for /stop

The internal/legacy name for /stop. Prefer /stop — it is the primary alias and more intuitive.

  • Identical to /stop — stops the loop immediately
  • Use /stop instead — it is the primary name
  • All work done so far is preserved in git
effect:dev:stop
effect:dev:saveAutonomousCreate a restore point before you build

Creates a git restore point with a descriptive tag. Use before /run, risky changes, or experiments so you can always roll back. (internally: /checkpoint)

  • Creates a tagged git commit as restore point
  • Descriptive tag for easy identification
  • Roll back with a single git command
  • Zero cost — just a commit and tag
effect:dev:save
Deprecated: Prefer /save. /checkpoint is the internal name and will remain as an alias.
effect:dev:save (alias: /checkpoint)AutonomousInternal name for /save

The internal/legacy name for /save. Prefer /save — it is the primary alias and more natural.

  • Identical to /save — creates a tagged git commit
  • Use /save instead — it is the primary name
  • All /save behavior preserved
effect:dev:save
/diagnoseAutonomousPost-mortem diagnosis when something went wrong

Reads all loop artifacts — HANDOFF.md, STUCK.md, loop-state.json, effectum-metrics.json, git log — and outputs a structured failure diagnosis. (internally: /forensics)

  • Classifies failure mode: stuck, context budget, build error, or unknown
  • Reads loop-state.json for last known iteration state
  • Cross-references effectum-metrics.json for historical patterns
  • Outputs FORENSICS-YYYY-MM-DD.md with recommended next steps
/diagnose
Deprecated: Prefer /diagnose. /forensics is the internal name and will remain as an alias.
effect:dev:diagnoseAutonomousInternal name for /diagnose

The internal/legacy name for /diagnose. Prefer /diagnose — it is the primary alias and more intuitive.

  • Identical to /diagnose — same diagnosis, same output
  • Use /diagnose instead — it is the primary name
  • Outputs FORENSICS-YYYY-MM-DD.md with actionable next steps
effect:dev:diagnose
effect:dev:orchestrateAutonomousParallel agent teams

Creates agent teams for parallel complex feature development. Spawns independent Claude instances that work on separate workstreams simultaneously.

  • Spawns parallel teammates for independent workstreams
  • Each teammate inherits all hooks and guardrails
  • Teammates communicate via mailbox and shared task list
  • Merges results when all workstreams complete
effect:dev:orchestrate

Spec

11 commands

Write and manage structured specifications

effect:prd:newSpecSpec from scratch

Start a new guided specification from scratch. Claude asks adaptive questions until it fully understands what you want to build.

  • Adaptive questioning based on your domain and complexity
  • Guided discovery for vague or unclear requirements
  • Produces a structured PRD with acceptance criteria and data model
  • Supports both workshop mode (12–15 questions) and quick entry
effect:prd:new
effect:prd:expressSpecOne-shot spec

Fast one-shot spec from clear requirements. Best when you already know exactly what you want to build.

  • Generates a complete PRD from a one-liner or short description
  • Skips discovery questions — goes straight to spec output
  • Same structured format as effect:prd:new
  • Best for well-understood features with clear scope
effect:prd:express
effect:prd:discussSpecDeep-dive discussion

Deep-dive into a specific area of your spec. Explore edge cases, data models, or API design in detail before writing code.

  • Focuses on one section of an existing PRD
  • Surfaces edge cases and implicit assumptions
  • Updates the PRD with insights from the discussion
  • Useful before effect:dev:plan on complex features
/prd:discuss docs/prds/001-my-feature.md
effect:prd:decomposeSpecSplit large scope

Split large projects into smaller, independently buildable PRDs. Each sub-PRD is self-contained with its own acceptance criteria.

  • Analyzes scope and identifies natural split points
  • Creates sub-PRDs with no cross-dependencies where possible
  • Generates a dependency graph for sequencing
  • Each sub-PRD is independently runnable with effect:dev:run (or /ralph-loop)
/prd:decompose docs/prds/001-large-feature.md
effect:prd:reviewSpecQuality check before building

Quality check before handing off to implementation. Flags missing acceptance criteria, vague goals, and incomplete data models.

  • Checks every AC has a matching test
  • Flags vague goals that can't be verified
  • Validates data model completeness and RLS policies
  • Confirms completion promise is 100% verifiable
/prd:review docs/prds/001-my-feature.md
effect:prd:updateSpecEvolve an existing spec

Safely update an existing PRD in-place. Tracks changes semantically and triggers a delta handoff so implementation stays in sync.

  • Detects and records what changed vs the previous version
  • Updates PRD hash and version in frontmatter
  • Triggers delta handoff to flag affected acceptance criteria
  • Safe for specs already in progress — preserves completion state
/prd:update docs/prds/001-my-feature.md
effect:prd:handoffSpecExport spec to project

Export a finished spec to the target project. Copies the PRD file and prepares it for effect:dev:plan in the implementation project.

  • Copies PRD from workshop to target project
  • Validates PRD is complete before export
  • Sets status to 'ready' in frontmatter
  • Outputs the effect:dev:plan command to run next
/prd:handoff docs/prds/001-my-feature.md ~/my-project
effect:prd:statusSpecDashboard of all projects

View all projects and their current progress. Shows which specs are draft, ready, in progress, or complete.

  • Lists all projects under workshop/projects/
  • Shows PRD count and status per project
  • Highlights stalled or incomplete specs
  • Quick overview before starting a new build session
effect:prd:status
effect:prd:resumeSpecContinue previous work

Continue working on a previous specification. Loads context and picks up where you left off.

  • Reads the current PRD state and git log
  • Summarizes what's done and what remains
  • Identifies the next logical step
  • Works with any PRD in any status
/prd:resume docs/prds/001-my-feature.md
effect:prd:network-mapSpecVisualize dependencies

Render PRD dependencies as an interactive HTML map. Dark/light theme, direction toggle, and SVG export built in.

  • Generates an interactive HTML file from PRD frontmatter
  • Supports dark/light theme and direction toggle
  • SVG export for documentation
  • Detects cycles and orphaned PRDs
effect:prd:network-map
effect:prd:handoffSpecGenerate handoff prompt

Generate a handoff prompt for a completed PRD. Use to start a new Claude session focused on one specific feature.

  • Extracts the essential context from a PRD
  • Formats as a ready-to-paste Claude session opener
  • Includes acceptance criteria and completion promise
  • Optimized for minimal context burn
/prd:prompt docs/prds/001-my-feature.md

Onboarding

4 commands

Analyze codebases and initialize project context

effectum:onboardOnboardingReverse-engineer any codebase

Runs 6 parallel agents to analyze an existing codebase — dependencies, structure, patterns, environment, tests, and docs — then generates a complete CLAUDE.md and PRDs.

  • 6 parallel agents: Stack, Architecture, API, Database, Frontend, Test
  • Auto-generates CLAUDE.md from analysis results
  • Creates PRDs from existing code and architecture
  • Works on any codebase, any language
effectum:onboard
effectum:onboard:reviewOnboardingCross-PRD consistency check

Review onboarded PRDs for cross-PRD consistency, duplicates, and best practices. Runs automatically as part of /onboard but can be run standalone.

  • 6 checks: completeness, duplicates, naming, data model, API, status
  • Supports --fix flag to automatically apply suggested fixes
  • Supports --strict flag to treat warnings as failures
  • Safe to run on any project with onboarded PRDs
/onboard:review my-project --fix
effectum:exploreOnboarding4-agent codebase analysis

Spawns 4 parallel agents (ArchitectureMapper, StackMapper, QualityMapper, IntegrationMapper) to produce 7 structured knowledge documents. (internally: /map-codebase)

  • 4 agents run in parallel: ArchitectureMapper, StackMapper, QualityMapper, IntegrationMapper
  • Produces 7 docs: ARCHITECTURE.md, STACK.md, STRUCTURE.md, CONVENTIONS.md, TESTING.md, CONCERNS.md, INTEGRATIONS.md
  • All output written to knowledge/codebase/
  • Use before /onboard on complex legacy codebases
effectum:explore
Deprecated: Prefer /explore. /map-codebase is the internal name and will remain as an alias.
effectum:exploreOnboardingInternal name for /explore

The internal/legacy name for /explore. Prefer /explore — it is the primary alias and more natural.

  • Identical to /explore — same agents, same output
  • Use /explore instead — it is the primary name
  • Produces 7 knowledge documents in knowledge/codebase/
effectum:explore

Project

6 commands

Manage your PRD Workshop workspace and project context

effectum:initProjectNew project workspace

Create the complete directory structure and template files for a new project in the PRD Workshop. Replaces /workshop:init with a cleaner namespace.

  • Creates workshop/projects/{slug}/ with standard layout
  • Generates project README and initial PRD directory
  • Validates slug format before creating
  • Run before effect:prd:new on new workshop projects
/project:init my-new-project
effectum:archiveProjectArchive completed project

Archive a completed or abandoned project by moving it to workshop/archive/. Replaces /workshop:archive with a cleaner namespace.

  • Moves project from workshop/projects/ to workshop/archive/
  • Checks readiness before archiving (no in-progress PRDs)
  • Preserves full history — nothing is deleted
  • Can be listed and referenced after archiving
/project:archive my-project
effectum:initProjectProject context interview

Interactive 7-question interview to populate the sentinel block in CLAUDE.md with project-specific context. Replaces /effectum:init with a cleaner namespace.

  • Asks about domain, key entities, auth, architecture, conventions, tech debt
  • Writes ONLY inside the sentinel block markers
  • Survives effectum update — custom content preserved
  • Run once on new projects, re-run after major pivots
effectum:init
Deprecated: Use effectum:init instead. Removed in v0.20.
/effectum:initProjectProject context interview

Interactive 7-question interview to populate the sentinel block in CLAUDE.md with project-specific context that cannot be inferred from code.

  • Asks about domain, key entities, auth, architecture, conventions, tech debt
  • Writes ONLY inside the sentinel block markers
  • Survives effectum update — custom content preserved
  • Run once on new projects, re-run after major pivots
/effectum:init
Deprecated: Use /project:init instead. Removed in v0.19.
/workshop:initProjectNew project workspace

Create the complete directory structure and template files for a new project in the PRD Workshop.

  • Creates workshop/projects/{slug}/ with standard layout
  • Generates project README and initial PRD directory
  • Validates slug format before creating
  • Run before effect:prd:new on new workshop projects
/workshop:init my-new-project
Deprecated: Use /project:archive instead. Removed in v0.19.
/workshop:archiveProjectArchive completed project

Archive a completed or abandoned project by moving it to workshop/archive/. Keeps your workspace clean without losing history.

  • Moves project from workshop/projects/ to workshop/archive/
  • Checks readiness before archiving (no in-progress PRDs)
  • Preserves full history — nothing is deleted
  • Can be listed and referenced after archiving
/workshop:archive my-project

Design

1 command

Visual specs and design systems before implementation

effect:designDesignVisual spec before you build

Generates a structured DESIGN.md for frontend-heavy projects. Detects existing design signals (Tailwind, shadcn, CSS vars), asks 3–5 lightweight questions, and produces a visual source of truth for UI work.

  • Reads current PRD and scans for Tailwind, shadcn, CSS variables
  • Asks 3–5 questions: color palette, typography feel, UI complexity
  • Generates DESIGN.md with 7 sections: colors, typography, components, layout, interactions, constraints
  • Reduces UI rework by making design decisions explicit before implementation
effect:design

Setup

1 command

Install and configure effectum for your project

effectum:setupSetupReconfigure your install

Reconfigures an existing effectum installation. Change stack, update guardrails, or adjust settings without starting from scratch.

  • Switch or update your stack preset
  • Regenerate CLAUDE.md with new options
  • Update guardrails and quality gates
  • Preserves existing customizations where possible
effectum:setup ~/my-project