/file-issue:file-issuefrom File Issue
Captures problems outside the current task as follow-up issues so they are not lost. Use proactively, without waiting to be asked, whenever a bug, risk, tech debt or missing piece comes up that will not be fixed in the current change, including one the user mentions in passing while asking about something else ("not touching it in this PR", "out of scope", "later", "someone should look at that") or one you find in code you are not changing. Answer what was asked and also use this skill; only offering to file it is not enough. Also use when the user asks to file, log, open or ticket an issue, bug or follow-up, or hands you findings to turn into issues. Works with Linear, GitHub Issues, Jira, GitLab, Asana, ClickUp, Notion or any tracker reachable through connected tools or a CLI, and falls back to a local draft. Checks for duplicates and asks before creating anything in a tracker. Not for problems being fixed in the current change or already tracked.
Ships in File Issue. 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.
Capture a problem that is outside the current task as an issue someone can act on without this conversation: in the user's tracker, without duplicates, and only with the user's OK.
Do not let filing derail the current task. When you notice a problem mid-task, note it and file at a natural pause or when the task is done. Raise it immediately only if it is severe: security, data loss, an outage. When your reply ends the turn, for example when you answer a question, the end of that reply is the natural pause: answer first, then capture the problem in the same reply. Never stop at "want me to file this?".
If the user says the problem is already tracked (an issue key or link), do not file it again.
Skip this step when the user explicitly asked you to file something.
File only when all three hold:
Security problems: if the repository or tracker is public, do not file a public issue. Tell the user and suggest the private route instead: a GitHub security advisory, a confidential GitLab issue, or the team's security process.
Take the first option that applies.
.crew/profile.md exists and its frontmatter has issue_tracker, use that tool
and its defaults (format at the end of this file).gh for a GitHub remote, glab for a GitLab remote. Check
git remote get-url origin and gh auth status / glab auth status first. See
trackers/github.md and trackers/gitlab.md.<root>/.crew/issues/<YYYY-MM-DD>-<slug>.md. <root> is the git repository root when the working
directory is inside a repository (git rev-parse --show-toplevel), unless that root is your home
directory (some people keep their dotfiles in git): then, and when there is no repository, <root> is
the working directory itself, exactly as your environment reports it. Never write to your home directory
or to any other parent of the working directory. Tell the user the path and that it can be filed once a
tracker is connected. If you have no file access (for example in a chat app) or the write is refused, put
the draft in your reply, ready to paste, and say it was not saved.If several trackers qualify and no profile picks one, ask the user once which to use, then offer to save the answer to the profile.
The reader has not seen this conversation. Collect:
path:line, function, endpoint or job names.Never put secrets, tokens, credentials, customer data or personal data in an issue. Redact them.
Search the tracker for open issues about the same problem. Run two or three searches with distinctive terms: an error-message fragment, a file or function name, an endpoint. Read the closest matches.
If the tracker has no search tool, say that you could not check for duplicates.
Fill in template.md.
path:line references and errors in fenced code blocks. Link long logs
instead of pasting them. It should take a minute to read.Read the create tool's schema and the tracker file. Fill required fields from, in order: the profile's defaults, values you can list from the tracker (teams, projects, labels, issue types), then the user.
follow-up.Show the user what will be created: the tracker and destination (team, project or repository), the title, type, priority and labels, and the body (summarize it if it is long). Then ask whether to create it. This applies even when the user asked you to file it: they asked for an issue, not for this exact text in this place. The same goes for commenting on an existing issue. A local draft (step 2, option 4) needs no confirmation: it publishes nothing, so write it and tell the user where it is.
The profile's confirm setting decides how:
always (default): ask for each issue.batch: collect the issues from this pause point into one numbered list and ask once. The user can drop
or edit items.never: create without asking. Only when the profile says so explicitly.If nobody can answer right now (you are a subagent, or the session is non-interactive), create nothing. End with the draft and the question, or return the drafts to whoever called you.
When the user asks for changes, revise and show only what changed before asking again.
Create the issue with the tracker's tool or CLI. Then:
.crew/work/<id>/findings.md, append one line per issue:
date, the problem in a few words, key and URL.file-issue reads this block from the frontmatter of .crew/profile.md:
issue_tracker:
tool: linear # linear | github | jira | gitlab | asana | clickup | notion | local | another tracker's name
team: SHOP # Linear team, GitHub owner/repo, Jira project key, GitLab group/project, Asana project, ClickUp list
labels: [follow-up] # added to every issue
confirm: always # always | batch | never
When you found the tracker by asking the user, offer to write this block to .crew/profile.md. Create the
file with only this block if it does not exist, and keep everything else in it if it does.
template.md (opens in a new tab)trackers/asana.md (opens in a new tab)trackers/clickup.md (opens in a new tab)trackers/generic.md (opens in a new tab)trackers/github.md (opens in a new tab)trackers/gitlab.md (opens in a new tab)trackers/jira.md (opens in a new tab)trackers/linear.md (opens in a new tab)trackers/notion.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub meliksahozceyhan/triple-a-crew --plugin file-issue