From pactkit
Generate project code dependency graph (Mermaid), supporting file-level, class-level, and function-level call chain analysis
npx claudepluginhub pactkit/claude-code-plugin --plugin pactkitThis skill uses the workspace's default tool permissions.
Generate project code relationship graphs (Mermaid format), supporting three analysis modes.
Provides Ktor server patterns for routing DSL, plugins (auth, CORS, serialization), Koin DI, WebSockets, services, and testApplication testing.
Conducts multi-source web research with firecrawl and exa MCPs: searches, scrapes pages, synthesizes cited reports. For deep dives, competitive analysis, tech evaluations, or due diligence.
Provides demand forecasting, safety stock optimization, replenishment planning, and promotional lift estimation for multi-location retailers managing 300-800 SKUs.
Generate project code relationship graphs (Mermaid format), supporting three analysis modes.
Script location: Use the base directory from the skill invocation header to resolve script paths.
.py) to generate meaningful graphsdocs/architecture/graphs/ directory is automatically created by init_archpython3 ${CLAUDE_PLUGIN_ROOT}/skills/pactkit-visualize/scripts/visualize.py visualize [--mode file|class|call] [--entry <func>] [--focus <module>]
| Parameter | Description | Default |
|---|---|---|
--mode file | File-level dependency graph (inter-module import relationships) | Default |
--mode class | Class diagram (including inheritance) | - |
--mode call | Function-level call graph | - |
--entry <func> | BFS transitive chain tracing from specified function (requires --mode call) | - |
--focus <module> | Focus on call relationships of specified module (requires --mode call) | - |
python3 ${CLAUDE_PLUGIN_ROOT}/skills/pactkit-visualize/scripts/visualize.py init_arch
docs/architecture/graphs/ and docs/architecture/governance/system_design.mmdpython3 ${CLAUDE_PLUGIN_ROOT}/skills/pactkit-visualize/scripts/visualize.py list_rules
docs/architecture/governance/| Mode | Output Path | Mermaid Type |
|---|---|---|
--mode file | docs/architecture/graphs/code_graph.mmd | graph TD |
--mode class | docs/architecture/graphs/class_graph.mmd | classDiagram |
--mode call | docs/architecture/graphs/call_graph.mmd | graph TD |
--focus (file) | docs/architecture/graphs/focus_file_graph.mmd | graph TD |
--focus (class) | docs/architecture/graphs/focus_class_graph.mmd | classDiagram |
--focus (call) | docs/architecture/graphs/focus_call_graph.mmd | graph TD |
/project-plan: Run visualize to understand current project state before making design decisions/project-act: Run visualize --focus <module> to understand dependencies of the modification targetpactkit-doctor skill: Run visualize to check whether architecture graphs can be generated correctlypactkit-trace skill: Run visualize --mode call --entry <func> to trace call chains