Search GitHub issues for solutions, workarounds, and discussions for open source problems. Use when encountering errors with OSS libraries or finding upstream bug workarounds.
/plugin marketplace add laurigates/claude-plugins/plugin install github-actions-plugin@lgates-claude-pluginsThis skill inherits all available tools. When active, it can use any tool Claude has access to.
Search GitHub repository issues to find solutions, workarounds, and discussions for open source software problems.
Use this skill automatically when:
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:
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"
When: You have a specific error message
Approach:
Example:
Error: ENOENT: no such file or directory, open '/app/config.json'
Search Query: "ENOENT config.json repo:nodejs/node"
Alternative: "no such file or directory config repo:nodejs/node"
MCP Search Parameters:
query: Error keywords + reposort: "created" or "updated" (most recent first)order: "desc"state: Both open and closed issuesWhen: You know the symptom but not the exact error
Approach:
Example:
Symptom: Pods stuck in "Pending" state after upgrade
Search Query: "pods pending stuck upgrade repo:kubernetes/kubernetes"
Additional: "pending state scheduling repo:kubernetes/kubernetes"
When: Issue appeared after upgrading
Approach:
Example:
Problem: App broken after upgrading from v3.0 to v4.0
Search Query: "v4.0 breaking change repo:expressjs/express"
Alternative: "upgrade v3 v4 migration repo:expressjs/express"
When: Known issue, need a temporary fix
Approach:
Example:
Problem: Known bug with npm install on Windows
Search Query: "npm install windows workaround repo:npm/cli is:closed"
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"
}
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
}
error message repo:owner/repo
is:open # Open issues only
is:closed # Closed issues only
is:issue # Issues (not PRs)
label:bug
label:"help wanted"
label:documentation
-label:wontfix # Exclude label
created:>2024-01-01
updated:<2024-06-01
created:2024-01-01..2024-12-31
author:username
assignee:username
mentions:username
reactions:>10
comments:>5
memory leak repo:nodejs/node is:closed label:bug created:>2024-01-01 comments:>5
Problem:
Error: Cannot read property 'setState' of undefined
Component: UserProfile
Version: React 18.2.0
Search Workflow:
# 1. Search for exact error
Search: "Cannot read property setState of undefined repo:facebook/react"
# 2. Refine with version
Search: "setState undefined react 18 repo:facebook/react"
# 3. Look for component lifecycle issues
Search: "setState undefined lifecycle repo:facebook/react is:closed"
# 4. Check recent similar issues
Search: "setState this undefined created:>2024-01-01 repo:facebook/react"
Extract Solutions:
Problem:
Pods stuck in "ImagePullBackOff"
Private registry authentication
Kubernetes v1.28
Search Workflow:
# 1. Search for specific symptom
Search: "ImagePullBackOff private registry repo:kubernetes/kubernetes"
# 2. Look for authentication issues
Search: "image pull secret authentication repo:kubernetes/kubernetes is:closed"
# 3. Check version-specific issues
Search: "ImagePullBackOff 1.28 repo:kubernetes/kubernetes"
# 4. Find workarounds
Search: "ImagePullBackOff workaround label:bug repo:kubernetes/kubernetes"
Problem:
npm ERR! code ENOENT
npm ERR! syscall rename
Package: webpack@5.88.0
Search Workflow:
# 1. Search error code
Search: "ENOENT syscall rename repo:npm/cli"
# 2. Search package-specific
Search: "webpack install error ENOENT repo:webpack/webpack"
# 3. Platform-specific (if Windows/Mac/Linux)
Search: "ENOENT windows npm install repo:npm/cli"
# 4. Check for known issues in npm
Search: "syscall rename permission repo:npm/cli is:closed"
Problem:
Error: Connection timeout
Library: pg (PostgreSQL client)
Node.js application
Search Workflow:
# 1. Search generic connection issue
Search: "connection timeout repo:brianc/node-postgres"
# 2. Search configuration issues
Search: "timeout configuration connection pool repo:brianc/node-postgres"
# 3. Look for similar stack traces
Search: "ETIMEDOUT connection repo:brianc/node-postgres is:closed"
# 4. Check recent reports
Search: "timeout created:>2024-01-01 repo:brianc/node-postgres"
High Priority:
Lower Priority:
Look for:
Comments to focus on:
Ignore if:
Application error → Extract error details
Check logs → Stack trace → Configuration
Construct query → Search repository → Review results
Test workaround → Verify fix → Document for team
If solution found but not documented:
- Add comment to existing issue
- Create new issue with solution
- Submit PR if code fix
// Stack trace shows package
Error: Something went wrong
at Object.<anonymous> (/node_modules/express/lib/router/index.js:123:45)
// Repository: expressjs/express
// package.json
{
"dependencies": {
"express": "^4.18.0" // → expressjs/express
}
}
# Cargo.toml
[dependencies]
tokio = "1.35.0" # → tokio-rs/tokio
// go.mod
require (
github.com/gin-gonic/gin v1.9.1 // → gin-gonic/gin
)
# Python import
import requests # → psf/requests
# PyPI to GitHub mapping may need lookup
✅ DO: Extract key unique terms from error
"TypeError: Cannot read property 'map' of undefined"
→ Search: "Cannot read property map undefined"
✅ DO: Include version information
Search: "error message react 18"
✅ DO: Check both open and closed issues
Search: "error message repo:org/repo" (defaults to both states)
✅ DO: Sort by relevance, then recency
First search: default sort (relevance)
If too many results: sort by "updated" desc
❌ DON'T: Search full error messages verbatim
Bad: "Error: ENOENT: no such file or directory, open '/Users/john/app/config.json'"
Good: "ENOENT no such file directory config"
❌ DON'T: Search with repository-specific paths
Bad: "/node_modules/express/lib/router/index.js"
Good: "express router error"
✅ DO: Test workarounds in non-production first ✅ DO: Check if solution applies to your version ✅ DO: Verify the issue context matches yours ✅ DO: Look for official maintainer responses
❌ DON'T: Apply fixes without understanding them ❌ DON'T: Ignore version compatibility ❌ DON'T: Skip reading full issue context
✅ DO: Comment if you find a solution not documented ✅ DO: Create new issue if none exists ✅ DO: Link related issues you found ✅ DO: Submit PR if you can fix the code
# Search across organization
Search: "authentication error org:kubernetes"
# Search multiple related repos
Search: "error message repo:org/repo1 repo:org/repo2"
# Exclude common noise
Search: "timeout -test -mock repo:org/repo"
# Exclude specific terms
Search: "error -documentation -example repo:org/repo"
# By reactions
Search: "feature repo:org/repo sort:reactions-+1"
# By comments
Search: "bug repo:org/repo sort:comments"
# Recent issues (last 3 months)
Search: "error created:>2024-10-01 repo:org/repo"
# Issues updated recently (active discussions)
Search: "bug updated:>2024-11-01 repo:org/repo"
# Add more specific terms
# Add filters (labels, dates, state)
# Increase perPage to see more context
# Remove repository restriction (search all of GitHub)
# Use fewer search terms (too specific)
# Try synonyms (e.g., "crash" → "panic", "fail")
# Check repository name (typo?)
# Double-check package to repository mapping
# Some packages are forks (check original repo)
# Search package registry for canonical source
This skill should be used when the user asks about libraries, frameworks, API references, or needs code examples. Activates for setup questions, code generation involving libraries, or mentions of specific frameworks like React, Vue, Next.js, Prisma, Supabase, etc.
Applies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand colors or style guidelines, visual formatting, or company design standards apply.
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code, generative art, algorithmic art, flow fields, or particle systems. Create original algorithmic art rather than copying existing artists' work to avoid copyright violations.