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:project-init5. InitializationGenerate or update project structure with tooling
/attune:arch-init5. InitializationInitialize with architecture-aware templates and paradigm research
/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:skill-library-sessionKnowledge TransferBuild a project skill library under .claude/skills/ as a resumable mission
/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:project-init

# Non-interactive
/attune:project-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:project-init

# 6. Execute implementation
/attune:execute

Skills

SkillPurpose
project-brainstormingSocratic ideation workflow
war-room-playbookMulti-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-init-playbookInteractive project initialization
project-executionSystematic implementation
makefile-generationGenerate language-specific Makefiles
mission-orchestratorLifecycle orchestrator with interactive plan review before execution
architecture-aware-initParadigm research and selection before scaffolding
skill-library-missionDiscover, author, and review a project skill library in .claude/skills/
dorodangoSuccessive quality-polish passes in fresh subagents
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

Interactive Plan Review

Before execution, the mission orchestrator challenges the plan. It runs leyline:additive-bias-defense over each plan section and walks you through the findings. Revisions go back to attune:project-planning. After three rounds you approve the plan as-is, abort, or restart from the specification. The approved plan then goes to the war room, and concerns or a rejection there start another revision round.

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 includes a Prosecution Counsel role that stress-tests proposals by probing failure modes, hidden costs, and unstated assumptions before the panel votes.

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

Discussion Publishing

After the Supreme Commander synthesis (Phase 7), the war room offers to publish the decision to a GitHub Discussion in the “Decisions” category. This requires user approval and checks for prior decisions on the same topic to avoid duplicates. The published Discussion includes the full decision record with alternatives considered, scoring breakdown, and implementation guidance. Local strategeion files remain the primary record; the Discussion is an additional cross-session discovery channel.

Examples

Initialize Python CLI Project

/attune:project-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:project-init to unlock: Project Architect