wiki-qa
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseWiki Q&A
Wiki 问答
Answer repository questions grounded entirely in source code evidence.
完全基于源代码证据解答代码仓库相关问题。
When to Activate
激活场景
- 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"
- 用户询问关于代码库的问题
- 用户想要理解特定文件、函数或组件
- 用户提问“X是如何工作的”或“Y定义在哪里”
Procedure
操作流程
- Detect the language of the question; respond in the same language
- Search the codebase for relevant files
- Read those files to gather evidence
- 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
- 使用标题、带语言标签的代码块、表格、项目符号列表
## - 内联引用来源:
(src/path/file.ts:42) - 包含“关键文件”表格,映射文件及其作用
- 如果信息不足,需说明情况并建议需要检查的文件
Rules
规则
- ONLY use information from actual source files
- NEVER invent, guess, or use external knowledge
- Think step by step before answering
- 仅使用实际源代码文件中的信息
- 绝对不能编造、猜测或使用外部知识
- 作答前需逐步思考