Skip to content

Commands Reference

SNIPER v3 provides five slash commands invoked in Claude Code. The core command is /sniper-flow, which replaces v2's per-phase commands with a single protocol execution engine.

Commands

CommandDescription
/sniper-flowExecute a protocol — auto-detects scope or use --protocol <name>
/sniper-initInitialize SNIPER v3 in a new or existing project
/sniper-learnSubmit, review, or deprecate project learnings
/sniper-reviewManually trigger a review gate for the current phase
/sniper-statusShow current protocol progress

Quick Start

16 lines
bash
# Initialize SNIPER in your project
/sniper-init

# Run the full lifecycle (auto-detects scope)
/sniper-flow

# Run a specific protocol
/sniper-flow --protocol feature
/sniper-flow --protocol patch
/sniper-flow --protocol ingest

# Resume an interrupted protocol
/sniper-flow --resume

# Check progress
/sniper-status

Protocols

/sniper-flow executes one of seven protocols. Use --protocol <name> to pick one explicitly, or let SNIPER auto-detect from your project state.

ProtocolPhasesUse Case
fulldiscover → define → design → solve → implement → review → retroGreenfield projects, major features
featuredefine → design → solve → implement → review → retroAdding features to existing projects
patchimplement → reviewSmall changes, bug fixes
ingestscan → document → extractReverse-engineering existing codebases
explorediscoverResearch and analysis only
refactoranalyze → implement → review → retroCode refactoring with safety analysis
hotfiximplementEmergency fixes, no gates

Command Flow

All commands follow this pattern:

  1. State check — verify SNIPER is initialized and determine the current phase
  2. Protocol selection — auto-detect or use the specified protocol
  3. Agent spawning — spawn specialized agents defined by the protocol
  4. Phase execution — agents produce artifacts
  5. Quality gate — review checklist evaluation before advancing

TIP

Run /sniper-status at any time to see where you are in the lifecycle and what to do next.