Create or update a structured plan directory with a PLAN.md index and numbered task files (001-*.md) containing checklists, tests, and completion criteria.
Creates structured plan directories with numbered task files and a master PLAN.md index.
/plugin marketplace add diversioteam/agent-skills-marketplace/plugin install plan-directory@diversiotechThis skill is limited to using the following tools:
references/advanced.mdDo not use this skill for ad-hoc todo lists, single-file notes, or when the user explicitly wants a different format.
Before writing any files, gather these inputs. If any are missing, ask the user for them explicitly.
| Input | Required | Description |
|---|---|---|
| Plan title | Yes | Human-readable name (e.g., "User Authentication Overhaul") |
| Plan slug | Yes | Hyphenated directory/file slug (e.g., user-auth-overhaul) |
| Target location | No | Directory path; defaults to docs/plans/<slug>/ or plans/<slug>/ |
| Task list | Yes | List of tasks with short names and scopes |
| Locked decisions | No | Key constraints or choices that must not change |
| Testing expectations | No | Commands, subsets, or manual QA requirements |
When updating an existing plan, read the current PLAN.md first to understand
context before modifying.
PLAN.md is the index, not the content. It contains only the purpose, usage instructions, locked decisions, and a task index with checkboxes. Detailed steps live in individual task files.
Task files use 3-digit numbering. Format: NNN-<slug>.md where NNN
is zero-padded (001, 002, ..., 999) and <slug> is hyphenated lowercase.
Every task file has six sections. Goal, Scope, Checklist, Tests, Completion Criteria, and Dependencies. All are required (use "None" for Dependencies if truly independent, "N/A" for Tests only with justification).
Checkboxes are the only status markers. Do not add "Status: Done"
fields, emoji indicators, or separate progress sections. Check - [x]
when complete, leave - [ ] when pending.
Mirror completion in PLAN.md. When all checklist items in a task file are checked, check the corresponding task in PLAN.md.
Do not renumber existing tasks. Once a task number is assigned and work has started, it is permanent. Append new tasks at the end.
Keep task files self-contained. A reader should understand the task from the file alone without reading other task files.
Track blockers explicitly. When a task is blocked, add a ## Blockers
section describing what's blocking and link to the blocking task or issue.
PLAN.md already exists. Read it, understand the current
state, and make targeted modifications.For new plans:
PLAN.md with the master index.001-*.md, 002-*.md, etc.).For updates:
PLAN.md and relevant task files.Keep it minimal. Include only:
Each task file must include:
As work completes:
| Scenario | Rule |
|---|---|
| Adding tasks | Append at the end with the next number |
| Removing tasks | Mark as "[REMOVED]" in PLAN.md; delete file only if user requests |
| Renaming tasks | Update both the task file and PLAN.md index entry |
| Reordering tasks | Do not renumber; use dependencies or notes to indicate order changes |
| Splitting tasks | Create new task files; mark original as "[SPLIT]" pointing to new tasks |
# <Plan Title> - Master Plan
## Purpose
- <Why this plan exists>
- <What it delivers when complete>
## How to Use
1. Work tasks in order unless dependencies indicate otherwise.
2. Check items in task files as they are completed.
3. This file is the index only; details live in task files.
## Decisions (Locked)
- <Key constraint or choice that should not change>
- <Another locked decision>
## Task Index
- [ ] 001 - <Task Name> (`001-<slug>.md`)
- [ ] 002 - <Task Name> (`002-<slug>.md`)
- [ ] 003 - <Task Name> (`003-<slug>.md`)
## Completion
- [ ] All tasks in the index are checked.
- [ ] All tests listed in task files pass.
- [ ] <Any additional project-specific completion criteria>
# NNN - <Task Name>
## Goal
<Single sentence describing the outcome of this task.>
## Dependencies
- Requires: 001, 002 (or "None" if independent)
- Blocks: 004, 005 (tasks waiting on this one)
## Scope
**In scope:**
- <What this task covers>
- <Another in-scope item>
**Out of scope:**
- <What this task explicitly does not cover>
## Checklist
- [ ] <Concrete implementation step with verifiable outcome>
- [ ] <Another concrete step>
- [ ] <Another concrete step>
## Tests
- [ ] Run `<test command>` and verify all pass
- [ ] Manual QA: <specific verification step>
## Completion Criteria
- [ ] <Measurable definition of done>
- [ ] <Another measurable definition>
## Notes
- <Optional: constraints, references, links, or warnings>
When a task is blocked, add a ## Blockers section immediately after Dependencies:
## Blockers
- **Blocked by:** External API not yet available (ETA: 2024-02-15)
- **Blocked by:** Waiting on 003 to complete first
- **Action needed:** Contact platform team for API access
Remove the Blockers section when the task is unblocked.
This Skill is designed to work with both Claude Code and OpenAI Codex.
plugins/plan-directory/commands/).name: plan-directory.For installation, see this repo's README.md.