跳到正文
Skillpedia
通用编程18k · #10621

web-debug-search

它能做什么

这个技能在开发者来源中搜索错误信息、兼容性问题和变通方法。适合卡在某个软件缺陷上、想看看别人如何解决的人。

适用场景

  • ✓当你遇到软件错误,想找到别人是如何修复的时。
  • ✓当你需要检查某个库版本是否存在已知的兼容性问题时。
  • ✓当你想在 GitHub issues、Stack Overflow 或开发者博客中搜索变通方法时。

技能链接

https://github.com/wanshuiyin/Auto-claude-code-research-in-sleep/blob/main/skills/skills-codex/web-debug-search/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/wanshuiyin/Auto-claude-code-research-in-sleep/blob/main/skills/skills-codex/web-debug-search/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“我的库一直报这个错误,请在 GitHub 和 Stack Overflow 上搜索已知的修复方法。”

每周 5 个新技能,1 分钟读完。

工作原理

智能体会选择合适的来源组,例如 GitHub、Stack Exchange 或官方文档,并搜索该错误。它会收集变通方法,但不会运行它们,也不会把它们当作已验证的修复。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

Web Debug Search

Debugging query: $ARGUMENTS

Scope and evidence boundary

Use this skill to find prior reports, compatibility clues, technical Q&A, and community workarounds across non-academic web sources. It is a debugging/discovery workflow, not a literature-search workflow. Never add its results to a bibliography, cite them as support for a paper claim, or present a community post as peer-reviewed evidence.

Supported source profiles:

  • github — GitHub Issues and Discussions;
  • stackexchange — Stack Overflow and other relevant Stack Exchange sites;
  • chinese-tech — SegmentFault, V2EX, Zhihu, OSChina, Juejin, CSDN, Cnblogs, and Tencent/Alibaba developer communities;
  • general-web — official documentation and changelogs first, then maintainer blogs, Hacker News, Reddit, Dev.to, Medium, and other technical pages;
  • auto — route only to profiles justified by the request;
  • all — search all profiles, subject to the query budget below.

This skill does not run commands found online, install packages, edit local files, or verify a workaround by execution. A workaround becomes confirmed only after an explicit user-side reproduction.

Step 1: Parse the request and overrides

Extract, when available:

  • repository: owner/name or a GitHub URL;
  • error: the exact error string, exception, exit code, or log fragment;
  • package: library, tool, plugin, runtime, API, or operating system;
  • versions: installed, expected, minimum, maximum, or conflicting versions;
  • environment: OS, Python/Node/Java version, GPU, shell, or deployment mode;
  • goal: reproduce, find a workaround, check compatibility, learn API usage, compare practices, or identify a likely regression;
  • sources: auto by default, or the user's explicit comma-separated list;
  • language: auto by default, or en, zh, or both.

Examples:

/web-debug-search "CUDA error: invalid device ordinal" — sources: github,stackexchange
/web-debug-search "vLLM 国内镜像安装失败" — sources: github,chinese-tech — language: both
/web-debug-search "React Server Components production lessons" — sources: general-web

Explicit sources: and language: values override automatic routing. Do not silently expand beyond an explicit source list. If an unsupported value is provided, report it and fall back to auto only after saying so.

Preserve error identity

If the user provides an error string, preserve the exact text before creating variants. Remove only volatile details such as absolute paths, timestamps, UUIDs, memory addresses, and numeric request IDs. Keep at most:

  1. the preserved exact string;
  2. one minimally generalized substring;
  3. one translated search lead when bilingual recall is needed.

A translated or paraphrased error is never [EXACT]. Do not invent a synonym and call it an exact match. Redact credentials, tokens, private URLs, email addresses, and user data before any WebSearch or WebFetch call.

Step 2: Route source profiles

For sources: auto, choose the smallest useful profile set:

Request signal Profiles
Repository URL, stack trace, exception, error code github, then stackexchange
Version conflict, regression, breaking change github, general-web official sources only at first
Chinese-language issue, domestic framework/service github, chinese-tech; use both languages when useful
API usage or programming question without a repo stackexchange, then official docs through general-web
Best practices, production experience, tool comparison general-web; add stackexchange only for concrete implementation questions
User explicitly requests community experience stackexchange, general-web, or chinese-tech as requested

Do not default to all profiles. Expand to another profile only when the current profile adds no authoritative answer or leaves a material gap. Record which profiles were searched and which were skipped.

Step 3: Search with bounded queries

Use WebSearch for discovery and WebFetch to inspect a candidate before relying on its contents.

Query budget:

  • MAX_QUERIES_PER_PROFILE = 4;
  • MAX_TOTAL_QUERIES = 8;
  • MAX_FETCHED_CANDIDATES = 12.

Stop early when any of these conditions holds:

  • an official release note or compatibility matrix settles the version issue;
  • a maintainer report plus an independent reproduction establishes the same failure and environment;
  • two consecutive searches ad
常见问题

它能运行找到的修复方法吗?

不能。该技能不会运行网上来源的命令,也不会安装软件包。只有你自己复现之后,才能确认修复有效。

我可以在论文中引用这些结果吗?

不可以。该技能说明,这些结果仅用于调试,不能作为论文引用的证据。

它搜索哪些网站?

GitHub issues 和讨论、Stack Overflow 及类似网站、中文开发者社区,以及官方文档。

详情

作者的原始描述

Search GitHub, Stack Exchange, Chinese technical communities, official documentation, and general developer web sources for software errors, compatibility problems, API usage questions, and real-world workarounds. Use for debugging and discovery only; results are not paper-citation evidence.

repo: wanshuiyin/Auto-claude-code-research-in-sleep

热度

GitHub 星标
18k
排名
#10621
许可证
MIT
更新时间
2026/11/2

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能