wave-planner

Transform project issues into execution-ready implementation plans with risk prediction, wave-based organization, specialist agents, and TDD workflow

16 stars

Best use case

wave-planner is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

Transform project issues into execution-ready implementation plans with risk prediction, wave-based organization, specialist agents, and TDD workflow

Teams using wave-planner should expect a more consistent output, faster repeated execution, less prompt rewriting.

When to use this skill

  • You want a reusable workflow that can be run more than once with consistent structure.

When not to use this skill

  • You only need a quick one-off answer and do not need a reusable workflow.
  • You cannot install or maintain the underlying files, dependencies, or repository context.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/wave-planner/SKILL.md --create-dirs "https://raw.githubusercontent.com/diegosouzapw/awesome-omni-skill/main/skills/backend/wave-planner/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/wave-planner/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How wave-planner Compares

Feature / Agentwave-plannerStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

Transform project issues into execution-ready implementation plans with risk prediction, wave-based organization, specialist agents, and TDD workflow

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

SKILL.md Source

# Wave Planner

Transform project issues into execution-ready implementation plans with wave-based organization, specialist agent assignments, token estimates, and TDD workflow integration.

---

## Behavioral Classification

**Type**: Guided Decision

This skill asks for your input on key decisions, then executes based on your choices.

**Decision Points**:
1. Which scope? (P0 only, P0+P1, All issues)
2. Architecture decisions requiring clarification
3. Create ADRs for decisions?
4. Risk mitigation strategies

After decisions are made, artifact generation proceeds automatically.

---

## Quick Start

```
# Explicit invocation
/wave-planner Phase 3 Live Data

# Or use natural language (proactive trigger)
"Plan the implementation for the security hardening project"
"Break down the API redesign into waves"
"Create an implementation plan for PROJ-100"
```

---

## What This Skill Does

1. **Checks** for existing artifacts (plans, configs, projects) - MANDATORY
2. **Discovers** issues from your PM tool (Linear, GitHub, Jira)
3. **Surfaces** architecture decisions requiring clarification
4. **Predicts** blockers and fail cases, generates mitigations
5. **Organizes** issues into waves based on shared context
6. **Estimates** tokens using dynamic codebase analysis
7. **Assigns** specialist agents via LLM inference
8. **Generates** execution-ready artifacts (or updates existing)

---

## Pre-Flight Checks (MANDATORY)

Before wave execution, verify the environment. See **[preflight.md](preflight.md)** for the full script.

**Quick check**:

| Check | Command | Expected |
|-------|---------|----------|
| MCP Server | `grep claude-flow .mcp.json` | Found |
| Docker | `docker ps \| grep <project-name>` | Running |
| Git-crypt | `git-crypt status` | Unlocked |
| Linear | `linear issues list --limit 1` | Returns issues |

---

## Artifact Discovery (MANDATORY)

**ALWAYS check for existing artifacts before creating new ones.** Skipping discovery causes duplicate plans, wasted effort, and confusion.

### Discovery Checklist

```bash
# 1. Check for existing implementation plans
ls docs/execution/ | grep -i "<project-name>"

# 2. Check for existing hive-mind configs
ls .claude/hive-mind/ | grep -i "<project-name>"

# 3. Check Linear for existing project
npx tsx ~/.claude/skills/linear/scripts/linear-ops.ts list-initiatives | grep -i "<project-name>"
linear projects list | grep -i "<project-name>"

# 4. Check for related ADRs
ls docs/adr/ | grep -i "<topic>"
```

### When Duplicates Are Found

| Scenario | Action |
|----------|--------|
| Plan exists, not started | Review and update existing |
| Plan exists, partially executed | Continue from current wave |
| Plan exists, completed | Archive and create new if scope changed |
| Config exists, not executed | Use existing config |
| Linear project exists | Reuse, don't create duplicate |

---

## Planning Workflow

### Phase 1: Discovery

The skill detects your PM tool and fetches project issues:

