/lorenzh:planning-milestonesfrom lorenzh
GitHub release planning for open issues. Use when the user asks which issues go into the next patch or minor release, to spread the backlog over the upcoming milestones, to balance milestones, to plan the next release, or to move issues so that they fit together best. Not for judging whether single issues are still valid or fit their milestone (use issue triage).
Ships in lorenzh. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Decide which open issue ships in which release, show the plan as one table, and apply it to GitHub only after the owner approves.
A milestone is a set of issues that can ship together: a dependency sits in the same or an earlier milestone, the work that touches the same files sits in one release, and no release holds more than the others can bear. A plan that splits by title keywords breaks the dependency order and produces merge conflicts.
Start from fresh issue-triage verdicts: still valid, partly fixed, already fixed, duplicate, obsolete or unclear. If an issue-triage skill or tool is available, use it. When no triage is fresh, apply the same evidence rule: check each issue against origin/$main with a file:line, SHA or PR, and leave a guess as unclear.
Fetch origin, find the default branch $main, and record its SHA. Write open issues and milestones to a temp directory. Read individual issues with gh issue view <n> --json number,title,body,comments,labels,milestone. Collect inputs without changing GitHub state:
git fetch -q origin
main=$(gh repo view --json defaultBranchRef -q .defaultBranchRef.name)
git rev-parse "origin/$main"
t=$(mktemp -d)
gh issue list --state open --limit 1000 --json number,title,labels,milestone,createdAt > "$t/issues.json"
Keep milestone numbers for the fallback in step 7:
gh api --paginate 'repos/{owner}/{repo}/milestones?state=open' --jq '.[] | {number, title, description, due_on}' > "$t/milestones.json"
Take three inputs:
still valid, and for each partly fixed issue the remaining work the triage verified; plan that remaining work as the issue. Leave out already fixed, duplicate, obsolete and unclear; report them as a note for further evidence-based triage. Use an available issue-triage skill or tool; otherwise check the default-branch code yourself and leave unsupported verdicts unclear.Done when the temp directory holds both lists and you have written down the main SHA, the milestones in order, each with its rule, plus the theme and caps (or "none named").
An issue that needs a decision from the owner (a name, a scope, a design choice) or a check the agent cannot run (a platform, a device, a service the agent has no access to) is blocked on owner. It gets a milestone proposal only as a tentative note, and it does not count toward any milestone's count or size. A blocked issue counted as ready makes a release look full of work nobody can finish.
Done when every issue is either ready or blocked on owner with the missing decision or check named.
For each ready issue, read the code it touches and write down the files or module, and a size from that reading:
S: one function or file, no new behaviour to design.M: several files in one module, or a new source or view.L: several modules, a data or API change, or a design concept.A size comes from the code, never from the title. Dependencies come from the body ("blocked by", "after #"), from issue comments and from the code (one change needs a function another adds).
An issue that depends on a blocked on owner issue is blocked too: mark it blocked on owner: waits for #<n> and take it out of the counts.
Done when every ready issue has files or module, a size and a depends on entry (an issue number or none), and every issue that depends on a blocked issue is marked blocked.
Place the issues by these rules, in rank order; when two rules conflict, the higher one wins:
#2 and #11 (small fixes in pane.tsx) ship before #5 (the new pane layout that rewrites pane.tsx).Order inside a release:
Done when every ready issue has one proposed milestone, or unassigned: no milestone fits with the reason, and each dependency sits in the same or an earlier milestone.
Balance by count and by size. Target the same count and the same S/M/L weight in every milestone the plan fills, within what the order rules allow. Report count and size per milestone, for example v0.7: 8 issues (4 S, 3 M, 1 L). Flag a milestone that exceeds a cap the owner named, and say which issue to move and what it breaks.
A milestone of 14 next to one of 3 means the grouping, not the capacity, decided the plan. Rebalance by moving the issues with no dependents first.
Done when each milestone's count and size are computed and the plan has no unflagged cap breach.
The answer is exactly these parts, in order:
Issue | Proposed milestone | Reason | Depends on. Put blocked issues at the end with blocked on owner: <what is missing> in the milestone cell.An answer in this shape (table cut to three rows):
owner/demo @ 4f2a9c1: 9 ready, 2 blocked on owner
| Issue | Proposed milestone | Reason | Depends on |
|---|---|---|---|
| #21 Data loss when the sync file is locked | v1.2 | data loss; fits "fixes only" | none |
| #24 Sync over SSH | v1.3 | feature; needs the transport #22 adds | #22 |
| #27 Sync to a NAS share | blocked on owner: needs a NAS the agent cannot reach | tentative v1.3 | none |
v1.2: 4 issues (3 S, 1 M)
v1.3: 5 issues (2 S, 2 M, 1 L)
Apply this plan, and record it?
Change nothing on GitHub before the owner replies. A move notifies every watcher and cannot be quietly undone.
Done when the reply holds the table and the question and no GitHub state has changed.
Apply each move by milestone title:
gh issue edit <n> --milestone "<title>"
If that fails with a GraphQL error on projectCards, apply by milestone number through the REST API instead:
gh api -X PATCH repos/{owner}/{repo}/issues/<n> -F milestone=<milestone number>
Re-read up to 3 times, 5 s apart (tunable); report a move as applied only when the read shows the new milestone. The API lags, and the first read can show the old state.
gh api repos/{owner}/{repo}/issues/<n> --jq '{number, milestone: .milestone.title, state}'
Never close an issue here or edit a milestone description. Issue closure needs separate evidence-based triage and the owner's explicit approval; milestone descriptions belong to the owner. Record the plan only when the owner agreed: one short comment or a tracking issue that lists each milestone's issue numbers.
Done when each approved move shows the new milestone in the re-read, and the reply lists what was applied, what was left and where the plan was recorded (or "not recorded").
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
27 skills in this plugin
/checking-before-publishingPrivacy check for anything about to go public. Use when about to post an issue or PR comment, opening a PR, committing, pushing, publishing a release, blog post or README, or sharing screenshots, GIFs, videos or terminal recordings; when relaying a subagent's text to a public place; or when the user asks to "check for private data", "scrub" or "redact" something before sharing./cloning-voices-with-kittenttsVoice cloning with KittenTTS 2 from a short recording and text. Use when users say "kitten tts", "Stimme klonen", "clone my voice", "sprich diesen Text mit meiner Stimme", or "text to speech with my voice" and want a speech WAV.
/competing-implementationsImplementation competition for one task. Use when the user asks to have two agents compete on a change, wants competing implementations, asks to compare implementations and ship the winner, or asks for competing implementations on several dependent issues in waves./creating-worktreesGit worktree setup and cleanup for isolated parallel work. Use when the user asks to "work in a worktree", wants an isolated workspace or a parallel branch checkout, is about to execute an implementation plan that should not touch the current checkout, asks how to install dependencies or copy .env files into a worktree, wants a coding agent or sandbox to work in one, or asks to remove or clean up a worktree, or when worktrees fill the disk (ENOSPC, "No space left on device")./cutting-releasesRelease workflow from version bump to verified install. Use when the user asks to "cut a release", "release x.y.z", "ship a new version" or publish to npm or another registry, or when a release was tagged but the package, the back-merge to main or the installed version still needs checking./directing-videosVideo directing workflow for demos, screencasts, terminal tours, tutorials, launch videos and short films. Use when the user asks to plan, script, storyboard or direct a video, wants a "tour of all features", a demo or launch video, asks how long or how paced a video should be, or asks whether a recorded cut is ready to publish.npx claudepluginhub lorenzh/skills --plugin lorenzh