Skip to content

Commands Reference

SNIPER provides slash commands that drive the project lifecycle. Each command is invoked in Claude Code and orchestrates agent teams, manages state, and produces artifacts.

Lifecycle Commands

These commands run the core project phases in order.

CommandPhaseDescription
/sniper-initSetupInitialize SNIPER in a new or existing project
/sniper-discover1 -- DiscoverRun discovery and analysis with a 3-agent parallel team
/sniper-plan2 -- PlanRun planning and architecture with a 4-agent team
/sniper-solve3 -- SolveShard epics into self-contained stories (single agent)
/sniper-sprint4 -- SprintRun an implementation sprint with a dynamic team
/sniper-reviewGateEvaluate phase artifacts against quality checklists

Utility Commands

These commands support the lifecycle without advancing phases.

CommandDescription
/sniper-composeCompose a spawn prompt from persona layers
/sniper-statusShow lifecycle status, artifact state, and team health
/sniper-docGenerate or update project documentation with a 3-agent team
/sniper-memoryView and manage conventions, anti-patterns, and decisions

Extended Commands

These commands handle specialized workflows beyond the standard lifecycle.

CommandDescription
/sniper-featureRun a scoped feature lifecycle (5 phases) for adding a feature to an existing project
/sniper-ingestReverse-engineer SNIPER artifacts from an existing codebase using a 3-agent team
/sniper-debugInvestigate and fix bugs with a 3-phase structured approach
/sniper-auditRun targeted audits (refactor, review, tests, security, performance)

Workspace Commands

These commands orchestrate SNIPER across multiple repositories.

CommandDescription
/sniper-workspace initInitialize a workspace with dependency detection
/sniper-workspace featurePlan and implement a feature spanning multiple repos
/sniper-workspace statusView workspace state, repo status, and contract versions
/sniper-workspace validateValidate implementations against interface contracts

Command Patterns

All phase commands follow a consistent pattern:

  1. State check -- verify SNIPER is initialized and determine the current phase
  2. Team loading -- read the team YAML to determine agents, tasks, and dependencies
  3. Spawn prompt composition -- compose prompts from persona layers for each agent
  4. Delegate mode -- the team lead coordinates agents without producing artifacts directly
  5. Artifact output -- agents produce documents and code in the docs/ directory
  6. Review gate -- quality evaluation before the lifecycle advances

TIP

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