scan_skeleton
Scans a code repository to produce a deterministic module skeleton, including root path, module count, file count, and line counts.
Instructions
Scan a code repository and return a deterministic module skeleton.
Args: project_dir: Absolute path to the project root directory. depth: Directory depth for auto-detecting modules (default 2). code_only: If True, only include code files (default True).
Returns: A dict with: root_path, total_modules, total_files, total_lines, modules[].
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_dir | Yes | ||
| depth | No | ||
| code_only | No |