一键导入
issue-create
Draft, polish, and create a well-formed GitHub issue with required structure
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Draft, polish, and create a well-formed GitHub issue with required structure
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Post a structured checkpoint comment to the relevant issue and commit current code state
Close out issue work - ensure PR exists, run the full CodeRabbit + /code-review gate, merge, close all issues in the working set, clean branches, and update PROGRESS.md
Fresh session pickup using the most recent checkpoint comment and git log — reconstructs working context for active issue work
Recommend juggling pairs, user decides, create correctly-named branch for issue work
Update the active issue with a design decision and cascade impact to all open issues and PRDs
Complete PRD implementation workflow - create branch, push changes, create PR, merge, and close issue
| name | issue-create |
| description | Draft, polish, and create a well-formed GitHub issue with required structure |
| category | project-management |
Ask the user to describe the problem this issue addresses. Ask one question at a time (per CLAUDE.md rule on multiple questions). Continue the gather flow one question per turn until you have: the solution approach, any known acceptance criteria, and the priority (High / Medium / Low) needed for ROADMAP placement.
Produce a well-formed issue body:
## Problem section (1-3 sentences describing the problem)## Solution section (1-3 sentences with key constraints if known)## Acceptance Criteria section (checklist if the user provided criteria; omit if not)- [ ] Update PROGRESS.md with a changelog entryInvoke /write-prompt on the draft body before creating the issue. Apply all high-severity findings. Do not skip this step.
IMPORTANT: Steps 2 and 3 must happen before Step 4. Draft and review the body before creating the issue — the issue number is not needed until Step 4.
Run gh issue create with the polished body using a heredoc to handle multi-line content correctly. Add relevant labels if context makes them obvious.
gh issue create --title "..." --body "$(cat <<'EOF'
[body here]
EOF
)"
Check if docs/ROADMAP.md exists. If it does, add the new issue to the appropriate timeframe section. See Update ROADMAP.md below.
Output the issue URL and number.
## Problem
[1-3 sentences describing the problem]
## Solution
[1-3 sentences describing the solution approach and key constraints]
## Acceptance Criteria
- [ ] [criterion 1]
- [ ] [criterion 2]
## Checklist
- [ ] Update PROGRESS.md with a changelog entry
Omit the ## Acceptance Criteria section entirely if the user did not provide criteria. The ## Checklist section with the PROGRESS.md checkbox is always required and must never be omitted.
Note: If any gh command fails with "command not found", inform the user that GitHub CLI is required and provide the installation link: https://cli.github.com/
/write-prompt on the draft — apply all high-severity findings before creatinggh issue create with the polished bodydocs/ROADMAP.md exists; if so, add an entryAfter creating the issue, check if docs/ROADMAP.md exists. If it does, add the new issue to the appropriate timeframe section based on priority:
Format: - [Brief issue description] ([issue #NNN](issue-url)) — [1-line rationale or blocked-by]
The ROADMAP.md update will be included in the commit at the end of the workflow (Option 2).
After completing the issue, present the user with numbered options:
✅ Issue Created Successfully!
**GitHub Issue**: #[issue-number]
[issue-url]
What would you like to do next?
**1. Start working on this issue now**
Begin implementation immediately (recommended if you're ready to start)
**2. Save issue for later**
The issue is filed and ready when you are
Please enter 1 or 2:
If user chooses option 1:
Issue created.
To start working on this issue, run /issue-start [issue-number]
If user chooses option 2, commit the ROADMAP.md update if one was made:
# If docs/ROADMAP.md was updated, stage and commit it:
git add docs/ROADMAP.md
git commit -m "docs: add issue #[issue-number] to ROADMAP.md [skip ci]"
git push origin HEAD
Confirmation Message:
✅ Issue filed and ROADMAP.md updated
The issue is now available at [issue-url]. To start working on it later, run:
/issue-start [issue-number]
If ROADMAP.md was not updated (file doesn't exist or no entry was needed), skip the commit and confirm the issue URL only.
/write-prompt must run before gh issue create — do not skip/code-review on GitHub issues — /code-review requires an open PR and is only for PRsdocs/ROADMAP.md exists in the repo