init_codebase
Indexes a codebase by crawling the directory, extracting file summaries and dependencies, and building a semantic search vector store for AI mentoring.
Instructions
Initialize and index a codebase for AI mentoring. This tool:
Crawls the directory structure (respecting .gitignore)
Analyzes each file to extract summaries, imports, and exports
Builds a manifest with file metadata and dependency graph
Creates a vector index for semantic search
Run this before using generate_tutorial or search_codebase.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rootPath | Yes | Absolute path to the root directory of the codebase to index |