Skip to main content

/specweave:do Command

The /specweave:do command is SpecWeave's primary implementation command that executes tasks from tasks.md with smart auto-resume.

What It Does

Key actions:

  • Auto-finds active increment
  • Resumes from last incomplete task
  • Executes tasks sequentially
  • Runs hooks after each task
  • Updates living docs automatically
  • Syncs to external tools (GitHub, JIRA, ADO)

Usage

# Auto-find active increment
/specweave:do

# Execute specific increment
/specweave:do 0007

Smart Features

Auto-Resume

The command automatically resumes from the last incomplete task:

# First session: Tasks T-001 through T-005 completed
$ /specweave:do 0007

# Second session: Automatically resumes at T-006
$ /specweave:do 0007
→ Resuming from T-006...

Cost Optimization

Uses smaller models for simple tasks:

  • Haiku: Simple edits, file moves (3x faster, 20x cheaper)
  • Sonnet: Complex logic, architecture decisions
  • Opus: Strategic planning, complex refactoring

Hook Integration

After EVERY task completion:

  1. Updates tasks.md status
  2. Syncs to external tools
  3. Plays completion sound
  4. Updates CLAUDE.md, README, CHANGELOG

Workflow