From attune
Orchestrates development lifecycle by auto-detecting project state from artifacts, selecting mission type, and routing to phases like brainstorm, specify, plan, execute. Use for new projects, resuming workflows, or tactical fixes.
npx claudepluginhub athola/claude-night-market --plugin attuneThis skill uses the workspace's default tool permissions.
- [Overview](#overview)
Searches, retrieves, and installs Agent Skills from prompts.chat registry using MCP tools like search_skills and get_skill. Activates for finding skills, browsing catalogs, or extending Claude.
Searches prompts.chat for AI prompt templates by keyword or category, retrieves by ID with variable handling, and improves prompts via AI. Use for discovering or enhancing prompts.
Creates isolated Git worktrees for feature branches with prioritized directory selection, gitignore safety checks, auto project setup for Node/Python/Rust/Go, and baseline verification.
Wraps the entire attune development lifecycle (brainstorm → specify → plan → execute) into a single mission with automatic state detection, type selection, and phase routing. Follows the "persistent presence lens" pattern from spec-kit:speckit-orchestrator — delegates entirely to existing skills via Skill() calls, never re-implements phase logic.
/attune:brainstorm, /attune:specify, etc.)1. State Detection
Scan for existing artifacts (project-brief.md, specification.md, etc.)
|
2. Mission Type Selection
Auto-detect type based on artifacts, or accept user override
|
3. Phase Routing Loop
For each phase in the mission type:
a. Pre-phase validation (check prerequisites)
b. Invoke Skill(attune:{phase-skill})
c. Post-phase artifact check (verify output exists)
d. Post-phase backlog triage (create GitHub issues
for out-of-scope items after brainstorm/specify)
e. Update mission state
f. User checkpoint (skippable with --auto)
g. Error handling via leyline:damage-control
|
4. Completion
All phases complete, final state saved
| Type | Phases | Auto-detected When |
|---|---|---|
full | brainstorm → specify → plan → execute | No artifacts exist |
standard | specify → plan → execute | docs/project-brief.md exists |
tactical | plan → execute | docs/specification.md exists |
quickfix | execute | docs/implementation-plan.md exists |
See modules/mission-types.md for full type definitions and custom type support.
| Phase | Skill Invoked | Artifact Produced |
|---|---|---|
| brainstorm | Skill(attune:project-brainstorming) | docs/project-brief.md |
| specify | Skill(attune:project-specification) | docs/specification.md |
| plan | Skill(attune:project-planning) | docs/implementation-plan.md |
| execute | Skill(attune:project-execution) | Implemented code + tests |
The orchestrator never re-implements phase logic. Each phase is a complete Skill() invocation that handles its own workflow.
Missions persist state to .attune/mission-state.json. On resume:
See modules/mission-state.md for the state schema and recovery protocol.
Define mission boundaries using the structured template from
references/mission-charter.md. A Mission Charter specifies:
See references/mission-charter.md for the full template and
examples.
Track progress with structured checkpoints using
references/progress-report.md. Generate reports at:
See references/progress-report.md for the template and
checkpoint rhythm guidance.
Skill(attune:project-brainstorming) - Brainstorm phaseSkill(attune:project-specification) - Specify phaseSkill(attune:project-planning) - Plan phaseSkill(attune:project-execution) - Execute phaseSkill(attune:war-room-checkpoint) - Risk assessment for RED/CRITICAL tasksSkill(leyline:risk-classification) - Task risk classificationSkill(leyline:damage-control) - Error recovery during phases/attune:mission - Invoke this skill/attune:mission --resume - Resume from saved state/attune:mission --type tactical - Override mission type.attune/mission-state.json