```
Found 12 issues in "Phase 3 Live Data":
- 2 P0-Critical
- 4 P1-High
- 6 P2-Medium

Which scope should we plan?
A) P0-Critical only (2 issues)
B) P0 + P1-High (6 issues)
C) All issues (12 issues)
```

### Phase 2: Architecture Decisions

Decisions are surfaced one at a time to reduce cognitive load:

```
PROJ-101 requires an architecture decision:

**Where should security scan results be stored?**

A) Separate security_scans table
B) JSON column on skills table
C) Dedicated security schema (Recommended)

Should I create an ADR for this decision?
```

### Phase 3: Risk Analysis

The skill analyzes issues for potential blockers and fail cases:

```
Identified Risks:

1. **External Dependency Risk** (PROJ-101)
   - Issue: Feature relies on third-party API
   - Mitigation: Add fallback or cache layer

2. **Breaking Change Risk** (PROJ-102)
   - Issue: Schema changes may break existing clients
   - Mitigation: Version schema, add migration script
```

**Risk Categories**: External Dependency, Breaking Change, Integration, Performance, Security

### Phase 4: Wave Organization

Issues are grouped by shared code context to minimize agent context-switching:

```
Wave 1: Foundation (~81K tokens)
├── PROJ-101: Error handling
├── PROJ-102: Configuration setup
└── Agent: backend-developer

Wave 2: Feature Implementation (~95K tokens)
├── PROJ-103: Core feature
├── PROJ-104: API endpoints
└── Agent: backend-developer
```

### Phase 5: Artifact Generation

| Artifact | Location |
|----------|----------|
| Implementation Plan | `docs/execution/{project}-implementation-plan.md` |
| ADRs | `docs/adr/{number}-{slug}.md` |
| Hive Configs | `.claude/hive-mind/{project}-wave-{n}.yaml` |
| PM Sub-Issues | Created for code review findings |

---

## Execution

After planning, execute waves. See **[execution.md](execution.md)** for full details.

**Quick start**:

```bash
# Execute Wave 1
./claude-flow swarm "Execute Wave 1" \
  --config .claude/hive-mind/{project}-wave-1.yaml \
  --strategy development \
  --mode hierarchical
```

**Wave Completion Checklist** (from execution.md):
1. Run code review: `docker exec <container-name> npm run audit:standards`
2. Fix findings OR create Linear sub-issues
3. Update Linear issue status to Done
4. Commit with Co-Authored-By
5. Create PR if wave is complete

---

## Reference Documentation

For detailed information, see **[reference.md](reference.md)**:

- Output artifact formats (implementation plan, hive configs, ADRs)
- Token estimation calculations and budgets
- Agent assignment logic and triggers
- TDD workflow (red-green-refactor)
- PM tool adapters
- Example planning session

---

## Configuration

```yaml
# ~/.claude/skills/wave-planner/config.yaml
wave-planner:
  defaults:
    max_waves: 6
    max_issues_per_wave: 5
    token_budget_per_wave: 150000

  adapters:
    preferred: auto

  estimation:
    confidence_threshold: medium
    review_cycle_count: 2

  artifacts:
    create_adrs: true
    create_hive_configs: true
    create_sub_issues: true
```

### Environment

```bash
# PM tool credentials (via adapter)
LINEAR_API_KEY=lin_api_xxx
GITHUB_TOKEN=ghp_xxx
```

---

## Skill Composition

This skill orchestrates:

| Skill | Usage |
|-------|-------|
| `linear` | PM operations (fetch, update, create) |
| `hive-mind` | Generate execution configs |
| `governance` | Code review after commits |

If a required skill is unavailable, the skill will prompt for installation.

---

## Troubleshooting

### "Linear skill not available"

Install the Linear skill to `~/.claude/skills/linear/`

### "Cannot detect PM tool"

Specify explicitly:
```
/wave-planner --adapter linear "Project Name"
```

### "Token estimate seems high"

Check confidence level. Low confidence estimates include padding for unknowns. Refine issue descriptions or break into smaller issues.

---

## Related Skills

