Chuyển đến nội dung
Skillpedia
Lập trình chung18k · #10621

web-debug-search

Skill này làm gì

Skill này tìm trong các nguồn dành cho lập trình viên về thông báo lỗi, vấn đề tương thích và cách khắc phục. Nó dành cho người đang bị kẹt với một lỗi phần mềm và muốn xem người khác đã giải quyết thế nào.

Khi nào nên dùng

  • ✓Khi bạn gặp một lỗi phần mềm và muốn tìm cách người khác đã sửa.
  • ✓Khi bạn cần kiểm tra xem một phiên bản thư viện có vấn đề tương thích đã biết không.
  • ✓Khi bạn muốn tìm trong issue GitHub, Stack Overflow hoặc blog lập trình để tìm cách khắc phục.

Liên kết skill

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

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/wanshuiyin/Auto-claude-code-research-in-sleep/blob/main/skills/skills-codex/web-debug-search/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Thư viện của tôi cứ báo lỗi này, nên hãy tìm trên GitHub và Stack Overflow xem có cách sửa đã biết nào không.”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Agent chọn đúng nhóm nguồn, như GitHub, Stack Exchange hoặc tài liệu chính thức, rồi tìm kiếm lỗi. Nó thu thập các cách khắc phục, nhưng không chạy chúng và không coi chúng là bản sửa đã được xác minh.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

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
Câu hỏi thường gặp

Nó có chạy các bản sửa tìm được không?

Không. Skill không chạy lệnh từ các nguồn trực tuyến và không cài gói. Một bản sửa chỉ được xác nhận khi bạn tự tái hiện nó.

Tôi có thể trích dẫn kết quả này trong bài báo không?

Không. Skill nói rằng kết quả chỉ dùng để gỡ lỗi và không phải bằng chứng để trích dẫn trong bài báo.

Nó tìm trên những trang nào?

Issue và thảo luận GitHub, Stack Overflow và các trang tương tự, cộng đồng lập trình Trung Quốc, và tài liệu chính thức.

Chi tiết

Mô tả gốc của tác giả

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

Độ phổ biến

Sao GitHub
18k
Vị trí xếp hạng
#10621
Giấy phép
MIT
Cập nhật
2/11/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự