/github-workflow:plan-to-issuefrom github-workflow
Saves an implementation plan as a GitHub issue for execution in a separate Claude Code session. Parses plan files, gathers repo context, and creates labeled issues.
Ships in github-workflow. 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.
Read when SKILL.md points to them.
Save an implementation plan as a GitHub issue for execution in a separate Claude Code session.
Announce at start: "Saving implementation plan to GitHub issue."
Search from the git repository root:
REPO_ROOT=$(git rev-parse --show-toplevel)
ls -t "$REPO_ROOT"/docs/plans/*.md 2>/dev/null | head -1
If no plan files found, check if user specified a file path. If still nothing, report error: "No plan files found in docs/plans/. Please specify the plan file path."
Read the plan file content using the Read tool.
Run these commands to get repository and branch info:
# Repository (owner/repo format)
gh repo view --json nameWithOwner -q .nameWithOwner
# Current branch
git branch --show-current
# Working directory
pwd
Structure the issue body as follows:
> **For Claude:** Use `superpowers:executing-plans` skill to implement this plan task-by-task.
> Start in the worktree directory shown below.
**Context**
| Field | Value |
|-------|-------|
| Repository | {owner/repo} |
| Branch | {branch-name} |
| Working directory | {pwd} |
| Plan file | {relative path to plan file} |
---
{Full plan file content}
Parse the first # heading from the plan file as the issue title.
If no heading found, use the filename (without date prefix and extension).
Use --body-file - to handle large plans (avoids command-line length limits):
echo "$BODY" | gh issue create --title "{title}" --body-file - --label "plan"
If the "plan" label does not exist, create without labels:
echo "$BODY" | gh issue create --title "{title}" --body-file -
Show the created issue URL and suggest how to use it:
"Plan saved to {issue_url}
To execute in a separate session:
gh auth loginecho "$BODY" | gh issue create --body-file - to preserve formattingsuperpowers:executing-plans reference so the next session knows what skill to useWhat SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub dapi/claude-code-marketplace --plugin github-workflow3 skills in this plugin
/github-issues**UNIVERSAL TRIGGER**: Use when user mentions GitHub issue URL or asks to read/work with GitHub issues.
**Default handler**: Bare GitHub issue URL without action verb -> github-issues (read mode).
If user sends just a URL like "https://github.com/org/repo/issues/42" with no action word, this skill handles it.
**CRITICAL RULE**: ALWAYS use `gh` CLI for GitHub issues, NEVER use WebFetch!
**Reading**: "read issue #N", "show issue", "прочитай задачу"
✅ **Checkboxes**: "mark done", "complete step", "отметь пункт"
**Sub-issues**: "create sub-issue", "link as child", "подзадача"
**Management**: "edit issue", "close issue", "add label"
️ **Images**: "download images from issue", "скачать картинки"
TRIGGERS:
github.com/issues, issue #, read issue, show issue, view issue,
прочитай issue, покажи issue, задача
✅ checkbox, mark done, complete step, check off,
отметь пункт, закрой этап
sub-issue, subtask, child issue, parent issue,
подзадача, создай подзадачу
edit issue, close issue, reopen issue, issue labels,
create issue, update task
️ download images, issue attachments, скачать картинки
/worktree-init-script**UNIVERSAL TRIGGER**: Use when creating git worktrees in projects with init.sh - extends using-git-worktrees to run project-specific initialization script after worktree setup.
**Activation**: Automatic when `using-git-worktrees` is invoked and `init.sh` exists in project root.
**Setup**: "run init.sh", "initialize worktree", "project setup script"
**Create**: "create worktree", "set up workspace", "new worktree"
**Check**: "check init.sh", "verify project setup"
TRIGGERS: init.sh, worktree init, worktree setup, project setup script,
run init, initialize worktree, worktree initialization,
create worktree init, setup worktree project,
инициализация worktree, запустить init.sh, скрипт инициализации,
настройка worktree, создать worktree с init
Other plugins' skills for the same job