code-path-analyzer
Installation
SKILL.md
Path Analyzer
Analyze the functional role and dependency relationships of a given path (file or folder) within the current project.
Workflow
1. Determine Path Type
- If the path is a file: read it directly.
- If the path is a directory: use Glob to list all files recursively, then read key files (prioritize entry points, index files, and type definitions).
2. Analyze Functional Role
For each file in the path, identify:
- Core responsibility: What this code does in one sentence.
- Exports: Key functions, classes, components, types, or constants exported.
- Side effects: Database operations, API calls, file I/O, global state mutations.