Skip to content

Commit 8a38489

Browse files
ralphbeanclaude
authored andcommitted
Remove nonexistent --type flag from filing-issues skill
The `gh issue create --type` flag does not exist in the gh CLI (v2.89.0). There is an open feature request at cli/cli#9696 to add issue type support. Remove the "Set the issue type" step and the --type flag from the command example to prevent gh CLI errors when filing issues. Co-Authored-By: Claude Opus 4.6 <[email protected]>
1 parent 9e77db1 commit 8a38489

1 file changed

Lines changed: 2 additions & 21 deletions

File tree

‎skills/filing-issues/SKILL.md‎

Lines changed: 2 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -128,24 +128,7 @@ Common label categories to look for:
128128
Present your label choices to the user alongside the draft. If the repo has no
129129
labels or none fit, skip labeling.
130130

131-
### 7. Set the issue type
132-
133-
Every issue must have a type. Choose exactly one:
134-
135-
- **Feature** — stories, new functionality, new capabilities, or enhancements
136-
that add something that does not exist yet.
137-
- **Bug** — something is broken, behaving unexpectedly, or there is a gap that
138-
should have been covered.
139-
- **Task** — research, experiments, evaluations, chores, documentation work,
140-
decisions to make, or any work that is neither a feature nor a bug.
141-
142-
When in doubt between Feature and Task, ask: "Does this add user-visible
143-
functionality?" If yes, Feature. If it is preparatory or exploratory work,
144-
Task.
145-
146-
Present your type choice to the user alongside the draft and labels.
147-
148-
### 8. File the issue
131+
### 7. File the issue
149132

150133
After the user approves the draft:
151134

@@ -156,13 +139,11 @@ gh issue create --repo <owner/name> \
156139
<body>
157140
EOF
158141
)" \
159-
--label "<label1>,<label2>" \
160-
--type "<Feature|Bug|Task>"
142+
--label "<label1>,<label2>"
161143
```
162144

163145
Omit `--label` if no labels apply or if you lack permission to set them (the
164146
`gh` CLI will error; do not retry — file without labels and tell the user).
165-
Always include `--type`.
166147

167148
Return the issue URL to the user.
168149

0 commit comments

Comments
 (0)