Skip to content

chore(skills): make create-issue checkbox handling template-driven - #5439

Merged
dreamorosi merged 2 commits into
mainfrom
fix/create-issue-skill
Jul 9, 2026
Merged

dreamorosi merged 2 commits into
mainfrom
fix/create-issue-skill

Conversation

@svozza

@svozza svozza commented Jul 9, 2026 •

Copy link
Copy Markdown
Contributor

Summary

The create-issue agent skill unconditionally instructed adding a checked tenets acknowledgment checkbox to every issue it drafts. bug_report.yml has no checkboxes field, so skill-created bug reports ended with a fabricated - [x] I acknowledge that this issue follows the project tenets line that exists in no template. This makes the rule template-driven so CLI-created issues match what the GitHub template UI produces.

Changes

  • Replace the unconditional "present the tenets checkbox as checked" rule in .agents/skills/create-issue/SKILL.md with two template-driven rules: reproduce the template's checkboxes options verbatim (checking required ones) when the field exists, and never invent checkboxes when it doesn't

Issue number: closes #5438


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.

The skill unconditionally added a tenets acknowledgment checkbox, but
bug_report.yml has no checkboxes field, so bug reports got a fabricated
line that exists in no template. Reproduce the template's checkboxes
verbatim when present; add nothing when absent.

Closes: powertools-lambda-typescript-n2k
@powertools-for-aws-oss-automation powertools-for-aws-oss-automation Bot added size/XS PR between 0-9 LOC and removed size/XS PR between 0-9 LOC labels Jul 9, 2026
@dreamorosi
dreamorosi merged commit 2143417 into main Jul 9, 2026
41 checks passed
@dreamorosi
dreamorosi deleted the fix/create-issue-skill branch July 9, 2026 15:02
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

2 participants