Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Attune

Full-cycle project development from ideation to implementation.

Overview

Attune integrates the brainstorm-plan-execute workflow from superpowers with spec-driven development from spec-kit to provide a complete project lifecycle.

Workflow

graph LR
    A[Brainstorm] --> B[War Room]
    B --> C[Specify]
    C --> D[Plan]
    D --> E[Initialize]
    E --> F[Execute]

    style A fill:#e1f5fe
    style B fill:#fff9c4
    style C fill:#f3e5f5
    style D fill:#fff3e0
    style E fill:#e8f5e8
    style F fill:#fce4ec

Commands

CommandPhaseDescription
/attune:brainstorm1. IdeationSocratic questioning to explore problem space
/attune:war-room2. DeliberationMulti-LLM expert deliberation with reversibility-based routing
/attune:specify3. SpecificationCreate detailed specs from war-room decision
/attune:blueprint4. PlanningDesign architecture and break down tasks
/attune:init5. InitializationGenerate or update project structure with tooling
/attune:execute6. ImplementationExecute tasks with TDD discipline
/attune:upgrade-projectMaintenanceAdd configs to existing projects
/attune:missionFull CycleRun entire lifecycle as a single mission with state detection
/attune:validateQualityValidate project structure

Supported Languages

  • Python: uv, pytest, ruff, mypy, pre-commit
  • Rust: cargo, clippy, rustfmt, CI workflows
  • TypeScript/React: npm/pnpm/yarn, vite, jest, eslint, prettier

What Gets Configured

  • Git initialization with detailed .gitignore
  • ✅ GitHub Actions workflows (test, lint, typecheck, publish)
  • ✅ Pre-commit hooks (formatting, linting, security)
  • ✅ Makefile with standard development targets
  • ✅ Dependency management (uv/cargo/package managers)
  • ✅ Project structure (src/, tests/, README.md)

Quick Start

New Python Project

# Interactive mode
/attune:init

# Non-interactive
/attune:init --lang python --name my-project --author "Your Name"

Full Cycle Workflow

# 1. Brainstorm the idea
/attune:brainstorm

# 2. War room deliberation (auto-routes by complexity)
/attune:war-room --from-brainstorm

# 3. Create specification
/attune:specify

# 4. Plan architecture
/attune:blueprint

# 5. Initialize project
/attune:init

# 6. Execute implementation
/attune:execute

Skills

SkillPurpose
project-brainstormingSocratic ideation workflow
war-roomMulti-LLM expert council with Type 1/2 decision routing
war-room-checkpointInline RS assessment for embedded escalation during workflow
project-specificationSpec creation from war-room decision
project-planningArchitecture and task breakdown
project-initInteractive project initialization
project-executionSystematic implementation
makefile-generationGenerate language-specific Makefiles
mission-orchestratorUnified brainstorm-specify-plan-execute lifecycle orchestrator
workflow-setupConfigure CI/CD pipelines
precommit-setupSet up code quality hooks

Agents

AgentRole
project-architectGuides full-cycle workflow (brainstorm → plan)
project-implementerExecutes implementation with TDD

Integration

Attune combines capabilities from:

  • superpowers: Brainstorming, planning, execution workflows
  • spec-kit: Specification-driven development
  • abstract: Plugin and skill authoring for plugin projects

War Room Integration

The war room is a mandatory phase after brainstorming. It automatically routes to the appropriate deliberation intensity based on Reversibility Score (RS):

ModeRS RangeDurationDescription
Express≤ 0.40<2 minQuick decision by Chief Strategist
Lightweight0.41-0.605-10 min3-expert panel
Full Council0.61-0.8015-30 min7-expert deliberation
Delphi> 0.8030-60 minIterative consensus for critical decisions

The war-room-checkpoint skill can also trigger additional deliberation during planning or execution when high-stakes decisions arise.

Examples

Initialize Python CLI Project

/attune:init --lang python --type cli

Creates:

  • pyproject.toml with uv configuration
  • Makefile with test/lint/format targets
  • GitHub Actions workflows
  • Pre-commit hooks for ruff and mypy
  • Basic CLI structure

Upgrade Existing Project

# Add missing configs
/attune:upgrade-project

# Validate structure
/attune:validate

Configuration

Custom Templates

Place custom templates in:

  • ~/.claude/attune/templates/ (user-level)
  • .attune/templates/ (project-level)
  • $ATTUNE_TEMPLATES_PATH (environment variable)

Reference Projects

Templates sync from reference projects:

  • simple-resume (Python)
  • skrills (multi-language)
  • importobot (automation)
Initialize your first project with /attune:init to unlock: Project Architect