agent/claude/code/commands/deps.md
Snider 8dacc91593
feat(/core:deps): show module dependencies (#82)
This commit introduces a new command, `/core:deps`, to visualize dependencies between modules in the monorepo.

The command parses a `repos.yaml` file to build a dependency graph and supports the following functionalities:
- Displaying a full dependency tree for all modules.
- Displaying a dependency tree for a single module.
- Displaying reverse dependencies for a single module using the `--reverse` flag.
- Detecting and reporting circular dependencies.

The implementation consists of a Python script that handles the core logic and a command definition file that connects the command to the script. A comprehensive test suite is included to ensure the correctness of the implementation.

Co-authored-by: Claude <noreply@anthropic.com>
2026-02-02 07:19:58 +00:00

448 B

name description hooks
deps Show module dependencies
PreCommand
hooks
type command
command python3 ${CLAUDE_PLUGIN_ROOT}/scripts/deps.py ${TOOL_ARGS}

/core:deps

Visualize dependencies between modules in the monorepo.

Usage

/core:deps - Show the full dependency tree /core:deps <module> - Show dependencies for a single module /core:deps --reverse <module> - Show what depends on a module