원클릭으로
create-issue
Create a well-structured GitHub issue with duplicate detection, code verification, and auto-labeling
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Create a well-structured GitHub issue with duplicate detection, code verification, and auto-labeling
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Create a git branch from a base and set its upstream at once, so a later push can never land on the base branch. Use when starting work that needs its own branch.
Root-cause a bug or a failed fix with evidence, not guesses - brainstorm causes, research them in parallel, confirm one with logs before changing code. Use when a reported behavior needs root-causing or a fix attempt has failed.
Implement a GitHub issue interactively - asks about branch, PR target, and phases/steps before starting work
Rename or refactor a symbol safely by searching every naming-case variant across code, tests, docs, configs, and JSON. Use when renaming any identifier so no reference is missed.
Launch N parallel research agents that explore different improvement approaches, cross-pollinate ideas, and converge on a unified plan
Review PR comments, apply or reject each one with evidence, and post replies directly to GitHub
| name | create-issue |
| description | Create a well-structured GitHub issue with duplicate detection, code verification, and auto-labeling |
| argument-hint | ["brief description"] |
Create a GitHub issue with a standardized structure, duplicate detection, code verification, and auto-labeling.
$ARGUMENTS contains a text description, use it as the initial context.$ARGUMENTS is empty, ask using AskUserQuestion:
"Describe the issue you want to create. A sentence or two is enough -- I'll help structure it."
Ask using AskUserQuestion:
"Do you have any links with additional context (e.g., error logs, screenshots, related discussions)?"
Options:
This step is mandatory and must not be skipped. Before moving forward, you must be fully confident that you understand exactly what the user wants.
Write a short, concrete summary of:
Critically evaluate your summary. Ask yourself:
If any gap or ambiguity exists, ask clarifying questions. Ask one question at a time using AskUserQuestion with options when applicable. Do not proceed until every question is answered. Common clarifications:
Rules for this step:
Once you are confident you understand the issue completely, proceed to Step 3.
Analyze the combined context and infer the issue type:
Only ask using AskUserQuestion if the type is truly ambiguous. Otherwise, infer silently and confirm later in the combined review (Step 8).
Store the selected type as ISSUE_TYPE.
Before structuring the issue, investigate the relevant code:
<file>:<line>. Are you sure you want to create this issue?"Store findings as CODE_CONTEXT.
gh issue list --state open --limit 100 --json number,title,labels,body
gh issue list --state closed --limit 50 --json number,title,labels,body
Compare the new issue's intent against fetched issues. Look for:
If likely duplicates are found:
Ask using AskUserQuestion:
"I found an existing issue that looks like it covers the same problem:
- # - (<STATE>)
What would you like to do?"
Options:
If related (but not duplicate) issues are found:
Present them:
"I found some related issues: #X, #Y. I'll reference them in the new issue."
Store related issue numbers as RELATED_ISSUES.
Based on the issue description, code investigation, and type, select labels.
Map affected code paths to labels:
| Code path pattern | Label |
|---|---|
ingredients/ | ingredients |
recipes/ | recipes |
menu/, menu_generator | menu |
shopping/ | shopping |
flutter_essentials/ | utilities |
theme/ | theme |
persistency | persistence |
Do not ask the user to confirm labels separately. Store the proposed labels as PROPOSED_LABELS and present them together with the draft in Step 8.
Compose the issue body based on ISSUE_TYPE. Use the templates below, but aggressively eliminate redundancy.
## Context
<What is broken, who is affected, and why it matters. Do NOT state root causes as fact -- use hedging language like "most likely caused by" or "may be related to".>
## Steps to Reproduce
1. <Step 1>
2. <Step 2>
3. <Observe...>
## Expected Behavior
<What should happen instead. Only include if not obvious from Context.>
## Proposed Solution
<High-level approach based on code investigation. Reference specific files/functions.>
## Acceptance Criteria
- [ ] <Issue-specific criterion that defines "done">
- [ ] <Edge case or regression guard, if applicable>
## Related Issues
<Links to related issues. Omit this section entirely if there are none.>
## Context
<Why this feature is needed -- what user need does it serve.>
## Proposed Solution
<What the feature should do AND how to implement it. Reference existing patterns or code paths.>
## Acceptance Criteria
- [ ] <Issue-specific criterion that defines "done">
- [ ] <Additional criterion if needed>
## Related Issues
<Links to related issues. Omit this section entirely if there are none.>
## Context
<What exists today, its limitations, and why improvement is needed.>
## Proposed Solution
<How it should work after the improvement AND the technical approach. Reference specific files/functions.>
## Acceptance Criteria
- [ ] <Issue-specific criterion that defines "done">
- [ ] <Additional criterion if needed>
## Related Issues
<Links to related issues. Omit this section entirely if there are none.>
Before finalizing the draft, re-read it and apply these rules:
Generate 2-3 title candidates. Each title must:
fix:, feat:, etc.)Vary the titles by focus:
Present options using AskUserQuestion. The user picks one or provides a custom title.
Store the selected title as SELECTED_TITLE.
Present the full draft for review:
ISSUE_TYPESELECTED_TITLEPROPOSED_LABELSRELATED_ISSUESThen ask using AskUserQuestion:
"Here's the full draft. Would you like any changes?"
Options:
If changes requested, apply them and re-present.
Always include the waiting-for-human-check label. If it doesn't exist in the repo, create it first:
gh label create "waiting-for-human-check" --description "No human has verified this yet -- direct AI output" --color "D93F0B" 2>/dev/null || true
gh issue create \
--title "$SELECTED_TITLE" \
--label "<label1>,<label2>,waiting-for-human-check" \
--body "$(cat <<'EOF'
<full issue body>
EOF
)"
Present to the user:
/implement-issue can verify.