triage-issue
Skill2 starsChanged 16 days agoMITView on GitHub
Use when replying to comments on a GitLab issue, or when an issue has comments that might tag you or be waiting on your reply as assignee — figures out which comments genuinely need a response, drafts each reply grounded in the codebase, and posts after you confirm
46 other projects use a version of this.
Adopted by
Most recently taken up by
- normalled/apijacktheir own version, first seen Nov 8, 2026
- ice-lfernandes/claude-spring-architecttheir own version, first seen Nov 7, 2026
- nerviz-ai/nerviztheir own version, first seen Nov 7, 2026
- getsentry/sentry-javascripttheir own version, first seen Nov 6, 2026
- chrislacey89/skillstheir own version, first seen Nov 4, 2026
- scoobydont-666/shared-claude-skillstheir own version, first seen Nov 1, 2026
Used with
Projects with it also use prd-to-plan, prd-to-issues and 9 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
HK-hubSkillprd-to-plan
Turn a PRD into a multi-phase implementation plan using tracer-bullet vertical slices, saved as a local Markdown file in ./plans/. Use when user wants to break down a PRD, create an implementation plan, plan phases from a PRD, or mentions "tracer bullets".
Also in 11 projects that use this
kennethkeimSkillprd-to-issues
Break a PRD into independently-grabbable GitHub issues using tracer-bullet vertical slices. Use when user wants to convert a PRD to issues, create implementation tickets, or break down a PRD into work items.
Also in 13 projects that use this
simo97Skillrequest-refactor-plan
Use this skill when user wants to create a refactor plan.
Also in 12 projects that use this
kennethkeimSkillwrite-a-prd
Create a PRD through user interview, codebase exploration, and module design, then submit as a GitHub issue. Use when user wants to write a PRD, create a product requirements document, or plan a new feature.
Also in 13 projects that use this
simo97Skilldesign-an-interface
Generate multiple radically different interface designs for a module using parallel sub-agents. Use when user wants to design an API, explore interface options, compare module shapes, or mentions "design it twice".
Also in 11 projects that use this
AnasX7Skillscaffold-exercises
Create exercise directory structures with sections, problems, solutions, and explainers that pass linting. Use when user wants to scaffold exercises, create exercise stubs, or set up a new course section.
Also in 6 projects that use this
- +1 more from kennethkeim
- +3 more from simo97
Other versions46 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 46
- NVIDIA/OpenShell★ 21ksame name
- adenhq/hive★ 11ksame name
- aden-hive/hive★ 11ksame name
- dr5hn/countries-states-cities-database★ 10ksame name
- getsentry/sentry-javascript★ 8.8ksame name
- Shopify/flash-list★ 7.2ksame name
- fallow-rs/fallow★ 5.3ksame name
- docker/docs★ 4.7ksame name
- kube-hetzner/terraform-hcloud-kube-hetzner★ 3.9ksame name
- mysticaltech/terraform-hcloud-kube-hetzner★ 3.9ksame name
36 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository21 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- .cursor/rules/analyze-issue.mdcCursor rule
- .cursor/rules/create-mr.mdcCursor rule
- .cursor/rules/eng-workflow.mdcCursor rule
- .cursor/rules/fix-issue.mdcCursor rule
- .cursor/rules/gitlab-config.mdcCursor rule
- .cursor/rules/pm-workflow.mdcCursor rule
- .cursor/rules/review-code.mdcCursor rule
- .cursor/rules/summarize-issue.mdcCursor rule
- .cursor/rules/triage-issue.mdcCursor rule
- .cursor/rules/write-issue.mdcCursor rule
- analyze-issueSkill
- create-mrSkill
- eng-workflowSkill
- fix-issueSkill
- gitlab-configSkill
- pm-workflowSkill
- review-codeSkill
- summarize-issueSkill
- write-issueSkill
The file
We split this skill into the rules it gives an agent
6 rules. 0 are common, 6 are distinctive, and 0 are very specific to this project.
0
Common
Most of the 45 edited versions we read keep these.
6
Distinctive
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 51
If there's nothing needing a reply, say so and stop — don't invent a reason to post.
- Distinctive: line 55
Don't draft from the issue text alone.
- Distinctive: line 59
If there's no local codebase available, say so in the draft instead of guessing
- Distinctive: line 68
Never add sections, disclaimers, or "let me know if you have questions" filler the comment didn't ask for.
- Distinctive: line 77
Wait for the user to approve, edit, or reject it.
- Distinctive: line 85
Don't post a "clearly needs reply" draft just because it's clearly needed — clear only means you're confident in the content, not that you …
“Common” is measured: kept by at least 6 in 10 of the 45 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Triage Issue
Reads an issue and its comment thread, figures out which comments genuinely need a reply from you, grounds the reply in the actual codebase (not guesswork), drafts it in your own voice, and shows it to you — every time, no exceptions — before anything gets posted.
Input
- Issue number (
#42) with project alias or path, or a GitLab URL - A local clone of the relevant repo, if you want the reply grounded in current code (optional — skip Step 3 if there's no codebase)
GITLAB="$HOME/.claude/skills/gitlab-config/scripts/gitlab_api.py"
python $GITLAB whoami # confirm your username once per session
python $GITLAB sync-project <project> # once per project — builds the team/user directory
python $GITLAB sync-issue <project> <number> # issue + full comment thread, merged into the cacheSee gitlab-config skill for first-time setup and the local-memory cache it maintains.
Steps
1. Fetch the issue and comments
Use sync-issue, not get-issue — same API call, but it merges onto whatever's already cached for this issue instead of discarding it, so any comment you've already handled (see Step 4) stays marked. It returns the issue plus every note in notes[], oldest-last. Each note has author, body, system (true = GitLab-generated, e.g. "assigned to @x" — never needs a reply), and created_at.
Resolve @mentions and author names against the cached team directory (gitlab_cache.py get-users <instance>) instead of guessing from the raw GitLab username — it's already built from sync-project and every issue you've synced.
2. Decide which comments need your reply
Walk the notes in chronological order (reverse the array first — GitLab returns newest-first). Skip system notes, anything you authored, and any note id already listed in the cached _notes.replied_note_ids (see Step 4 — you've handled it in a prior run). For everything else, a comment needs your reply if:
- It
@mentionsyour username directly, or - You're the assignee, it asks a direct question or requests an action, and no later comment from you addresses it
Then classify what's left — this only shapes how you present the draft in Step 4, it never decides whether you ask first, because you always ask first:
| Signal | Verdict |
Explicit @you mention with a clear question/request, nothing from you after it | Clearly needs reply — present the draft as ready to send |
| Directed at you but vague, or tags several people with no clear owner, or looks like it might already be resolved elsewhere (linked commit/MR, later comment) | Ambiguous — present the draft plus your reasoning for why it's unclear |
If there's nothing needing a reply, say so and stop — don't invent a reason to post.
3. Ground the reply in the codebase
Don't draft from the issue text alone. For each comment needing a reply:
- A quick lookup (one file, one symbol) —
grepit yourself inline - A real investigation (spans multiple files, root cause unclear, need to trace a call chain or check recent commits/MRs) — dispatch an agent (e.g. an
Exploresubagent) to do it. Keeps this skill's main thread on triage and drafting, not spelunking - Confirm current behavior before claiming it's fixed, broken, or unchanged
- If there's no local codebase available, say so in the draft instead of guessing
4. Draft, then always confirm before posting
Match the reply's length and format to the comment it answers — don't run every reply through the same template.
- A one-line question ("is this fixed?") gets a one-line answer ("Yes, fixed in prod — see
abc1234."). Padding a yes/no into paragraphs is wrong, not thorough. - A multi-part question or a request with several asks gets a structured reply (short intro + bullets), one point per ask — no more.
- A comment that's really a status update or FYI, not a question, may not need prose at all — a link or a single confirming line is enough.
- Never add sections, disclaimers, or "let me know if you have questions" filler the comment didn't ask for.
- Any reply carrying more than one fact — a status update, a multi-part answer, anything mixing "done" with "still open" or "needs input" — always goes out as markdown with clear paragraph structure: bold labels or
###headers plus bullets per fact, never one dense run-on paragraph. Split it the wayexamples/backfill-status-reply.mddoes: what's confirmed/done under its own heading, what's still open under another, so a reader can skip straight to the part they need. This doesn't relax the one-line-answer rule above — a genuinely single-fact reply still stays one line. - Pick the heading to match what actually happened, not a fixed template. If something's genuinely done, it goes under "What's done" / "What remains". If a fix was tried and didn't work, or the reply is reporting a real blocker, don't file that under "What remains" — give it its own Problem / Blocked on heading stating what failed and why, so the reader isn't misled into thinking it's just an open follow-up.
Write it in the assignee's own voice — first person, like they'd actually type it, not a templated support-ticket reply. Match their tone from their own earlier comments in the thread (direct vs. casual, how much context they usually give). Personalized doesn't mean less accurate: state what's true, cite the file/commit/behavior you actually checked in Step 3, and don't oversell or hedge past what you confirmed.
Never post without an explicit go-ahead — for both verdicts, every time:
- Show the draft, labeled by its Step 2 verdict (ready to send / ambiguous + why).
- Wait for the user to approve, edit, or reject it.
- Only after approval:
python $GITLAB post-issue-comment <project> <number> "<reply>" CACHE="$HOME/.claude/skills/gitlab-config/scripts/gitlab_cache.py" python $CACHE annotate-issue <instance> <project_id> <number> replied_note_ids '[<note_id>, ...]'
Don't post a "clearly needs reply" draft just because it's clearly needed — clear only means you're confident in the content, not that you skip confirmation.
5. Report
Summarize: what's drafted and waiting on your approval (show each draft), and what was skipped and why (already answered, system note, no reply needed). Nothing here should say "posted" unless the user already approved it in this session.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

