Skip to content

chore: set issue type and labels when creating issues via CLI - #5969

Merged
dreamorosi merged 2 commits into
mainfrom
chore/create-issue-skill-type
Nov 14, 2026
Merged

dreamorosi merged 2 commits into
mainfrom
chore/create-issue-skill-type

Conversation

@dreamorosi

Copy link
Copy Markdown
Contributor

Summary

Issue forms apply their type: and labels: keys only when the issue is submitted through the web form, so issues that agents create with the create-issue skill had neither. The skill now has agents pass both to gh issue create.

Changes

  • .agents/skills/create-issue/SKILL.md now lists the issue type among the things the template defines, and tells agents to read the template's type: key along with labels:.
  • The create step passes both explicitly (gh issue create --type <type> --label <label> ...) and says why: GitHub applies them only through the web form.
  • Added documentation_improvements.yml to the list of templates to choose from. It was missing, so the skill never chose the Docs template.
  • This works only when the author has push access. GitHub silently drops the type and labels for everyone else, so issues from outside contributors still need a maintainer to set them during triage. Maintenance: set issue type and labels in the create-issue agent skill #5968 was created with the updated skill and has both its type and its label.

Issue number: closes #5968


By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Disclaimer: We value your time and bandwidth. As such, any pull requests created on non-triaged issues might not be successful.

Issue forms apply their type and labels only through the web form, so issues created with gh by agents had neither and needed manual triage.

Fixes #5968
@powertools-for-aws-oss-automation powertools-for-aws-oss-automation Bot added the size/XS PR between 0-9 LOC label Nov 14, 2026
@dreamorosi dreamorosi changed the title chore(skills): set issue type and labels when creating issues via CLI chore: set issue type and labels when creating issues via CLI Nov 14, 2026
@dreamorosi
dreamorosi requested review from sdangol and svozza November 14, 2026 11:55
@dreamorosi
dreamorosi enabled auto-merge (squash) November 14, 2026 12:14
@dreamorosi
dreamorosi merged commit 0eb154c into main Nov 14, 2026
43 checks passed
@dreamorosi
dreamorosi deleted the chore/create-issue-skill-type branch November 14, 2026 12:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size/XS PR between 0-9 LOC

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Maintenance: set issue type and labels in the create-issue agent skill

2 participants