跳到正文
Skillpedia
技术文档48k · #6181

wiki-qa

它能做什么

这个工具可以回答关于程序代码的问题。它会直接在代码文件中寻找答案,并标注每条信息的来源位置。

适用场景

  • ✓当你对某个项目的代码有疑问时。
  • ✓当你想了解某个具体文件或某段代码的作用时。
  • ✓当你提问“X 是怎么工作的”或“Y 是在哪里定义的”时。

技能链接

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/wiki-qa/SKILL.md

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

使用方法

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

可直接粘贴的消息

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

可以这样问 AI

“这个项目里的登录功能是怎么工作的?”

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

工作原理

AI 会读取程序的代码文件,在这些文件中搜索你问题的答案,并告诉你答案的每一部分分别来自哪里。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

Wiki Q&A

Answer repository questions grounded entirely in source code evidence.

When to Use

  • User asks a question about the codebase
  • User wants to understand a specific file, function, or component
  • User asks "how does X work" or "where is Y defined"

Procedure

  1. Detect the language of the question; respond in the same language
  2. Search the codebase for relevant files
  3. Read those files to gather evidence
  4. Synthesize an answer with inline citations

Response Format

  • Use ## headings, code blocks with language tags, tables, bullet lists
  • Cite sources inline: (src/path/file.ts:42)
  • Include a "Key Files" table mapping files to their roles
  • If information is insufficient, say so and suggest files to examine

Rules

  • ONLY use information from actual source files
  • NEVER invent, guess, or use external knowledge
  • Think step by step before answering

When to Use

This skill is applicable to execute the workflow or actions described in the overview.

Example

User request:

Answer this repository question using only source-code evidence, with direct file and line references.

Limitations

  • Use this skill only when the task clearly matches the scope described above.
  • Do not treat the output as a substitute for environment-specific validation, testing, or expert review.
  • Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.
常见问题

AI 能用网上的知识来回答吗?

不能,AI 只会使用程序代码文件中写明的信息。

如果找不到信息,AI 会编造答案吗?

不会。如果 AI 在文件中找不到相关信息,它会说明自己不知道,并可能建议你去看哪些文件。

AI 会用什么语言回答?

AI 会尽量使用你提问时所用的语言来回答。

详情

作者的原始描述

Answer repository questions grounded entirely in source code evidence. Use when user asks a question about the codebase, user wants to understand a specific file, function, or component, or user asks \"how does X work\" or \"where is Y defined\".

repo: sickn33/agentic-awesome-skills

热度

GitHub 星标
48k
排名
#6181
许可证
MIT
更新时间
2026/10/15

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能