librarian

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Librarian Skill

Librarian Skill

Use this skill when you need deep understanding of external codebases.
Best-use cases:
  • Explain how a third-party library works internally.
  • Find real implementation patterns in public code.
  • Compare two libraries/frameworks for a specific capability.
  • Trace architecture and execution flow across a repository.
Tool routing:
  • Official docs/API questions: use documentation lookup first.
  • Real-world code usage patterns: search public repositories.
  • Internal implementation details: fetch source and read targeted files.
Execution pattern:
  1. Identify target library/repo and scope the question.
  2. Collect high-signal files (README, package metadata, entry points).
  3. Inspect implementation files for the asked behavior.
  4. Synthesize findings with concrete file evidence.
Output style:
  • Give direct answer first.
  • Support with precise file references.
  • Use a diagram if system flow is non-trivial.
当你需要深入理解外部代码库时,可以使用这个Skill。
最佳使用场景:
  • 解释第三方库的内部工作机制
  • 在公开代码中查找真实的实现模式
  • 针对特定功能对比两个库/框架
  • 追踪仓库中的架构和执行流程
工具路由策略:
  • 官方文档/API相关问题:优先使用文档查询工具
  • 真实代码使用模式:搜索公开代码仓库
  • 内部实现细节:获取源码并读取目标文件
执行流程:
  1. 确定目标库/仓库并明确问题范围
  2. 收集高价值文件(README、包元数据、入口文件)
  3. 检查实现文件以找到对应功能的实现
  4. 结合具体文件证据总结研究结果
输出风格:
  • 先给出直接答案
  • 提供精确的文件引用作为支撑
  • 如果系统流程较为复杂,可使用图表展示