divide
Split a GitHub issue or task into session-sized issues and put them on the board. Use when a task is too big for one session or remaining work must be split…
by KrishP147★ 37 GitHub stars
Install divide in Claude Code & Claude Desktop
Sign up to install this skill
Create a free account to reveal the install command and save the skill to your library.
- Reveal the one-line install command
- Save skills to your synced library
- Get notified when skills update
About this skill
- Target repo per BOARD.md: resolve
origin(this skill needs it on GitHub),-R <owner>/<repo>on everyghcall, and on a fork ask which repo to write to before any write. - Read the target (
gh issue view <n> -R <owner>/<repo>, or the user's description), its existing children (gh api repos/<owner>/<repo>/issues/<n>/sub_issues, whichissue viewdoesn't show, and any task list in the body), plus any detail the caller passes (fromwayfinder: decision rows and resolution comments). - Session-sized = fits the ~75K-token smart zone and ends in one PR. Target already fits one session → don't divide: say so and stop. Else propose 2+ session-sized pieces, each with a "done when", covering only what no existing child (open or closed) already covers; list those children in the proposal. Show the split; create nothing yet. You revise the split → show it again and wait for the yes.
- On yes:
gh issue create -R <owner>/<repo> --title "<piece>" --body "Part of #<n>. <details>"per piece, then add a task-list checkbox per child to the parent's body; a parent that already has sub-issues gets each child attached as one instead (gh api repos/<owner>/<repo>/issues/<n>/sub_issues -X POST -F sub_issue_id=<id>,<id>fromgh api repos/<owner>/<repo>/issues/<a> -q .id), no checkboxes. Target read from another repo than the one written to (fork, per BOARD.md) → full cross-refs:Part of <owner>/<repo>#<n>naming the target's repo, and edit the parent (checkboxes as<owner>/<repo>#a, or sub-issue attach) only after a yes naming the parent's repo, else skip them and say so; the roadmap line (step 5) names children the same way (#n → <owner>/<repo>#a). Free-text target (no issue number) → there is no parent: omit "Part of", the checkboxes and the roadmap link (steps 3 and 5), and put the shared context in each child's body. - Put each child on the board at Todo (BOARD.md).
- Roadmap doc links the parent → add
#n → #a, #bbeside it and commit only that file (git add <roadmap path>), asdocs: divide #n into #a/#b/#c…(every child). Commit on the current branch; on the default branch, make a branch first per the repo's branch rules, and once committed report the branch + SHA, ask whether to push and open a PR (push only on a yes), then switch back to the branch you started on. - Issue target: parent now only tracks children → say so; offer to close it once they land.
Allowed tools
Tools this skill is permitted to call.
No restriction — this skill can use any tool.
Bundled files
- README.md
FAQ
What does the divide skill do?
Split a GitHub issue or task into session-sized issues and put them on the board. Use when a task is too big for one session or remaining work must be split off.
How do I install the divide skill?
Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.
Does the divide skill run scripts?
No, this skill is instructions only (SKILL.md) with no executable scripts.
Related skills
theme-factory
AnthropicToolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
access
AnthropicManage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
configure
AnthropicSet up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
access
AnthropicManage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…