一键导入
create-issue
Create a GitHub proposal issue with spec-level brainstorming. Use when the user wants to file a new proposal (enhancement) issue.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Create a GitHub proposal issue with spec-level brainstorming. Use when the user wants to file a new proposal (enhancement) issue.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Use when starting work on a GitHub Issue to fetch issue content and begin brainstorming. Triggers on issue URL or number input.
Create or update a GitHub pull request using the project's PR template. Use when the user wants to open a PR for the current branch.
Review documentation quality and consistency. Use when user wants to review docs/website documentation, or after documentation changes.
Sync API documentation with implementation. Use when files in crates/homunculus_http_server/src/** or sdk/typescript/src/** have changed, or when user requests documentation updates.
| name | create-issue |
| description | Create a GitHub proposal issue with spec-level brainstorming. Use when the user wants to file a new proposal (enhancement) issue. |
Create a GitHub proposal issue. Takes a free-form idea (any language), structures it into the project's proposal template fields, checks for duplicates, refines the spec via brainstorming, and files the issue on GitHub. All output is in English.
/create-issue <proposal description in any language>
|
v
1. Argument parsing
| - Extract proposal content from args
| - No args → stop
|
v
2. Preflight
| - git repo check
| - gh auth check
| - Failure → abort with message
|
v
3. Initial structuring
| - Best-effort mapping to 4-5 template fields + title
| - All English output
|
v
4. Duplicate detection (two-stage)
| - Stage 1: keyword search from initial structure
| - Stage 2: semantic check on top 5 (if Stage 1 has hits)
| - Likely duplicate / related found → present, ask to continue or abort
| - Command failure → warn, skip to step 5
|
v
5. Spec-level brainstorming (delegate to superpowers:brainstorming)
| - Refine problem, solution, scope
| - NOT implementation design
|
v
6. Final draft (build issue from refined spec) → approve / edit / abort
|
v
7. gh issue create (HEREDOC body, enhancement label) → report URL
| - Hint: "Run /brainstorm-issue #<number> to start designing a solution."
| Input | Action |
|---|---|
| Args provided | Use as proposal content, any language |
| (none) | Display "Please provide a proposal description." and stop |
Run checks in order. Abort on first failure:
| Check | Command | Failure |
|---|---|---|
| Git repository | git rev-parse --git-dir | Abort: "Not a git repository." |
gh authenticated | gh auth status | Abort: "Not authenticated. Run gh auth login." |
Take the user's free-form input (any language) and produce a best-effort English draft.
Title: Generate a concise English title. Priority: meaning preservation > imperative mood > under 80 characters.
Body fields:
| Field | Required | Output format |
|---|---|---|
## Type | Yes | Exact literal: New feature or Improvement to existing feature |
## Problem / Current Behavior | Yes | Free-form English prose |
## Proposed Solution | Yes | Free-form English prose |
## Affected Area | Yes | Multi-select, slash-separated from: engine / packages / mods / docs / website / ci/build / other |
## Alternatives Considered | No | Include if user mentioned alternatives. Otherwise omit section entirely |
- [ ] I searched existing issues...).This initial structure serves two purposes:
Extract 3-5 key terms from the initial structure (English). Run:
gh issue list --search "<keywords> is:open" --json number,title,url,labels --limit 10
| Result | Action |
|---|---|
| 0 hits | Skip Stage 2, proceed to brainstorming (step 5) |
| 1+ hits | Proceed to Stage 2 |
| Command failure | Warn ("Duplicate check failed, skipping"), proceed to brainstorming (step 5) |
Take the first 5 results (search-rank order as returned by gh). Fetch each:
gh issue view <number> --json title,body
Classify each via LLM judgment:
| Result | Action |
|---|---|
| Likely duplicate or related found | Present matches, ask to continue or abort |
| Only "not duplicate" | Proceed silently |
| Individual fetch failure | Skip that candidate, continue with remaining |
If likely duplicate or related issues are found, present them:
### Potential Duplicates Found
**Likely duplicate:**
- #42 — Add character switcher to tray menu
**Related:**
- #87 — System tray integration improvements
Continue creating this issue? (yes / no)
User declines → stop. User continues → proceed to brainstorming (step 5).
Delegate to superpowers:brainstorming via the Skill tool. Pass the initial structure as args, prefixed with:
Refine this proposal at the specification level. Focus on clarifying the problem, sharpening the proposed solution, and identifying the correct scope. Do NOT design implementation — this is about what the feature should do, not how to build it. The output should be a refined version of the proposal fields (Type, Problem, Proposed Solution, Affected Area, Alternatives Considered).
The brainstorming skill runs its normal process:
docs/superpowers/specs/| In scope | Out of scope |
|---|---|
| What problem does this solve? | Which crate implements it? |
| What should the user experience be? | What data structures are needed? |
| What are the constraints/edge cases? | How do we test it? |
| What alternatives were considered? | What's the implementation plan? |
After brainstorming completes, resume at step 6 — building the final issue draft from the refined spec.
Map the refined spec from brainstorming back to the proposal template fields:
Show the full issue exactly as it will appear on GitHub:
### Issue Draft
**Title:** Add tray menu for character switching
---
## Type
New feature
## Problem / Current Behavior
Currently users must open the settings UI to switch between VRM characters...
## Proposed Solution
Add a submenu to the system tray icon that lists available characters...
## Affected Area
engine / mods
## Alternatives Considered
A keyboard shortcut was considered but discarded because...
| User action | Behavior |
|---|---|
| Approve | Execute gh issue create (step 7) |
| Edit requests | Apply edits, re-present. Repeat until approved |
| Abort | Stop with no side effects |
Use a HEREDOC for the body to avoid quote/newline escaping issues:
gh issue create --title "<title>" --label enhancement --body "$(cat <<'EOF'
<body>
EOF
)"
| Result | Action |
|---|---|
| Success | Report issue URL |
| Failure | Display error as-is and abort |
Report the created issue URL and hint at next steps:
Created: <url>
Tip: Run /brainstorm-issue #<number> to start designing a solution.
enhancement label is always applied; no additional label selection step.## Type, ## Problem / Current Behavior, ## Proposed Solution, ## Affected Area, ## Alternatives Considered.## Alternatives Considered is omitted, brainstorm-issue handles this gracefully.