github-issue-creatorlisted
Install: claude install-skill MithunWijayasiri/dotclaude
# GitHub Issue Creator
Turn messy input into a clean issue, draft in chat, create with `gh` on approval.
## Repo
Resolve from `git remote get-url origin` (repo name can differ from folder name). Never guess `owner/repo`.
Before any `gh` write: `gh auth status`; active account must match the one project instructions require.
`gh` missing, not signed in, wrong account, or no `origin` → stop and tell the user before creating or editing. Draft-only request → continue; state which of templates, labels, and title style couldn't be checked.
## Create flow
1. Find templates: `.github/ISSUE_TEMPLATE/*` (`.yml` forms or `.md`). Read `config.yml` too (`blank_issues_enabled: false` → must use a template).
2. Pick the template that fits. Several fit → ask.
3. Missing required template fields (version, device, steps…) → ask all in one batch. Never guess. Unknown → write `Not provided`.
4. Build body:
- `.yml` form → one `### <field label>` section per field, same order as the form. `gh issue create --template` cannot fill forms, so mirror them. Include every `required` field.
- `.md` template → `gh issue create --template` or copy its structure.
- No template → fallback below.
5. Labels: `gh label list --repo <repo>`. Apply template `labels:` plus existing labels that clearly fit (e.g. `accessibility`). Never create labels. State which were applied.
6. Title: match style of `gh issue list --repo <repo> --limit 10`.
7. Show draft (title, labels, body) in chat. Create only afte