/github-tools:github-planningfrom github-tools
Use when turning a requirement into a plan on GitHub, or changing a plan that is already there: decide whether the work is one issue or a parent issue with sub-issues, size each sub-issue as a goal that delivers on its own, include the steps that happen outside the repository (an approval, a contract, a vendor's answer, a manual setup), order them with blocked-by, date them with a milestone or a board's Start and Target, write each body in its form, keep the parts not yet decided as board drafts, and file it all. Also when a plan changes before or during the work (a new direction, a decision made in a later issue, a unit added, dropped, split or merged): what to rewrite in a body, what to say in a comment, what is a relation. Load it with github-issues, and with github-projects for a board: they say how each tool is called. Not for a single bug report, question or idea, starting or tracking the work (Status updates, closing finished issues), or branches and pull requests.
Ships in github-tools. 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.
A plan on GitHub is a set of issues, the relations between them and, where a team uses one, their items on a project board. This skill says how to shape a plan, which form each part takes, how to file it and how to change it later, so that a person or a later session can start the work from GitHub alone, without the conversation that produced the plan.
It uses the github_issue_… tools and, for a board, the github_project_…
tools. How each tool is called, how an issue or a board is named and what a
failure means are in the skills github-issues and github-projects: read
them before the first call. Some hosts show a tool or a skill under a longer
name (a server or plugin prefix before it).
Planning stops where the work starts. Starting a unit, opening its pull requests, moving its Status as it advances and closing it when it is done are not part of this skill.
GitHub's relations carry a plan's structure, and a body does not repeat them:
text goes stale, a relation does not. The one exception is the parent's
## Plan, which names its sub-issues to say what each one delivers.
| The plan must say | It lives in | Not in |
|---|---|---|
| a unit of work | an issue | a checklist line in another issue |
| a requirement made of several units | a parent issue with sub-issues | a label, a Parent: #n line |
| the order between units | blocked by, on the later issue | a numbered list, a phase in a title |
| which release | a milestone | a date in a title |
| when | the board's Start and Target, or the organization's Start date and Target date | a date in an issue's body |
| what sort of work | the kind, as the repository's issues use it | a prefix in the title |
| how far along | Status on the board, the parent's sub-issue progress, the issue's state | a percentage or a status line in a body |
| work nobody has decided to do yet | a draft on the board | an issue nobody will pick up |
Start from the smallest shape that fits:
A unit is the smallest goal that delivers something on its own. One pull request implements it, or a few that land together. Delivered means complete and checkable, not necessarily switched on: a feature that waits for a signature before it is turned on is done when it works. Test each candidate:
Never file an issue per pull request. The pull request holds the diff, the checks and the review beside its slice of the work, so an issue next to it says the same thing twice.
A plan has two tiers by default: the parent, and units under it. Every leaf is a unit. Add a tier between them only when a sub-issue itself splits into several goals that each deliver alone. A parent tracks: it has no branch and no outline. A requirement that must land in one piece is one unit, not a parent.
Blocked by means the later unit cannot start. When a unit can go ahead and only its last part waits (the switch-on waits for a signature), do not block the unit: make that part a step of its own.
GitHub allows 100 sub-issues per parent, eight levels deep, and a parent and its sub-issues must belong to the same owner. A milestone belongs to one repository: a sub-issue in another repository takes a milestone of the same title there.
While splitting a requirement, ask what has to happen outside the repository before it is done: an approval, a signed contract, an answer from a vendor, a key someone issues, a setting changed by hand, an announcement. A plan that lists only code looks finished while the release still waits on one of these.
A board is optional: a plan is complete as issues and relations. One board shows many requirements side by side, so never make a board per requirement. A board holds no specification and no acceptance; the parent issue does.
github_project_read with method: "view" finds it and
reports the route. A board found through the organization or the viewer
for a repository the user does not own may be shared or personal: ask
before filing there. When no board is found, ask whether the plan needs
one; do not create one unasked.fields. Where the board's date columns mirror the
organization's issue fields (issue_field: true in view), the dates are
the issue's own and are set with issue_fields (Start date,
Target date). Target is the day the work has to be done by; for an
outside step, the day its answer is needed. Never work a date out from a
lead time yourself: ask for it, and leave it unset until someone gives one.github_project_item_convert (never a new issue beside it) once
it needs a pull request, an assignee or a discussion, or has grown parts
worth sub-issues. Then write its body in the issue form, make its After
lines blocked-by relations and move its notes into comments.The four parts of a plan hold different things, so each has its own form.
An action phrase that states the work, in the repository's language: "Retry the upload once on a 5xx", not "Upload retries" and not a bare symptom. The detail goes in the body.
A draft has no relations and no comments, so its body carries the order and the history that an issue keeps elsewhere.
Two customers asked for a nightly copy of their notes, and support exports
them by hand today.
**Source**: [call notes with the support team, 2026-11-10](https://example.com/notes/1110)
**After**: Let people export every note in one file
**Together with**: Renew the storage contract
### Notes
- 2026-11-11: sales confirmed both requests
Notes comes last, so a dated line can be added with append_body. A
mention in a draft notifies nobody.
## Overview: the outcome and why, in one to three lines.## Details: constraints, principles and the business decisions still
open, each with where it will be settled. Long research goes in comments on
the parent; this section keeps what the units must respect.## Plan: every sub-issue still in the plan as - #n, with one line on
what it delivers, which the sub-issue panel does not say. A finished one
stays in the list; a dropped one leaves it. No checkboxes: the panel shows
progress. The list gives no order; blocked-by does.## Acceptance: the checks run after every sub-issue is done, as - [ ].
Never "all sub-issues closed", which says nothing the panel does not.A sub-issue, or an issue with no parent.
## Purpose: the single goal, in one or two lines.## Requirements: what must hold, as bullets.## Research (when there is any): the facts the requirements rest on, each
with its source. Copy in what the unit relies on from the parent's
research, so the unit reads on its own after the parent closes.## Implementation outline: the pull requests expected, as prose bullets,
each saying what it delivers. This list, not a set of issues, is how a unit
splits, so changing the split is a text edit.## Open decisions: what must be settled before the unit starts. They are
left open at planning on purpose: a later unit's boundaries depend on how
the earlier ones turn out. Leave the section out when nothing is open.## Acceptance: the checks that say it is done, as - [ ].## Purpose
Exports of large accounts fit in the vendor's storage.
## Steps
- [ ] Send the limit increase request through the vendor's form
- [ ] Answer the questions of the vendor's review
**Waiting on**: the vendor's account team, who answer within ten business days
## Acceptance
- [ ] The storage console shows the new limit on the production account
It has no outline and no open decisions: something not yet known about the
step is its first line ("Find out what the vendor's review asks for"), and a
decision the business still owes belongs in the parent's ## Details. When
the step is closed, ## Evidence says what shows that it happened: a link, a
date, who confirmed. Never the secret itself.
## Plan aside. No Parent: #n, no
step numbers, no percentage.#12, owner/repo#12, a
permalink with a commit and a line range for code, and a named link such as
[the vendor's reply, 2026-11-20](URL) for anything else. Never a bare
URL, and never a path on a machine. A source with no link is named in
words: who said it, and when. Put a long log in <details>. Write @name
only to notify.github_issue_read with method: "list", state: "all" and
the requirement's key words in query. Extend the issue that exists
instead of filing a second one.view a recent parent and one of its
sub-issues. They show the section names, the kinds, the milestone titles,
who is assigned, and whether the repository has issue fields
(issue_fields: null means it has none).view reports the route
that found it, its Status options (is there a Waiting?) and its date
fields.Ask the user only what a read cannot tell: the release, the dates, who does each outside step, and which board when several match.
Filing notifies people and cannot be taken back: these tools close an issue, they never delete one. So show the plan first and wait for a yes.
Parent Let people export every note in one file v2.0 · Roadmap, Target 2026-12-15
├ unit Export every note from the settings page
├ step Get the storage limit raised by the vendor @mika · Target 2026-11-28
├ unit Attach files to the export blocked by the vendor step
└ unit Document the export in the help pages blocked by the first unit
Draft Offer scheduled exports not decided
The tree is what the user agrees to. Show a body with it when the body holds a choice the user should see, or when asked. Say which choices you made without asking (a kind, a milestone, a split), so they can be changed before anything is written.
github_issue_create with its body, kind, milestone,
and project with fields when it goes on a board. Its ## Plan holds
the sub-issues' titles for now.blocked_by names an issue
that exists: github_issue_create with parent, blocked_by,
milestone, assignees, and project with fields for those that go on
the board.github_issue_edit with the body whose ## Plan
names each sub-issue as #n.github_project_item_create.A milestone that does not exist stops a call before anything is written.
Pass create_milestone: true only when the user agreed to a new milestone.
When a result lists errors, the issue or draft exists and one later step
failed. Never create it again. Fix that step on what exists, with
github_issue_edit, github_issue_relate or the board tools. When a result
has foreign: true, the repository is someone else's: stop and confirm
before filing the rest there.
view the parent: it has as many sub-issues as the plan.view each unit that waits on another: its blocked-by lists the blockers.
dependencies_error set means they could not be read, not that there are
none.item_list with content_repo shows each item with its Status
and dates.Then report the plan as links, what failed and how it was fixed, the choices made without asking, the outside steps someone has to start now, and anything only the web UI can do.
Waiting on line. An
undecided idea that would have been a draft is not filed as an issue: tell
the user about it.A plan changes: a direction is dropped before the work starts, a later unit settles something that reshapes an earlier one. Keep three things apart.
| Place | Holds | Why |
|---|---|---|
| an issue's body | the specification as it stands now | whoever opens the issue sees the truth without reading the thread |
| a comment | what changed and why | an edit to a body notifies nobody and keeps no reason |
| relations and fields | order, parentage, release and dates | written in a body, they go stale |
view the parent and each open sub-issue, and
look for lines the change makes untrue: in the units, and in the parent's
## Details and ## Acceptance.## Details and
## Acceptance where they changed, and its ## Plan lines. Comment on it
too.The bodies come before the relations, so nobody is unblocked into an outdated specification.
view the issue just before the edit and keep the lines you are about to
replace. body replaces the whole text, so a fresh read also keeps what
someone else added since.github_issue_edit with the new body, rewritten in place: no "Update"
section at the end, no struck-out text, no date. Change only the lines the
change touches; every other line stays as it was.github_issue_comment to say what changed (next section).A fixed typo or a clearer wording needs no comment. A change needs one when it changes what done means or what someone does next.
A comment has no template. Write it as you would tell a teammate.
>, after that sentence. The
old words are gone from the body, and the quote lets a reader see what
became what without opening the edit history. Quote only the lines that
changed. For a section rewritten as a whole, name the section instead, or
fold the old text in <details>. Quote nothing when lines were only added.#n when another issue caused the change.Attachments over 25 MB are now linked from the export instead of embedded.
> - Attachments are embedded in the export file
#13 settled that the vendor's limit stays at 5 TB, and a large account's
export does not fit under it with its attachments inside. The requirement is
rewritten to say so, and the acceptance check on the file's size is new.
#n. A reader of one issue should not have to
find another to learn why it changed.| The change | Do |
|---|---|
| requirements, acceptance or scope | rewrite the body, then comment |
| the order | github_issue_relate with add_blocked_by or remove_blocked_by; comment when it changes what someone can start |
| a release or a date | set the milestone or the date; comment only when someone relies on the old one |
| a unit is added | file it under the parent with its blocked-by, and add its line to the parent's ## Plan |
| a unit is dropped | github_issue_close with not_planned and the reason as its comment; remove its ## Plan line |
| a decision is still missing | add it to the unit's ## Open decisions, then comment |
| a draft changes | github_project_item_edit with the rewritten body and a dated line under Notes |
A dropped unit stays a sub-issue of its parent, where the panel shows it
closed as not planned. Look at what it blocked: each of those either no
longer needs it (remove the relation) or needs a replacement. A close that
finds the issue already closed posts no comment; post the reason with
github_issue_comment.
Nothing is deleted and no parent is left pointing at nothing.
github_issue_relate with remove_parent), so
the panel does not show the same work twice, and close it: not_planned
when it was replaced before its work was done, completed when its job
was done and only carried over.github_issue_relate
with parent), and rewrite the parent's ## Plan.## Plan aside.What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub craft-agent/github-tools --plugin github-tools7 skills in this plugin
/github-actionsUse when reading or acting on GitHub Actions through the github_workflow_* and github_run_* tools: list workflows, read a workflow file and its inputs, list runs, read a run with its jobs and failed logs, wait for a run to finish, re-run failed jobs, cancel a run, or start a workflow by hand (workflow_dispatch). Covers naming a workflow and a run, which actions ask every time, the reviewed commit (head_sha) and error codes. Not for a pull request's checks (github_pr_read), editing workflow files, enabling or disabling workflows, deleting runs, or downloading artifacts./github-issuesUse when reading or changing GitHub issues through the github_issue_* tools: view or list issues, search a repository's issues, create, edit, comment on, close or reopen an issue, set its kind (an Issue Type or a type: label), labels, assignees, milestone or organization issue fields (Priority, Effort, Start date, Target date), put a new issue on a board, relate issues (parent, sub-issues, blocked by, blocking), or link a development branch to an issue. Covers issue references, what each tool reports, partial failures and error codes. Not for pull requests, managing project boards and their items, or how to plan work (github-planning)./github-projectsUse when reading or changing GitHub project boards (Projects v2) through the github_project_* tools: find a board, list boards or a board's items, create a board with the standard Status, Start and Target fields and the Roadmap, Kanban and Backlog views, add a field or view, link a board to a repository, put an issue or pull request on a board, create a draft and turn it into an issue, set field values such as Status or dates, archive an item. Covers how a board is found, field values by name, the starting Status, partial failures and error codes. Not for the issues themselves (their title, labels, assignees, relations), pull requests, or how to plan work (github-planning).