| name | project-planner |
| description | Triage ideas, problems, and feature requests into the right format: proposal doc, feature issue, or bug report. Repo-aware โ discovers templates and docs structure from the current repository. Use when: (1) the user describes an idea, feature, or problem they want to track, (2) the user says "file a bug", "I have an idea", "let's plan this feature", or similar, (3) the user wants to break down a large feature into phases with GitHub issues. NOT for: actually implementing code (use coding-agent), reviewing PRs, or general questions about the codebase. |
Project Planner
Prerequisites
- git
- gh (GitHub CLI, authenticated via
gh auth login)
Triage user input into the right project artifact: a proposal (big idea with phases),
a feature issue (small enhancement), or a bug report (something's broken).
Repo Discovery
Before doing anything, discover the current repo's configuration:
- Run
git rev-parse --show-toplevel to find the repo root
- Check for
.project-planner.yml at the repo root โ if it exists, read it and
use its values for all paths, labels, and conventions
- If no config file, fall back to auto-discovery:
- Proposal template: look for
docs/proposals/TEMPLATE.md
- Issue templates: look in
.github/ISSUE_TEMPLATE/
- Docs directory: look for
docs/, mkdocs.yml
- If nothing found, use the fallback formats bundled with the skill
- If the repo has
CLAUDE.md or CONTRIBUTING.md, read for conventions
- Run
gh repo view --json name,owner to confirm the repo for issue creation
Config File: .project-planner.yml
Optional config file at repo root. All fields are optional โ auto-discovery fills gaps.
See project-planner.yml in the skill directory for a copy-paste starter.
project: MyProject
repo: owner/repo
proposals:
dir: docs/proposals
template: docs/proposals/TEMPLATE.md
index: docs/proposals/index.md
mkdocs_nav: true
issues:
labels:
feature: enhancement
bug: bug
Triage Rules
Determine the type by asking: does this need design work or multiple phases?
- Needs design decisions, multiple phases, or architectural thought โ Proposal
- Single, obvious change โ no design needed โ Feature issue
- Something is broken or behaving wrong โ Bug report
If unclear, ask the user: "Is this a quick fix or does it need a design doc?"
Workflow: Proposal
For big ideas that need phases and design.
- Discover proposal template (see Repo Discovery above)
- Research the codebase and any docs/ directory for relevant context
- Think through the design โ motivation, approach, trade-offs
- Break into shippable phases (each phase delivers user value)
- Write acceptance criteria at both levels (overall + per-phase)
- Create the proposal doc at
docs/proposals/<name>.md
- If
mkdocs.yml exists, add the proposal to the nav under Proposals
- If
docs/proposals/index.md exists, add to the Active Proposals list
- Create a GitHub issue for each phase using
gh issue create:
- Title:
<Proposal name>: Phase N โ <phase name>
- Body: phase goal, acceptance criteria, tasks as checklist, link to proposal
- Label:
enhancement
- Update the proposal doc with issue links for each phase
- Commit to a new branch and push
Proposal Quality Checklist
Before committing, verify:
Workflow: Feature Issue
For small, self-contained enhancements.
- Discover feature template (see Repo Discovery above)
- Create a GitHub issue using
gh issue create:
- Title: clear, action-oriented
- Body: summary, acceptance criteria as checklist, doc references if relevant
- Follow the repo's template format if one exists
- Label:
enhancement
- Report the issue number and URL to the user
Workflow: Bug Report
For problems and broken behavior.
- Discover bug template (see Repo Discovery above)
- Try to identify the relevant code by searching the codebase
- Create a GitHub issue using
gh issue create:
- Title:
Bug: <concise description>
- Body: description, steps to reproduce (if known), expected vs actual,
relevant code files/lines, related docs
- Follow the repo's template format if one exists
- Label:
bug
- Report the issue number and URL to the user
Important Rules
- Always use
gh issue create โ it's repo-aware, handles auth
- Always link back โ issues reference proposals, proposals reference issues
- Proposals stay forever โ status changes, docs never move or get deleted
- One proposal per feature โ don't cram multiple ideas into one doc
- Phases must be shippable โ each delivers user value, not just "backend work"
- Commit to a branch โ never push directly to main
- Respect repo conventions โ if the repo has CLAUDE.md or CONTRIBUTING.md, read
and follow its branch naming, commit message, and PR conventions