| name | slice-issues |
| description | Slice GitHub parent issues into reviewable real sub-issues. Use when Codex is asked to split, slice, decompose, refine, or plan a GitHub issue into child issues, sub-issues, implementation slices, or reviewable follow-up issues before implementation work begins. |
Slice Issues
Overview
Use this workflow to decompose a GitHub issue into reviewable implementation
slices before code changes begin. Prefer real GitHub sub-issues over textual
task lists so the backlog remains traceable and each slice can have its own
acceptance criteria, branch, PR, and verification.
This skill is GitHub-specific but engine-independent. Keep runtime-specific
integration details in adapters/.
Workflow
-
Identify the parent issue number or URL.
-
Read the parent issue body and comments before slicing.
-
Check existing open issues to avoid duplicate slices.
-
Decide whether the work should be split into sub-issues or kept in one PR
with clearly separated commits.
-
For each sliced task, create a child issue with GitHub's sub-issue support:
gh issue create --parent <parent> --title "<title>" --body "<body>"
Use --body-file instead of --body when the body is multi-line or
contains Markdown that would be awkward to quote safely.
-
Comment on the parent issue with the created child issue links and the
recommended implementation order.
-
Report the created child issues and any fallback used.
Slicing Rules
- Make each child issue independently reviewable and small enough for one
focused PR.
- Give each child issue a clear goal, scope, and acceptance criteria.
- Preserve the parent issue as the coordination point.
- Prefer dependency order over arbitrary numbering.
- Keep implementation work out of the slicing step unless the user explicitly
asks to continue into implementation.
- If a slice is only documentation, validation, generator behavior, or example
refresh work, make that boundary explicit in the title and acceptance
criteria.
Fallback
Use body links or Markdown task lists only when GitHub sub-issue creation is
unavailable or rejected by the CLI/API.
When fallback is used:
- Include the exact command that failed.
- Include the exact error returned by the CLI/API.
- Add the fallback links or task list to the parent issue.
- State in the final report that real sub-issues could not be created.
Relationship To Issue Implementation
After slicing is complete, use ../implement-issue-workflow/SKILL.md for each
child issue that needs implementation, branch, commit, push, and pull request
work.