github-define-issue
Installation
SKILL.md
Activation Contract
Load this skill when a human wants to define a new task as a GitHub issue. Invocation: github-define-issue [repo="owner/name"]. It is conversational and human-in-the-loop: it never runs unattended and creates at most one issue per run.
Hard Rules
- NEVER create the issue without explicit approval of the final draft. Show it, then wait.
- ALWAYS interview first: problem, expected result, boundaries, how success is verified, and the security dimensions that apply. One question per turn; never invent answers.
- NEVER draft while the problem or the acceptance criteria are unclear: ask instead.
- ALWAYS verify the current-state and solution premise against the files/endpoints the issue names; if the fix depends on another repository, workflow or tag, name it and include it in scope or ask.
- ALWAYS include
## Seguridadwith the applicable dimensions: authorization scope, tenant isolation, enumeration, token/session revocation, rate limiting and secrets/PII. If none apply, writeNo aplica: <reason>. - ALWAYS build the body from
assets/issue-template.md, in Spanish, first lineAI_GENERATED. - ALWAYS keep the title imperative and 72 characters or fewer.
- ALWAYS label the new issue
AI_triageand assign at least one owner: triage skips unassigned issues, so an unassigned issue never enters the cycle. - NEVER set
type:*,estimate:*,AI_triage_done,status:*orAI_implemented: triage and the implementer own those labels. - ALWAYS search duplicates by title keywords and by the paths/endpoints the task touches, across open and recently closed issues and PRs; show overlaps and ask whether to link or continue.
- ALWAYS validate the body with
assets/validate_issue_body.pybefore creating; fix everyERROR:until it printsOK. - Create exactly one issue per run. Splitting is triage's job when the estimate is very high.