Epic decomposition into trackable issues. Triggers: "create a plan", "plan implementation", "break down into tasks", "decompose into features", "create beads issues from research", "what issues should we create", "plan out the work".
View on GitHubboshu2/agentops
agentops
February 1, 2026
Select agents to install to:
npx add-skill https://github.com/boshu2/agentops/blob/main/skills/plan/SKILL.md -a claude-code --skill planInstallation paths:
.claude/skills/plan/# Plan Skill
> **Quick Ref:** Decompose goal into trackable issues with waves. Output: `.agents/plans/*.md` + bd issues.
**YOU MUST EXECUTE THIS WORKFLOW. Do not just describe it.**
## Execution Steps
Given `/plan <goal>`:
### Step 1: Setup
```bash
mkdir -p .agents/plans
```
### Step 2: Check for Prior Research
Look for existing research on this topic:
```bash
ls -la .agents/research/ 2>/dev/null | head -10
```
Use Grep to search `.agents/` for related content. If research exists, read it with the Read tool to understand the context before planning.
### Step 3: Explore the Codebase (if needed)
**USE THE TASK TOOL** to dispatch an Explore agent:
```
Tool: Task
Parameters:
subagent_type: "Explore"
description: "Understand codebase for: <goal>"
prompt: |
Explore the codebase to understand what's needed for: <goal>
1. Find relevant files and modules
2. Understand current architecture
3. Identify what needs to change
Return: key files, current state, suggested approach
```
### Step 4: Decompose into Issues
Analyze the goal and break it into discrete, implementable issues. For each issue define:
- **Title**: Clear action verb (e.g., "Add authentication middleware")
- **Description**: What needs to be done
- **Dependencies**: Which issues must complete first (if any)
- **Acceptance criteria**: How to verify it's done
### Step 5: Compute Waves
Group issues by dependencies for parallel execution:
- **Wave 1**: Issues with no dependencies (can run in parallel)
- **Wave 2**: Issues depending only on Wave 1
- **Wave 3**: Issues depending on Wave 2
- Continue until all issues assigned
### Step 6: Write Plan Document
**Write to:** `.agents/plans/YYYY-MM-DD-<goal-slug>.md`
```markdown
# Plan: <Goal>
**Date:** YYYY-MM-DD
**Source:** <research doc if any>
## Overview
<1-2 sentence summary of what we're building>
## Issues
### Issue 1: <Title>
**Dependencies:** None
**Acceptance:** <how to verify>
**Description:** <what to do>
### Is