plan-to-issues
Skill31 starsChanged 7 months agoMITView on GitHub
Convert a PLAN into GitHub issues with native sub-issue hierarchy. Use when a plan is ready to be registered as deployable, independent work items. Creates self-contained issues where each sub-issue can be independently branched, PRed, and merged.
6 other projects use a version of this.
Adopted by
Most recently taken up by
- TanKaizokuO/claude-skillstheir own version, first seen Nov 8, 2026
- corezoid/corezoid-ai-plugintheir own version, first seen Nov 6, 2026
- prestarius/jet-skills-stacktheir own version, first seen Nov 1, 2026
- cdifulv/skillstheir own version, first seen Oct 13, 2026
- markoblogo/abvx-agent-skillstheir own version, first seen Jun 14, 2026
- BrianProcopio/claude-skillstheir own version, first seen Apr 28, 2026
Other versions6 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 6
- corezoid/corezoid-ai-plugin★ 74same name
- markoblogo/abvx-agent-skills★ 16same name
- cdifulv/skills★ 1same name
- prestarius/jet-skills-stack★ 1same name
- BrianProcopio/claude-skills★ 0same name
- TanKaizokuO/claude-skills★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository9 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- .github/copilot-instructions.mdCopilot instructions
- .cursor/rules/auto-agent.mdcCursor rule
- .cursor/rules/imports.mdcCursor rule
- parallel-issuesSkill
- retroSkill
- shipSkill
- taskmaestroSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
20 rules. 0 are common, 10 are distinctive, and 10 are very specific to this project.
0
Common
Most of the 6 edited versions we read keep these.
10
Distinctive
This author's own choices. Worth a look.
10
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 18
Follow every step in order.
- Very specific: line 28
Check if $ARGUMENTS is provided:
- Very specific: line 31
Verify the file exists (test -f "$ARGUMENTS"), then read it.
- Very specific: line 35
If $ARGUMENTS is not a valid file path, use it as plan description.
- Very specific: line 39
Read docs/codingbuddy/context.md and extract the most recent PLAN section's decisions and notes.
- Distinctive: line 42
If no plan source is found, stop and ask the user to run PLAN first.
- Distinctive: line 51
Search for existing issues with similar titles to prevent duplicates:
- Distinctive: line 56
If duplicates found, inform the user and ask whether to continue or update existing issues.
- Distinctive: line 90
Add priority based on plan ordering and dependencies:
- Very specific: line 91
No dependencies, foundational work → priority:must
- Distinctive: line 94
Use only labels that already exist in the repository (from Step 2)
- Distinctive: line 95
Do NOT create new labels
- Distinctive: line 126
Titles: Always in English, under 70 characters
- Very specific: line 127
Body/comments: Follow the project's configured language (check codingbuddy config or recent issues)
- Distinctive: line 128
Labels: Use only existing labels from Step 2, do NOT create new labels
- Distinctive: line 192
Wait for user approval. Apply any requested changes.
- Very specific: line 261
Add sub-issue label to the sub-issue (if the label exists)
- Very specific: line 262
Add a comment on the parent issue listing the sub-issue: Sub-issue: #NNN — <title>
- Very specific: line 263
Add a comment on the sub-issue: Parent: #PARENT_NUM
- Very specific: line 347
If the codingbuddy MCP server is available, prefer calling update_context instead:
“Common” is measured: kept by at least 6 in 10 of the 6 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Plan to Issues
Convert a completed PLAN into GitHub parent + sub-issues using native sub-issue API.
Follow every step in order. Stop and report if any step fails.
Three Principles
- Independent — Each sub-issue is self-contained. A new session with zero context can start work from the issue alone.
- Deployable — Each sub-issue can be independently branched, PRed, and merged without breaking existing functionality.
- Structured — Issue body has essentials only. Technical details and background go into comments.
Step 1: Determine Plan Source
Check if $ARGUMENTS is provided:
- With file (
/plan-to-issues docs/plans/my-plan.md): Verify the file exists (test -f "$ARGUMENTS"), then read it. Save the path:PLAN_FILE="$ARGUMENTS"(used later for bidirectional linking). - With text (
/plan-to-issues "Add caching layer"): If$ARGUMENTSis not a valid file path, use it as plan description. SetPLAN_FILE=""(no file to link back to). - Without arguments (
/plan-to-issues): Readdocs/codingbuddy/context.mdand extract the most recent PLAN section's decisions and notes. SetPLAN_FILE=""(no file to link back to).
If no plan source is found, stop and ask the user to run PLAN first.
Step 2: Check GitHub Environment
REPO=$(gh repo view --json nameWithOwner --jq .nameWithOwner)
gh label list --json name --jq '.[].name'Search for existing issues with similar titles to prevent duplicates:
gh issue list --state open --search "<plan-title-keywords>" --json number,title --jq '.[] | "#\(.number) \(.title)"'If duplicates found, inform the user and ask whether to continue or update existing issues.
Step 3: Decompose into Deployable Units
Extract work units from the plan. For each candidate unit, verify:
For each unit:
Can this be merged independently without breaking existing features?
├── YES → Keep as separate sub-issue
└── NO → Merge with related unit(s) into one sub-issue
Does this modify the same files as another unit?
├── YES → Consider merging or enforce ordering
└── NO → Safe for parallel workClassify dependencies:
- Parallel — No shared files, no ordering needed
- Sequential — Must complete A before B (note in comment, but both are independently deployable)
Step 3b: Determine Labels
Parent issue labels
Infer type from plan content:
- New functionality →
feat - Improving existing code →
refactororchore - Fixing a problem →
fix - Documentation only →
documentation
Sub-issue labels
- Inherit the type label from parent
- Add priority based on plan ordering and dependencies:
- No dependencies, foundational work →
priority:must - Depends on other sub-issues →
priority:should - Nice-to-have, can be deferred →
priority:could
- No dependencies, foundational work →
- Use only labels that already exist in the repository (from Step 2)
- Do NOT create new labels
Step 4: Draft Issue Content
Parent issue body (overview only)
## Overview
[1-2 sentences: what and why]
## Background
[2-3 sentences: context and motivation]
## Plan Document
<!-- Include ONLY when PLAN_FILE is non-empty -->
Source plan: [`<PLAN_FILE>`](<permalink>) <!-- permalink = GitHub blob URL for the file -->
## Sub-issues
Linked via GitHub native sub-issues (see Sub-issues section below).
| # | Title | Deployable | Depends on |
|---|-------|-----------|------------|
| 1 | ... | Yes | — |
| 2 | ... | Yes | — |
| 3 | ... | Yes | #1 recommended |Conditional: Omit the
## Plan Documentsection entirely whenPLAN_FILEis empty (text or context-based plans).
Issue content rules
- Titles: Always in English, under 70 characters
- Body/comments: Follow the project's configured language (check codingbuddy config or recent issues)
- Labels: Use only existing labels from Step 2, do NOT create new labels
Sub-issue body (essentials only)
## Purpose
[1-2 sentences: why this work item exists]
## Changes
- `path/to/file.ts` — what changes
- `path/to/other.ts` — what changes
## Acceptance Criteria
- [ ] Specific, verifiable criterion 1
- [ ] Specific, verifiable criterion 2
- [ ] Existing tests pass
- [ ] Can be merged independentlySub-issue comments (details and background)
Comment 1 — Technical Details:
## Technical Details
### Exact Changes
[Precise code/config/YAML changes to make]
### Steps
1. [Concrete step]
2. [Concrete step]Comment 2 — Background & References (if needed):
## Background
[Why this approach was chosen]
## References
- [Link 1](url)
- [Link 2](url)
## Dependencies
- Precedes: #NNN depends on this
- Follows: Recommended after #NNN (but independently deployable)Step 5: Confirm with User
Present a summary before creating anything:
Plan: "<title>"
Parent: "<parent title>" (labels: <detected labels>)
Sub-1: "<title>" — <files> (deploy: independent)
Sub-2: "<title>" — <files> (deploy: independent)
Sub-3: "<title>" — <files> (deploy: independent, after Sub-1 recommended)
Total: <N> sub-issues, all independently deployable
Proceed?Wait for user approval. Apply any requested changes.
Step 6: Create Issues on GitHub
6a. Create parent issue
Build the parent body from Step 4. When PLAN_FILE is non-empty, include the ## Plan Document section
with a permalink constructed as:
BRANCH=$(git rev-parse --abbrev-ref HEAD)
PLAN_LINK="https://github.com/$REPO/blob/$BRANCH/$PLAN_FILE"PARENT_URL=$(gh issue create \
--title "<title>" \
--label "<labels>" \
--body "$(cat <<'EOF'
<parent body from Step 4, with Plan Document section if PLAN_FILE is set>
EOF
)")
PARENT_NUM=$(echo "$PARENT_URL" | grep -o '[0-9]*$')6b. Create sub-issues (in parallel if independent)
For each sub-issue:
SUB_URL=$(gh issue create \
--title "<title>" \
--label "<labels>" \
--body "$(cat <<'EOF'
<sub-issue body from Step 4>
EOF
)")
SUB_NUM=$(echo "$SUB_URL" | grep -o '[0-9]*$')6c. Add comments to each sub-issue
gh issue comment $SUB_NUM --body "$(cat <<'EOF'
<Comment 1: Technical Details>
EOF
)"
# Only if background/references exist:
gh issue comment $SUB_NUM --body "$(cat <<'EOF'
<Comment 2: Background & References>
EOF
)"6d. Link sub-issues to parent via GitHub native API
# Get the internal ID (not node_id) for the sub-issue
SUB_ID=$(gh api /repos/$REPO/issues/$SUB_NUM --jq .id)
# Create native sub-issue relationship
gh api /repos/$REPO/issues/$PARENT_NUM/sub_issues \
-X POST -F sub_issue_id=$SUB_ID --jq '.id'Repeat for every sub-issue.
If the sub-issue API fails (HTTP 500, 422, or 404):
- Add
sub-issuelabel to the sub-issue (if the label exists) - Add a comment on the parent issue listing the sub-issue:
Sub-issue: #NNN — <title> - Add a comment on the sub-issue:
Parent: #PARENT_NUM - Inform the user: "Native sub-issue linking failed. Linked via labels and comments instead. You can manually link at github.com."
- Continue with remaining sub-issues — do NOT stop the entire process
6e. Update parent body with sub-issue numbers
Edit the parent issue body to include actual sub-issue numbers in the table.
gh issue edit $PARENT_NUM --body "$(cat <<'EOF'
<updated body with #NNN references>
EOF
)"6f. Update plan document with issue references
Skip this step if PLAN_FILE is empty.
Append a ## Created Issues section to the plan document so the plan links forward to its issues:
if [ -n "$PLAN_FILE" ]; then
cat >> "$PLAN_FILE" <<EOF
---
## Created Issues
> Auto-generated by \`/plan-to-issues\` — do not edit manually.
- **Parent**: #${PARENT_NUM} — <parent title>
$(for i in $(seq 1 ${#SUB_NUMS[@]}); do
echo "- **Sub-issue**: #${SUB_NUMS[$i]} — <sub-issue $i title>"
done)
**Created**: $(date -u +"%Y-%m-%dT%H:%M:%SZ")
EOF
fiThis creates a bidirectional link: the parent issue points to the plan (via ## Plan Document),
and the plan points back to all created issues (via ## Created Issues).
Step 7: Report Result
Registered <N> issues:
Parent: #<num> — "<title>"
Sub: #<num> — "<title>" (deploy: independent)
Sub: #<num> — "<title>" (deploy: independent)
Sub: #<num> — "<title>" (deploy: independent, after #<num> recommended)
Comments: Technical details added to each sub-issue
Hierarchy: GitHub native sub-issues linked
Bidirectional links: <status>
- Parent issue → plan document: <YES if PLAN_FILE was set, otherwise SKIPPED>
- Plan document → issues: <YES if PLAN_FILE was set, otherwise SKIPPED>Print all issue URLs.
Step 7b: Update Context Document
Record the created issues in docs/codingbuddy/context.md for cross-session continuity.
Collect all sub-issue numbers from Step 6 into a space-separated variable SUB_NUMS.
TIMESTAMP=$(date -u +"%Y-%m-%dT%H:%M:%SZ")
mkdir -p docs/codingbuddy
cat >> docs/codingbuddy/context.md <<EOF
## Plan-to-Issues Result (${TIMESTAMP})
- **Parent Issue**: #${PARENT_NUM}
- **Sub-issues**: $(for n in $SUB_NUMS; do printf "#%s " "$n"; done)
- **Created At**: ${TIMESTAMP}
- **Total**: $(echo $SUB_NUMS | wc -w | tr -d ' ') sub-issues
EOFIf the codingbuddy MCP server is available, prefer calling update_context instead:
update_context({
mode: <current_mode>,
progress: ["Plan-to-Issues: parent #PARENT_NUM, sub-issues #N1 #N2 ..."],
notes: ["Issues created at TIMESTAMP via plan-to-issues skill"]
})Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

