How this command is triggered — by the user, by Claude, or both
Slash command
/rc-toolkit:create-issue short descriptionopusThis command is limited to the following tools:
The summary Claude sees in its command listing — used to decide when to auto-load this command
# Create GitHub Issue Draft a new GitHub issue for the current repository, confirm with the user, then file it via `gh`. ## Seed description `$ARGUMENTS` ## Current State **Repository:** !`gh repo view --json nameWithOwner,defaultBranchRef,url` **Current branch:** !`git rev-parse --abbrev-ref HEAD` **Recent commits:** !`git log --oneline -5` **Available labels:** !`gh label list --limit 50` ## Instructions Work through these steps **sequentially** — each step builds on the previous one. Do not parallelize. 1. **Establish the seed.** If `$ARGUMENTS` above is empty, use `AskUserQue...
Draft a new GitHub issue for the current repository, confirm with the user, then file it via gh.
$ARGUMENTS
Repository:
!gh repo view --json nameWithOwner,defaultBranchRef,url
Current branch:
!git rev-parse --abbrev-ref HEAD
Recent commits:
!git log --oneline -5
Available labels:
!gh label list --limit 50
Work through these steps sequentially — each step builds on the previous one. Do not parallelize.
Establish the seed. If $ARGUMENTS above is empty, use AskUserQuestion to collect a one-line summary and any reproduction details before going further. If it is present, treat it as the starting point for the draft.
Ground the issue in real code. When the seed references behavior in this repo, use Read, Grep, and Glob to find the relevant files, symbols, and line numbers. Include these in the draft so the issue is actionable — do not invent file paths.
Draft the issue. Produce:
## Summary — one short paragraph describing the problem or request.## Context — what you observed in the code / recent commits / CI, with file paths and line numbers where applicable.## Proposed outcome — acceptance criteria as a bulleted checklist.## Notes (optional) — anything the reporter should know (related issues, workarounds, out-of-scope items).Show the draft and confirm. Print the full title and body back to the user, then use AskUserQuestion to:
--assignee @me). Default is no.Write the body to a temp file. Only after explicit confirmation, use the Write tool to write the approved markdown body to /tmp/rc-create-issue-body.md. Do not use cat heredocs or nested command substitutions — the permission allowlist deliberately does not include cat, and --body-file keeps the command simple.
Create the issue. Run the command as a single gh issue create invocation (no pipes, no $(), no && chains):
gh issue create --title "<approved title>" --body-file /tmp/rc-create-issue-body.md [--label "<label>"]... [--assignee @me]
Report the result. Print the issue URL returned by gh issue create so the user can click through to it. The temp file at /tmp/rc-create-issue-body.md can be left in place — it will be overwritten on the next run.
This command only drafts and creates an issue. Do not edit files, create branches, push code, or open PRs — those belong to other commands in this toolkit.
npx claudepluginhub ryancarrier/rc-toolkit --plugin rc-toolkit/create-issueCreates a well-structured GitHub issue interactively: prompts for type-specific details (bug/feature/task), applies templates/labels/milestones/projects, and uses GitHub API. Reports issue URL.
/create-issueCreates a comprehensive GitHub issue with embedded agent instructions for autonomous PR lifecycle management. Supports feature, bug, and refactor types.
/create-issueCreates a GitHub issue in the current or specified repo with title, body, labels, assignees, milestone, project, and formatted reference links from URLs. Supports interactive template mode.
/create-issueCreates a GitHub issue with automated codebase research, best practices analysis, and duplicate checks. Supports --quick mode for faster async execution.
/create-issueCreates GitHub issue with validated labels via content analysis for type and principles, fetches repo labels, applies templates, and previews before submission.
/create-issueCreates a formatted GitHub or GitLab issue for the current git repository from provided topic/description, lists available labels, and requires user approval before using gh or glab CLI.