- [linear](https://github.com/wrsmith108/linear-claude-skill) - PM operations
- hive-mind - Swarm execution *(local skill, available after installation)*
- [governance](https://github.com/wrsmith108/governance-claude-skill) - Code review

---

## Changelog

### v1.4.0 (2026-01-23)
- **Refactor**: Decompose into sub-files for progressive disclosure
- Extract pre-flight checks to preflight.md
- Extract execution details to execution.md
- Extract reference documentation to reference.md
- Add Behavioral Classification section (ADR-025)
- Main SKILL.md reduced from 785 to ~350 lines

### v1.3.0 (2026-01-23)
- **New**: Artifact Discovery phase (MANDATORY before creation)
- Check for existing implementation plans before creating
- Check for existing hive-mind configs before creating
- Check Linear for existing projects/issues
- Discovery workflow with options to review, update, or archive

### v1.2.0 (2026-01-21)
- **New**: Pre-Flight Checks section
- **New**: Automated Code Review Trigger configuration
- **Enhanced**: Wave Completion Checklist with Linear enforcement
- Added "The Deferred Issue Rule" - no deferral without Linear ticket

### v1.1.0 (2026-01-21)
- **New**: Risk Analysis phase
- Predict blockers and fail cases before wave organization
- Auto-generate mitigations for identified risks
- Risk register added to implementation plan output

### v1.0.0 (2026-01-21)
- Initial release
- Linear adapter support
- Dynamic token estimation
- TDD workflow integration
- Hive mind config generation

Related Skills

Adaptive Daily Reflection & Planner

16
from diegosouzapw/awesome-omni-skill

An intelligent daily check-in assistant that adapts its depth based on user engagement. It collects key activities and emotions for daily summaries while extracting tasks for to-do list management.

molt-planner

16
from diegosouzapw/awesome-omni-skill

MoltPlanner is a Google Calendar integration skill enabling agents to collaborate with users for interactive event scheduling and management.

Wave Accounting Automation

16
from diegosouzapw/awesome-omni-skill

Automate Wave Accounting tasks via Rube MCP (Composio): invoices, customers, payments, and small business accounting. Always search tools first for current schemas.

seo-content-planner

16
from diegosouzapw/awesome-omni-skill

Creates comprehensive content outlines and topic clusters for SEO. Plans content calendars and identifies topic gaps. Use PROACTIVELY for content strategy and planning.

planner

16
from diegosouzapw/awesome-omni-skill

Generate staged project plans from design through deployment. Use when planning App Platform projects, breaking complex deployments into resumable stages, or tracking multi-step infrastructure setup.

Migration Planner

16
from diegosouzapw/awesome-omni-skill

Plan safe, zero-downtime migrations for schemas, services, and infrastructure

api-versioning-deprecation-planner

16
from diegosouzapw/awesome-omni-skill

Plans safe API evolution with versioning strategies, client migration guides, deprecation timelines, and backward compatibility considerations. Use for "API versioning", "deprecation planning", "API evolution", or "breaking changes".

agent-orchestration-planner

16
from diegosouzapw/awesome-omni-skill

Designs multi-step agent workflows with tool usage, retry logic, state management, and budget controls. Provides orchestration diagrams, tool execution order, fallback strategies, and cost limits. Use for "AI agents", "agentic workflows", "multi-step AI", or "autonomous systems".

bgo

10
from diegosouzapw/awesome-omni-skill

Automates the complete Blender build-go workflow, from building and packaging your extension/add-on to removing old versions, installing, enabling, and launching Blender for quick testing and iteration.

Coding & Development

mcp-create-declarative-agent

16
from diegosouzapw/awesome-omni-skill

Skill converted from mcp-create-declarative-agent.prompt.md

MCP Architecture Expert

16
from diegosouzapw/awesome-omni-skill

Design and implement Model Context Protocol servers for standardized AI-to-data integration with resources, tools, prompts, and security best practices

mathem-shopping

16
from diegosouzapw/awesome-omni-skill

Automatiserar att logga in på Mathem.se, söka och lägga till varor från en lista eller recept, hantera ersättningar enligt policy och reservera leveranstid, men lämnar varukorgen redo för manuell checkout.