/skraft-backlog:github-issue-searchfrom skraft-backlog
Searches and triages GitHub issues by labels, milestones, assignees, or changed files. Supports pagination, ranking, and writing comments/labels on existing issues.
Ships in skraft-backlog. 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.
Never change the title or body of an existing issue, through MCP, CLI or any
other transport, even when the installed tool exposes those fields. Omit both
fields from issue-update payloads; do not resend their current values.
Put refinements, acceptance criteria and proposed wording in a comment or a local
artefact. A comment's body is distinct from the issue's body.
Structured protocol for discovering GitHub issues via three modes. Core principle: build precise queries to surface signal, not noise. A well-formed query with 3–5 qualifiers outperforms broad queries with post-hoc filtering.
Three modes address different discovery intents:
| Qualifier | Usage | Example |
|---|---|---|
is:issue | Filter to issues only (exclude PRs) | is:issue is:open |
is:open | Open issues only | is:open |
is:closed | Closed issues only | is:closed |
assignee:@me | Issues assigned to current user | assignee:@me is:open |
assignee:{user} | Issues assigned to specific user | assignee:octocat |
label:{label} | Filter by single label | label:bug |
label:{a},{b} | OR across labels (comma = OR) | label:bug,feature |
milestone:{name} | Filter by milestone name | milestone:v0.2 |
in:title | Search term in title only | eligibility in:title |
in:body | Search term in body only | eligibility in:body |
in:title,body | Search term in title or body | eligibility in:title,body |
sort:created-desc | Sort by newest first | default for most searches |
sort:updated-desc | Sort by recently updated | for active issue tracking |
sort:reactions-desc | Sort by most reactions | for priority signals |
no:assignee | Unassigned issues | is:open no:assignee |
no:label | Unlabeled issues | is:open no:label |
no:milestone | Issues without milestone | is:open no:milestone |
-label:{label} | Exclude issues with label | -label:wontfix |
author:{user} | Issues created by user | author:octocat |
created:>{date} | Issues created after date | created:>2026-01-01 |
updated:>{date} | Issues updated after date | updated:>2026-04-01 |
comments:>{n} | Issues with more than N comments | comments:>3 |
bug login matches issues containing both words.OR keyword. bug OR feature in:title-. -label:wontfix"driver eligibility" in:title# My open bugs
assignee:@me is:open is:issue label:bug sort:updated-desc
# Unassigned P0 issues in current milestone
label:priority/P0 no:assignee milestone:v0.2 is:open is:issue
# Recently updated domain issues
eligibility OR driver in:title is:open is:issue sort:updated-desc
# Issues needing triage
no:label is:open is:issue sort:created-desc
When to use: default mode. "What should I work on today?" No explicit mode request.
Base query:
assignee:@me is:open is:issue sort:updated-desc
Augmented query (adds priority sorting):
assignee:@me is:open is:issue sort:updated-desc -label:wontfix -label:duplicate
Execution:
mcp_github_search_issues with per_page=20, page=1status/wontfix, status/duplicate, invalid labels post-fetchResult interpretation:
When to use: developer is actively modifying a domain area. "Issues related to what I am changing."
Step 1 — Get recently modified files:
git log --since="7 days ago" --diff-filter=M --name-only --pretty=format: | sort -u
Step 2 — Extract domain keywords:
Apply these heuristics to file paths and names:
| Heuristic | Action | Example |
|---|---|---|
| Split PascalCase | EligibilityUseCase → Eligibility, Use, Case | Keep Eligibility, discard Use, Case |
| Split camelCase | driverEligibility → driver, Eligibility | Keep both |
| Filter infrastructure nouns | Discard: Controller, Repository, Service, Handler, Test, Factory, Builder, Mapper, Config | These are plumbing, not domain |
| Keep domain nouns | Keep: Eligibility, Driver, Application, Policy, Quote, Premium, Claim, Vehicle | These are domain signal |
| Deduplicate | Keep unique domain terms only | — |
| Cap at 5 terms | Use top 5 most-specific terms | Prefer compound nouns |
Step 3 — Build query:
{term1} OR {term2} OR {term3} in:title is:open is:issue sort:updated-desc
Example: modifying EligibilityUseCase.cs and DriverProfile.cs →
eligibility OR driver in:title is:open is:issue sort:updated-desc
Step 4 — Rank results:
wontfix or duplicate stateWhen to use: explicit exploration. User provides labels, milestone, or keywords.
Query builder:
is:open is:issuesort:updated-desc unless user specifies different sortExamples:
# By label
label:bug is:open is:issue sort:created-desc
# By milestone
milestone:v0.2 is:open is:issue sort:updated-desc
# By keyword in title
"eligibility check" is:open is:issue in:title
# Compound: unassigned bugs in current sprint
label:type/bug no:assignee milestone:sprint-3 is:open is:issue
# High priority unassigned
label:priority/P0,priority/P1 no:assignee is:open is:issue sort:created-desc
Before invoking a discovery/triage tool, load MCP tool patterns. That reference owns parameter, response and error details; bind its example names to actual exposed host tools and schemas, never manufacture a callable namespace.
page = 1
results = []
loop:
response = mcp_github_search_issues(query, per_page=20, page=page)
results += response.items
if len(response.items) < 20 OR page >= 3:
break
page += 1
# wait 1 second between paginated calls to respect rate limits
return results[:20] # cap final set at 20
Maximum pages: 3 (60 issues). Always cap final result at 20 for triage quality.
After fetching, rank results for triage priority:
priority/P0 label — always firstpriority/P1 label — secondupdated_at descendingwontfixduplicateinvalidWhat SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
8 skills in this plugin
/backlog-review-lensesUse when a triage report, a sprint proposal, refined stories or a refinement proposal for one issue must pass an independent review before it is handed on: dispatching each review lens with only its own inputs, collecting their results and turning them into a verdict with the bundled script. Not for reviewing code, designs or acceptance tests./discovery-review-criteriaUse when reviewing DISCOVER artefacts (triage reports, sprint proposals) for completeness, prioritization quality, and duplicate handling. Contains gate definitions G1-G6 and scoring rubric for the lenses of the backlog-discoverer review gate./npx claudepluginhub sebastiendegodez/skraft-plugin --plugin skraft-backlogOther plugins' skills for the same job