一键导入
gh-create-plan
Create a plan issue on GitHub. Use when planning a task, or when the user tells you to "create a github plan issue" with the repo name as argument.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Create a plan issue on GitHub. Use when planning a task, or when the user tells you to "create a github plan issue" with the repo name as argument.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Create a GitHub PR from the current branch. Use when the user asks to "create a PR", "open a pull request", or "submit a PR".
Update a GitHub plan issue with progress. Use when planning a task, or when the user tells you to "update the github plan issue".
Prepare a handover for continuing work in a new session. Use when the user asks to "hand over", "prepare handover", "wrap up for a new session", or "context dump".
Close a GitHub plan issue with a summary. Use when the user tells you to "close the github plan issue".
Implement a GitHub plan issue step by step with checkpoints. Use when the user asks to "implement the plan", "start working on the plan", or "execute the plan".
Read the GitHub plan issue given as argument. Use when the user tells you to "read this github plan issue" with the issue as argument.
| name | gh-create-plan |
| description | Create a plan issue on GitHub. Use when planning a task, or when the user tells you to "create a github plan issue" with the repo name as argument. |
| argument-hint | [owner/repo] |
| allowed-tools | Bash |
Never @mention other users in plan issues or comments.
Create a GitHub issue in repo $ARGUMENTS containing the detailed plan for the work in this conversation. Derive a concise issue title from the conversation context. Ask the user if unclear.
The GitHub issue should be self-contained so that a new conversation can pick up the work without needing additional context. Omit raw exploration and back-and-forth; only include the conclusions.
Think as a software architect first. Before writing steps, consider: What are the key abstractions? Where should boundaries be? What's the simplest design that solves the problem? What will be hard to change later? Let these decisions shape the plan structure.
Before creating the plan, ask the user if there are related repos with similar implementations that should inform the approach. If so, review them to understand how the problem was solved there, and incorporate relevant patterns into the plan.
Issue body (should rarely need updating):
After creating the issue body, add comments in this order:
### Step 1: ..., ### Step 2: ...). Each step contains checkboxes for its sub-tasks. Always number the top-level steps explicitly. For each step, note which other steps it depends on (e.g., "Depends on step 2"). Mark independent steps as such. This makes it easy to work on steps in parallel across conversations.sequenceDiagram.flowchart with subgraph for grouping and classDef for color-coded categories.
Short caption (three sentences max, no "Caption:" prefix).Format the issue in a clear and organized way, using headings, subheadings, bullet points, and tables as needed to enhance readability.
After creating the issue, tell the user they can use /gh-read-plan and /gh-update-plan to continue working with it.