docs-search 精选
Search auto-generated codebase documentation for function signatures, API docs, class definitions, and code comments. Use when the user asks to "search docs", "find documentation", "look up a function", "check the API", or before implementing changes to verify correct signatures and patterns.
安装方式
cp -r cli-tool/components/skills/ai-maestro/docs-search ~/.claude/skills/docs-search把该 skill 目录放进客户端 skills 目录。不同客户端的目录可能不同,Claude Code 默认是 ~/.claude/skills/
https://raw.githubusercontent.com/davila7/claude-code-templates/b84033e51002cd4c805d5dce27e6d1fe19cb95f1/cli-tool/components/skills/ai-maestro/docs-search/SKILL.md下载后另存为 ~/.claude/skills/docs-search/SKILL.md。链接锁定采集时的 commit,内容与本站展示一致。
整仓一次性获取:git clone --depth 1 https://github.com/davila7/claude-code-templates.git
依赖与权限
- 无需 API Key
- 需要联网访问外部服务
- 依赖外部命令:
git - 以上为按正文与 frontmatter 自动推断的信号,仅供参考;安装前建议先阅读原文。
SKILL.md 正文
AI Maestro Documentation Search
Search your codebase's auto-generated documentation for function signatures, class definitions, API docs, and code comments. Verify correct patterns before writing code. Part of the AI Maestro suite.
Prerequisites
Requires AI Maestro running locally with documentation indexed.
# Install doc tools
git clone https://github.com/23blocks-OS/ai-maestro-plugins.git
cd ai-maestro-plugins && ./install-doc-tools.sh
Core Behavior
Before implementing any code changes, search docs first:
Receive instruction -> Search docs -> Then implement
Commands
Search
| Command | Description |
|---|---|
docs-search.sh <query> | Semantic documentation search |
docs-search.sh --keyword <term> | Exact keyword matching |
docs-find-by-type.sh <type> | Find by type (function, class, module) |
docs-get.sh <doc-id> | Get full document content |
Index
| Command | Description |
|---|---|
docs-index.sh [path] | Full index from project |
docs-index-delta.sh [path] | Delta index (new/modified files only) |
docs-list.sh | List all indexed documents |
docs-stats.sh | Index statistics |
Document Types
| Type | Sources |
|---|---|
function | JSDoc, RDoc, docstrings |
class | Class-level comments |
module | Module/namespace comments |
interface | TypeScript interfaces |
component | React/Vue component comments |
readme | README files |
guide | docs/ folder content |
Usage Examples
# Semantic search
docs-search.sh "authentication flow"
# Keyword search for specific identifier
docs-search.sh --keyword "UserController"
# Find all class documentation
docs-find-by-type.sh class
# Get full document details
docs-get.sh doc-abc123
# Index your codebase (first time)
docs-index.sh /path/to/project
# Update index after changes
docs-index-delta.sh
Full AI Maestro Experience
This skill is part of the AI Maestro platform, which provides 6 skills for AI agent orchestration: messaging, memory, docs, graph, planning, and agent management.
质量与来源
- 所属仓库
- davila7/claude-code-templates
- 仓库星标
- 3.3 万
- 最近更新
- 今天
- 采集时间
- 今天
- commit
- b84033e51002
- 内容指纹
- sha256:1359a23cb12ba5b
- 文件路径
- cli-tool/components/skills/ai-maestro/docs-search/SKILL.md