Skip to content

Personas Cheatsheet

Quick reference for the SNIPER v3 persona system. In v3, agent roles are defined directly in agent definition files (.claude/agents/*.md), and cognitive personas are lightweight thinking-style mixins applied on top of any agent via configuration.

Agents

SNIPER v3 ships 13 agent definitions. Each agent has a dedicated role, a model assignment, and scoped write permissions.

AgentModelRoleWrite Scope
lead-orchestratoropusCoordinates agent teams through protocol phases. Delegates -- never codes..sniper/, .sniper-workspace/
analystsonnetResearches, analyzes, and produces discovery artifacts (specs, codebase overviews).docs/, .sniper/
architectopusDesigns system architecture, component boundaries, and technical plans.docs/
product-managersonnetTranslates requirements into structured stories with EARS acceptance criteria.docs/
backend-devsonnetImplements server-side code (APIs, services, workers) in an isolated worktree.worktree (full)
frontend-devsonnetImplements client-side code (components, pages, hooks) in an isolated worktree.worktree (full)
fullstack-devsonnetHandles both backend and frontend for smaller projects. Isolated worktree.worktree (full)
code-revieweropusMulti-faceted code review: scope validation, standards enforcement, risk scoring.docs/
qa-engineersonnetWrites tests, analyzes coverage, validates EARS acceptance criteria.test files only
gate-reviewerhaikuRuns automated gate checks at phase boundaries. Lightweight and fast..sniper/gates/
retro-analystsonnetPost-protocol retrospective analysis. Captures learnings..sniper/
doc-writersonnetIncrementally updates project documentation after implementation.CLAUDE.md, README.md, docs/
memory-curatorsonnetCurates and maintains project memory (conventions, anti-patterns, decisions)..sniper/memory/

Agent groupings by protocol phase

Discover -- analyst

Define -- product-manager

Design -- architect

Solve -- product-manager

Implement -- fullstack-dev + qa-engineer (full protocol), or backend-dev + frontend-dev + qa-engineer (spawned by lead-orchestrator based on project config)

Review -- code-reviewer (gate-reviewer for automated checks)

Retro -- retro-analyst

Orchestration -- lead-orchestrator (active across all phases)


Cognitive Personas

Cognitive personas are thinking-style mixins. They modify how an agent reasons, not what it does. SNIPER v3 ships three cognitive personas.

devils-advocate

Challenges assumptions, stress-tests designs, and finds failure modes before they reach production.

  • Questions the happy path -- asks "What happens when this fails?"
  • Hunts for edge cases: boundary values, timing issues, scale breaks, partial failures
  • Every challenge comes with a concrete scenario, not vague doubt

Best applied to: code-reviewer, qa-engineer, analyst

See full reference.


performance-focused

Evaluates every decision through an efficiency lens -- latency, throughput, memory, scalability.

  • Measures before optimizing -- profiles first, optimizes second
  • Checks for N+1 queries, unbounded collections, unnecessary computation, blocking I/O
  • Weighs speedup against complexity cost

Best applied to: backend-dev, fullstack-dev, architect

See full reference.


security-first

Evaluates every decision through a security lens -- threat modeling, least privilege, defense in depth.

  • Asks "How could this be abused?" for every external input and API endpoint
  • Checks input validation, authentication, authorization, data exposure, injection, secrets
  • Flags concerns explicitly rather than making assumptions

Best applied to: architect, code-reviewer, backend-dev

See full reference.


Applying Cognitive Personas

Cognitive personas are applied to agents via .sniper/config.yaml. Add entries under agents.mixins mapping agent names to an array of cognitive personas:

6 lines
yaml
# .sniper/config.yaml
agents:
  mixins:
    architect: [security-first]
    code-reviewer: [devils-advocate]
    backend-dev: [performance-focused]

Multiple cognitive personas can be applied to the same agent:

3 lines
yaml
agents:
  mixins:
    architect: [security-first, performance-focused]

When a cognitive persona is applied, its thinking framework is injected into the agent's context at spawn time. The agent retains all its original responsibilities but evaluates decisions through the additional cognitive lens.


Quick Comparison

ConceptWhat it definesWhere it livesHow many
AgentRole, model, write scope, responsibilitiespackages/core/agents/*.md13
Cognitive personaThinking style, decision frameworkpackages/core/personas/cognitive/*.md3
ProtocolPhase sequence, which agents to spawnpackages/core/protocols/*.yaml7

Further Reading