Skip to content
Development
Command

/mission

Run full attune lifecycle as a mission with state detection and phase routing

From plugin
claude-night-market
337162 skills59 agents162 commands1 MCP
Install
> /plugin marketplace add athola/claude-night-market

How it fires

How this command gets triggered: by you, by Claude, or both.

  • Fires itselfClaude auto-loads it when your prompt matches the work.
  • You can call itInvoke it directly when you want it.
  • Slash command/mission

Context preview

What this command does when you run it.

Run full attune lifecycle as a mission with state detection and phase routing

Command definition

mission.md
name: mission
description: "Run full attune lifecycle as a mission with state detection and phase routing"

Attune Mission Command

Orchestrate the entire attune development lifecycle (brainstorm, specify, plan, execute) as a single mission with automatic state detection and recovery.

When To Use

Use this command when you need to:

  • Start a new project and run through the full development lifecycle
  • Resume an interrupted project workflow from where you left off
  • Execute a focused tactical implementation from existing artifacts
  • Quick-fix from an existing implementation plan
  • Audit, dogfood, or review existing software and produce a findings report

When NOT To Use

Avoid this command if:

  • You want to run a single phase without auto-chaining (use `/attune:brainstorm --standalone`, `/attune:specify --standalone`, etc.)
  • Task is non-project work (debugging, ad-hoc research). Structured

review work is in scope: use `--type review`

  • You need fine-grained control over each phase transition

> **Note**: Individual commands (`/brainstorm`, `/specify`, `/blueprint`) now auto-chain forward by default. Use `--standalone` to run a single phase without continuing. Use `/attune:mission` when you need state persistence, resume support, and damage-control.

Usage

# Auto-detect mission type and start
/attune:mission

# Resume a paused or interrupted mission
/attune:mission --resume

# Override mission type
/attune:mission --type full
/attune:mission --type standard
/attune:mission --type tactical
/attune:mission --type quickfix
/attune:mission --type review

# Custom phase sequence
/attune:mission --phases brainstorm,execute

# Skip user checkpoints between phases
/attune:mission --auto

What This Command Does

1. **Detects project state**: scans for existing artifacts (brief, spec, plan) 2. **Selects mission type**: chooses the appropriate phase sequence 3. **Routes through phases**: invokes `Skill(attune:{phase})` for each step 4. **Checkpoints between phases**: lets you review, pause, or adjust 5. **Handles errors**: recovers from failures via `leyline:damage-control` 6. **Saves mission state**: enables resume from any point

Mission Types

| Type | Phases | When | |------|--------|------| | `full` | brainstorm → specify → plan → execute | No artifacts exist | | `standard` | specify → plan → execute | Project brief exists | | `tactical` | plan → execute | Specification exists | | `quickfix` | execute only | Implementation plan exists | | `review` | scope → investigate → verify → report | The ask is to audit, dogfood, or review existing software |

`review` is for observational work: the deliverable is a findings-and-recommendations report at `reports/<topic>-<YYYY-MM-DD>.md`, not implemented code. It needs no build artifacts as input, and it skips the war-room gate, which exists to guard a plan-to-execute transition a review mission does not have. It is selected from the wording of the request rather than from artifacts on disk, because a directory full of specs and plans looks identical whether you mean to ship it or audit it.

Workflow

# 1. Invoke mission orchestrator skill
Skill(attune:mission-orchestrator)

# 2. Orchestrator detects state and selects type:
#    "Detected: specification.md exists → tactical mission"

# 3. Routes through phases:
#    Phase 1: plan
#      → Skill(attune:project-planning)
#      → Produces: docs/implementation-plan.md
#      → Checkpoint: "Continue to execute? [Y/n]"
#
#    Phase 2: execute
#      → Skill(attune:project-execution)
#      → Produces: implemented code + tests

# 4. Mission complete, state saved to .attune/mission-state.json

Session Recovery

Mission state is automatically saved to `.attune/mission-state.json`.

# Resume after interruption
/attune:mission --resume

# Force-resume a failed mission (resets failed phase)
/attune:mission --resume --force

The resume command: 1. Loads saved mission state 2. Validates artifacts still exist 3. Continues from the last completed phase 4. Displays a summary of progress so far

Arguments

| Argument | Description | |----------|-------------| | `--type <type>` | Override auto-detected mission type: `full`, `standard`, `tactical`, `quickfix`, `review` | | `--phases <list>` | Custom phase sequence (comma-separated): `brainstorm,specify,plan,execute` | | `--resume` | Resume from saved mission state | | `--force` | With `--resume`: reset failed phase and retry | | `--auto` | Skip user checkpoints between phases |

Integration with Full Cycle

/attune:mission              ← Orchestrates everything below
  ├─ /attune:brainstorm      ← Phase 1 (if full)
  ├─ /attune:specify         ← Phase 2 (if full/standard)
  ├─ /attune:blueprint       ← Phase 3 (if full/standard/tactical)
  └─ /attune:execute         ← Phase 4 (always)

The mission command wraps the existing phase commands: you can still use individual commands for fine-grained control.

Examples

Example 1: Full New Project

/attune:mission
# Auto-detects: no artifacts → full mission
# Runs: brainstorm → specify → plan → execute

Example 2: Tactical from Existing Spec

/attune:mission
# Auto-detects: specification.md exists → tactical mission
# Runs: plan → execute

Example 3: Resume After Interruption

/attune:mission --resume
# Loads: .attune/mission-state.json
# Shows: "Resuming tactical mission, 12/24 tasks complete"
# Continues: execute phase from task T013

Example 4: Dogfood an Existing Feature

/attune:mission --type review
# Runs: scope -> investigate -> verify -> report
# Produces: reports/<topic>-<YYYY-MM-DD>.md
# No build artifacts read or written; war-room gate does not apply

Example 5: Force Full Lifecycle

/attune:mission --type full
# Ignores existing artifacts, starts from brainstorm

Mission vs. Individual Command Chaining

| Capability | Individual Commands | `/attune:mi

Read more
Ships withclaude-night-market

A plugin marketplace for Claude Code. Install only the plugins you need to run git workflows, code review, spec-driven development, and autonomous agents from inside your Claude Code session.

Get the whole plugin

Other commands on claude-night-market.