github-issue-search

v2026.09.24

Search GitHub issues for solutions and workarounds. Use when encountering errors with OSS libraries, finding upstream bug workarounds, or researching known issues.

GitHub
安装命令
npx skhub add laurigates/github-issue-search
Markdown
SKILL.md

GitHub Issue Search for Solutions

When to Use This Skill

Use this skill when...Use github-actions-inspection instead when...
Looking up upstream bug reports for an OSS library error messageInvestigating a failing workflow run in your own repository
Finding closed-issue workarounds before filing a new bugPulling logs, statuses, or job conclusions from gh run
Surveying reactions/comments to gauge issue popularity or fix availabilityRerunning failed jobs or watching an in-progress workflow

Search GitHub repository issues to find solutions, workarounds, and discussions for open source software problems.

For detailed examples, advanced patterns, and best practices, see REFERENCE.md.

When to Use

Use this skill automatically when:

  • User encounters errors or problems with open source software
  • User mentions a library/package name with an error message
  • User asks "has anyone reported this issue before?"
  • User needs workarounds for known bugs
  • User wants to understand if a problem is already tracked
  • Debugging reveals potential upstream issues

Core Capabilities

Search Issues by Error Message

When encountering an error, search the repository for related issues:

Error Message -> Extract Keywords -> Search Issues -> Find Solutions

MCP Tool Used: mcp__github__search_issues

Search Query Construction:

  1. Extract error type (e.g., "TypeError", "ECONNREFUSED", "panic")
  2. Extract key terms from error message
  3. Identify repository from context (package.json, go.mod, error stack trace)
  4. Construct targeted search query

Search Patterns

By Error Message:

Query: "TypeError: Cannot read property 'map' of undefined repo:facebook/react"

By Symptom:

Query: "memory leak kubernetes deployment repo:kubernetes/kubernetes"

By Feature/Behavior:

Query: "authentication timeout websocket repo:socketio/socket.io"

By Version:

Query: "breaking change v2.0.0 migration repo:vuejs/vue"

Search Strategy Summary

StrategyWhen to UseKey Approach
Error-focusedSpecific error messageExtract unique error terms, search repo
Symptom-basedObservable behavior, no exact errorDescribe behavior + version/component
Version-specificIssue after upgradingVersion number + issue type, check migration
Workaround discoveryKnown issue, need temp fixSearch closed issues for code snippets

Using GitHub MCP Tools

Search Issues

Tool: mcp__github__search_issues

Parameters:
- query: Search query with GitHub search syntax
- owner: Repository owner (optional, can be in query)
- repo: Repository name (optional, can be in query)
- sort: "comments", "created", "updated", "reactions"
- order: "asc" or "desc"
- perPage: Number of results (max 100)
- page: Page number for pagination

Examples:

// Search by error message
{
  "query": "TypeError map undefined repo:facebook/react",
  "sort": "updated",
  "order": "desc",
  "perPage": 20
}

// Search by label and state
{
  "query": "label:bug is:closed memory leak repo:nodejs/node",
  "sort": "reactions",
  "order": "desc"
}

// Search recent issues
{
  "query": "authentication failed created:>2024-01-01 repo:auth0/auth0-spa-js",
  "sort": "created",
  "order": "desc"
}

Get Issue Details

Tool: mcp__github__issue_read

Parameters:
- method: "get" (issue details), "get_comments" (comments)
- owner: Repository owner
- repo: Repository name
- issue_number: Issue number
- perPage: Results per page
- page: Page number

Example:

// Get issue details
{
  "method": "get",
  "owner": "facebook",
  "repo": "react",
  "issue_number": 12345
}

// Get issue comments (where solutions often are)
{
  "method": "get_comments",
  "owner": "facebook",
  "repo": "react",
  "issue_number": 12345,
  "perPage": 50
}

Quick Reference: Search Query Syntax

FilterSyntaxExample
Repositoryrepo:owner/reporepo:facebook/react
Open onlyis:openbug is:open
Closed onlyis:closedfix is:closed
Issues onlyis:issueerror is:issue
Labellabel:namelabel:bug
Exclude label-label:name-label:wontfix
Created aftercreated:>DATEcreated:>2024-01-01
Updated afterupdated:>DATEupdated:>2024-11-01
Authorauthor:userauthor:octocat
Reactionsreactions:>Nreactions:>10
Commentscomments:>Ncomments:>5
Exclude term-term-test -mock
Organizationorg:nameorg:kubernetes

Agentic Optimizations

ContextCommand
Quick error searchmcp__github__search_issues with error keywords + repo: filter
Find workaroundsSearch closed issues: query + is:closed repo:owner/repo
Popular issuesSort by reactions: sort: "reactions"
Recent issuesFilter by date: created:>YYYY-MM-DD
Get solution detailsmcp__github__issue_read with method: "get_comments"

Related Skills

  • System Debugging - Use issue search during debugging
  • Helm Debugging - Search helm/helm for Helm issues
  • Package Management - Search dependency issues
  • Git Operations - Link issues in commits/PRs

References

发现
标签

此技能尚未发布标签。

版本
最新版本元数据

版本

v2026.09.24

发布时间

Sep 24, 2026

分类

未分类

许可证

MIT

源路径

github-actions-plugin/skills/github-issue-search

默认分支

main

最新提交

1668324

Tree SHA

b2d4cc3