What problem does it solve?
This skill helps developers quickly discover the public APIs and import chains within a codebase, enabling safer navigation, faster onboarding, and more reliable refactoring.
Core Features & Use Cases
- API discovery: Enumerate functions, classes, and signatures for modules using provided scripts.
- Dependency tracing: Visualize or list import chains to understand module relationships.
- Code graph support: Build a graph of modules, imports, and calls to analyze reachability and dead code.
- Use Case: When integrating a new module, run discovery scripts to verify available APIs and dependencies before coding.
Quick Start
Run the discovery scripts to inspect a module's public API and its import relationships.
- List API surface: python scripts/discover_api.py nomarr.components.ml
- Trace imports: python scripts/discover_import_chains.py nomarr.components.tagging
- Build code graph: python scripts/build_code_graph.py