Turns something noticed mid-session into a tracker issue: captures evidence, dedups against existing issues, composes a labeled issue with acceptance criteria, confirms, and creates it via gh. Not for batch ticket creation from a PRD; use backlog. Not for diagnosing an existing issue; use fix-issue.
Ships in file-ticket. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Turn one observed behavior into one well-formed tracker issue, then stop. The ticket is the deliverable; the fix belongs to a later skill in the pipeline (fix-issue picks it up from here).
See issue discovery for template, label, and milestone discovery details, and issue template for the default body layout.
Arguments are passed in the user invocation message. Interpret them structurally from the prompt:
/skill:file-ticket [--repo owner/repo] [--type type] [--milestone name] <observation>
/skill:file-ticket settings overlay crashes when terminal is narrower than 40 columns/skill:file-ticket --type bug --milestone v1.2 "memory leak in worker pool"/skill:file-ticket --repo owner/custom-repo --type enhancement add dark mode support<observation>: Free-text description of the observed defect, symptom, or enhancement.
--repo <owner/repo>: Target GitHub repository.
gh repo view --json nameWithOwner -q .nameWithOwner or Git remote tracking).^[A-Za-z0-9_.-]+/[A-Za-z0-9_.-]+$.--type <type>: Issue category.
bug, enhancement, documentation, question (or repository-defined issue types).<observation> or confirmed with user via ask_user.--milestone <name>: Open milestone to attach to the ticket.
gh.--body-file "$tmpfile" to prevent command substitution or backtick evaluation.From the session that surfaced the behavior, record before anything scrolls away:
ask_user; never guess between bug and enhancement.file:line. Stop after at most a few minutes of searching.Complete when every bullet above is either filled or explicitly marked unknown.
When the repository is PanStudio/pancode and the session is PanCode, stop and use the report capability instead. Report sharing is turned off in this build, so never pass --share; a diagnostic bundle stays on the operator's machine.
--repo <owner/repo> (provided flag or detected via gh repo view).gh issue list --repo <owner/repo> --search "<key terms>" --state all --limit 20
Requires an authenticated gh CLI; if the command fails, report the exact failure and stop rather than filing blind.ask_user. Execute gh issue comment <id> --repo <owner/repo> --body-file "$tmpfile" ONLY after the user confirms.fix: ..., feat: ..., docs: ...). Never a bare noun.file:line pointers and session excerpts), Acceptance criteria as a verifiable checklist, and Links. Use the standard template when no repository template matches.bug, enhancement, etc.) plus applicable discovered area/component labels (area:*). Propose new labels to the user rather than creating them silently.--milestone if specified and valid; otherwise leave unassigned.Show the full title, repository, labels, milestone, and complete body.
Obtain explicit approval via ask_user. Issue creation is an outward-facing change; nothing is created before the user explicitly confirms.
Write the body to a file and execute:
gh issue create --repo <owner/repo> --title "..." --body-file "$tmpfile" --label "..." [--milestone "..."]
Run creation exactly once, verify with gh issue view, report the issue number and URL, and name the next pipeline step: fix-issue.
gh issue create --body "..." instead of using --body-file.backlog's job.What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
/file-ticket:file-ticketfrom file-ticket
npx claudepluginhub panstudio/pancode --plugin file-ticket