---
name: gh-issue
description: Create a GitHub issue following project guidelines
argument-hint:
allowed-tools: Read, Grep, Glob, mcp__github__create_issue, mcp__github__list_issues, mcp__github__search_issues
---
# Create GitHub Issue
Create a new GitHub issue for the gittower/git-flow-next repository following project guidelines.
## Instructions
1. **Gather Information**
- If `$ARGUMENTS` is provided, use it as the issue title/description
- If no arguments, ask the user for:
- Issue type (bug, enhancement, feature)
- Brief description of the issue
2. **Check for Duplicates**
- Search existing issues for similar topics
- If potential duplicates found, show them to the user and ask to confirm creation
3. **Determine Issue Type and Labels**
- `bug` - Something isn't working
- `enhancement` - Improvement to existing feature
- `feature` - New feature request
- `documentation` - Documentation improvements
4. **Create the Issue**
- Use clear, descriptive title (imperative mood: "Add...", "Fix...", "Update...")
- Structure the body with appropriate sections based on type
## Issue Body Templates
### Bug Report
```markdown
## Description
## Steps to Reproduce
1.
2.
3.
## Expected Behavior
## Actual Behavior
## Environment
- OS:
- Git version:
- git-flow-next version:
```
### Enhancement/Feature
```markdown
## Description
## Motivation
## Proposed Solution
## Alternatives Considered
```
5. **Report Result**
- Show the created issue URL
- Suggest next step: `/analyze-issue ` to start working on it