From web-search
Debug errors, test failures, runtime exceptions, and regressions using local CLI tools, Context7 docs, GitHub CLI, and web search for external evidence.
How this skill is triggered — by the user, by Claude, or both
Slash command
/web-search:debugThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Treat errors as symptoms until evidence shows the cause. Work from the most concrete signal available: exact command, full output, local code, recent changes, tests, current docs/source for external dependencies, then the smallest fix that explains all observed behavior.
Treat errors as symptoms until evidence shows the cause. Work from the most concrete signal available: exact command, full output, local code, recent changes, tests, current docs/source for external dependencies, then the smallest fix that explains all observed behavior.
Do not jump straight from an error string to an edit. First reproduce, isolate, explain, then change.
Use the best available tool for the evidence needed. Do not block debugging just because a preferred tool is missing.
rg, rg --files, git status, git diff, focused tests, logs, dependency manifests, lockfiles, and local dependency source.gh): use for GitHub-native evidence such as issues, PRs, checks, releases, repo metadata, source files, and API calls from the terminal.| Tool | What It Does | When To Use |
|---|---|---|
search_web | DuckDuckGo or Exa web/news search (via provider param) | Broad search for error messages, known bugs, solutions, release notes |
search_web (domain) | DuckDuckGo (site:) or Exa (include_domains) scoped to domain | Targeted search on official docs (e.g. docs.python.org, react.dev) |
fetch_page | Clean HTML-to-markdown extraction from any URL | Reading docs, changelogs, error pages, issue threads cleanly; Exa fallback handles JS/bot-blocked pages |
search_wikipedia | Wikipedia article search via MediaWiki API | Fact-checking, background reference, terminology lookups |
search_arxiv | Academic paper search via arXiv API | Finding research papers, literature reviews, citations |
| Tool | What It Does | When To Use |
|---|---|---|
search_github | GitHub Issues/PR search via GitHub Search API | Find upstream bug reports, fix PRs, changelog discussions, feature flags, deprecation notices across any repo |
get_github_issue | Full GitHub Issue/PR thread with all comments | Read complete conversation context with sorted comments |
search_hackernews | Hacker News search via Algolia with comment enrichment | Tech community discussions about bugs, regressions, architectural root causes, known workarounds |
search_reddit | Reddit search via RSS + shreddit enrichment | Real-world troubleshooting threads, niche library issues, configuration gotchas |
search_x | X/Twitter search via Bird CLI | Real-time announcements, outage reports, release alerts, short workaround threads |
gh for issues, PRs, checks, releases, source/API access. Source: https://cli.github.com/Use local evidence before external lookup:
rg, rg --files, git diff, git status, targeted test commands, and focused log inspection.Maintain a small hypothesis list:
Prefer experiments that narrow the search space quickly: focused tests, minimal reproduction commands, temporary logging/inspection that can be removed, or reading the implementation path.
Use external sources when the issue depends on dependency, framework, CLI, API, OS, or standards behavior that may have changed, or when local code delegates behavior to something outside the repo.
For library/framework docs, APIs, configuration, version-specific examples, and known edge cases.
ghgh issue list, gh issue view, gh pr view, gh pr checks, gh release view, gh repo view, and gh api for upstream GitHub issues, PRs, releases, metadata, checks, and raw source.
| Scenario | Tool | Why |
|---|---|---|
| "Does this error message have a known cause?" | search_web with the exact error string | Broadest coverage of blog posts, Stack Overflow, docs, forums |
| "What does the official docs say about this API?" | search_web with domain="docs.python.org" | Skips noise from unofficial sources |
| "Read this changelog / issue / PR in full" | fetch_page with the URL | Clean extraction without JS or paywalls |
| Scenario | Tool | Why |
|---|---|---|
| "Is there a GitHub issue for this?" | search_github with keywords + repo filter | Direct access to upstream bug tracker, fix PRs, and discussion |
| "Has this been discussed on Hacker News?" | search_hackernews | Often surfaces deep architectural analysis and workarounds from core devs |
| "What are real users saying about this?" | search_reddit for niche/subreddit-specific chatter | Practical troubleshooting, config fixes, version-specific gotchas |
| "Any breaking news about this outage/incident?" | search_x for real-time posts | Time-sensitive: service outages, zero-days, urgent releases |
Prefer primary sources: official docs, changelogs, release notes, source code, and upstream issues. Use community posts only as leads unless they include reproducible evidence.
Before making code changes, be able to state:
If the root cause is still uncertain, keep investigating. If uncertainty remains after reasonable investigation, report the evidence, the uncertainty, and the next best diagnostic step instead of shipping a speculative fix.
Verification should match risk:
gh pr checks or gh run view when CI state is part of the failure or verification.If a verification command cannot be run, say exactly why and what remains unverified.
For flakiness, do not rely on a single pass:
search_github, gh, and community search (search_hackernews, search_reddit) when the flake may come from a dependency or hosted service.When finished, keep the summary evidence-based:
search_github").npx claudepluginhub sydasif/web-search-mcp --plugin web-searchDiagnoses failures, fixes bugs, and investigates failing tests using systematic debugging: reproduce first, read before changing, assume nothing, find root cause.
Guides systematic debugging for broken features, errors, failed deployments, or tests: reproduce bugs, gather git/logs diagnostics, read errors, diagnose root causes before fixes.
Enforces systematic root cause analysis for bugs, test failures, and unexpected behavior. Requires proof of root cause before any fix.