Use when the user wants to create a GitHub issue, write a bug report, feature request, or ticket. Triggers on 'create issue', 'file a bug', 'feature request', 'leg ein Issue an', 'erstell ein Ticket', 'I need a ticket', or any request to write/create an issue or ticket.
Create well-structured GitHub issues through a guided conversation. Interview the user, draft the issue, let them review, then create it via gh.
This skill has NO tools. You (Claude) drive the entire flow as a conversation, following the phases below. At the end, you use gh issue create to create the issue.
Language rule: Converse in whatever language the user speaks. The issue title and body are ALWAYS in English.
gh repo view --json nameWithOwner -q .nameWithOwner
"Should I create the issue in [detected repo], or a different one?"
gh repo list --limit 20 and present options"What kind of issue is this?
- Feature — New functionality or enhancement
- Bug — Something is broken or behaving unexpectedly
- Chore — Refactoring, tech debt, dependency updates, cleanup"
"Describe what you need — keep it casual, I'll ask follow-up questions."
Feature follow-ups:
Bug follow-ups:
Chore follow-ups:
"Here's the draft:"
Title: [title]
[full body in the template format]
"Want to change anything, or does this look good?"
"Any labels? (e.g.,
bug,enhancement,priority:high) — or skip."
"Assign to someone? — or skip."
# Write body to temp file (avoids escaping issues)
cat > /tmp/issue-body.md << 'ISSUE_EOF'
[issue body here]
ISSUE_EOF
# Create the issue
gh issue create --repo <owner/repo> --title "<title>" --body-file /tmp/issue-body.md [--label "<labels>"] [--assignee "<assignee>"]
# Clean up
rm -f /tmp/issue-body.md
## Summary
[One sentence: what should be built and why]
## Desired Outcome
[What should work when done — from user perspective]
## Acceptance Criteria
- [ ] [Specific, testable criterion]
- [ ] [Specific, testable criterion]
## Technical Notes
[Optional: implementation hints, affected files, dependencies]
## Summary
[One sentence: what is broken]
## Steps to Reproduce
1. [Step]
2. [Step]
## Expected Behavior
[What should happen]
## Actual Behavior
[What happens instead]
## Technical Notes
[Optional: error messages, logs, affected files]
## Summary
[One sentence: what should be cleaned up/improved and why]
## Scope
- [ ] [Specific item]
- [ ] [Specific item]
## Technical Notes
[Optional: affected files, dependencies, risks]
/cdb-skills:create-issuegh issue list directlygh directlygh pr create or /cdb-skills:review