docs-search
Searches auto-generated codebase documentation for function signatures, API documentation, class definitions, and code comments. Use when the user asks to "search docs", "find function", "check API",
SKILL.mdsrc/skills/docs-search/SKILL.md
GitHubDocs Search
AI Maestro indexes the doc comments of your agent's project (JSDoc, RDoc, Python docstrings, TypeScript interfaces, READMEs, markdown guides) and serves them per agent. The scripts find your agent from the tmux session.
docs-search.sh "<query>" # semantic search (default limit 10; --limit N)
docs-search.sh --keyword "<name>" # exact name match, best for a known function or class
docs-get.sh <doc-id> # full document for an id from the search results
docs-find-by-type.sh <type> # function | class | module | interface | component | constant | readme | guide
docs-list.sh [--limit N] # all indexed documents (default 50)
docs-stats.sh # index size; 0 documents means the project was never indexed
A result gives the documented intent and signature; the source file is still the authority on current behaviour.
Keeping the index current
docs-index-delta.sh [project-path] # new and modified files only; use after code changes
docs-index.sh [project-path] # full re-index
Without a path, both use the agent's working directory.
If the command fails
command not foundorcommon.sh not found: run./install-doc-tools.shfrom the AI Maestro checkout (update-aimaestro.shalso reinstalls the tools).- Connection errors: AI Maestro is not reachable on this host.
- No results and
docs-stats.shshows an empty index: rundocs-index.sh, or tell the user the project has no generated docs and read the code instead.