codekb-ask
Installation
SKILL.md
CodeKB: Ask
Answer project-specific questions grounded in actual code and knowledge entries.
When to Use
- "为什么消息模块用事件驱动" (design intent questions → decision entries)
- "退款失败时系统怎么处理的" (behavior questions → code + rules)
- "这个模块的编码约定是什么" (convention questions)
- Any question that requires project memory rather than general knowledge
MCP Tool
codekb_ask(question: string, options?: {
context_symbols?: string[], // 当前编辑的符号,提供额外上下文
include_sources?: boolean // 是否返回引用来源
}) → Answer & { sources: Source[] }