--- description: Create a new Gitea issue. Can create single issues or batch create from a plan. argument-hint: [title] or "batch" --- # Create Issue(s) @~/.claude/skills/gitea/SKILL.md ## Milestone Assignment Before creating issues, fetch available milestones: ```bash tea milestones -f title,description ``` For each issue, automatically assign to the most relevant milestone by matching: - Issue content/problem area → Milestone title and description - If no clear match, ask the user which milestone (goal) the issue supports - If no milestones exist, skip milestone assignment Include `--milestone ""` in the create command when a milestone is assigned. ## Single Issue (default) If title provided: 1. Create an issue with that title 2. Ask for description 3. Assign to appropriate milestone (see above) ## Batch Mode If $1 is "batch": 1. Ask user for the plan/direction 2. Fetch available milestones 3. Generate list of issues with titles, descriptions, and milestone assignments 4. Show for approval 5. Create each issue with milestone 6. Display all created issue numbers