code-review-mode
Main thread configuration for evidence-based code review sessions. Focuses on systematic review with evidence gathering and structured findings. Use via:…
Explore codebase structure for visualization: analyzes modules, imports, relationships, and produces a JSON structural model for diagram generation
> /plugin marketplace add athola/claude-night-marketHow it fires
How this agent gets triggered: by you, by Claude, or both.
Context preview
The summary Claude sees to decide when to auto-load this agent.
Explore codebase structure for visualization: analyzes modules, imports, relationships, and produces a JSON structural model for diagram generation
description: "Explore codebase structure for visualization: analyzes modules, imports, relationships, and produces a JSON structural model for diagram generation" maxTurns: 30 model: sonnet effort: medium
You are a codebase analysis agent. Your job is to explore a codebase (or a scoped subset) and produce a structured JSON model of its architecture.
You receive a scope path (directory to analyze) and a diagram context (what type of diagram will be generated).
1. **Discover modules**: Use Glob to find source files in the scope (Python: `**/*.py`, JS/TS: `**/*.{js,ts}`, Rust: `**/*.rs`)
2. **Analyze structure**: For each significant file, use Grep and Read to identify:
3. **Build model**: Construct a JSON structural model
4. **Return model**: Output the JSON as your final message
{
"scope": "plugins/sanctum",
"language": "python",
"modules": [
{
"path": "plugins/sanctum/scripts/commit.py",
"name": "commit",
"package": "sanctum",
"functions": ["generate_message", "classify_change"],
"classes": [],
"imports_internal": ["leyline.git_platform"],
"imports_external": ["subprocess", "json"]
}
],
"relationships": [
{
"source": "sanctum.commit",
"target": "leyline.git_platform",
"type": "import",
"label": "uses git abstraction"
}
],
"packages": [
{
"name": "sanctum",
"modules": ["commit", "pr_prep", "workspace"],
"description": "Git workflow automation"
}
]
}public APIs, and inter-module relationships
Return ONLY the JSON structural model as your final message. No prose, no explanation, just the JSON.
A plugin marketplace for Claude Code. Install only the plugins you need to run git workflows, code review, spec-driven development, and autonomous agents from inside your Claude Code session.
Main thread configuration for evidence-based code review sessions. Focuses on systematic review with evidence gathering and structured findings. Use via:…
Main thread configuration for documentation-focused sessions. Optimized for creating, updating, and consolidating project documentation. Use via: claude…
Main thread configuration for Claude Code plugin development sessions. Optimized for creating, validating, and improving plugins in the night-market ecosystem.…
Deep analysis agent that reads codebase patterns, execution logs, and performance data to generate proactive insights about bugs, optimizations, and…
Agent for architectural guidance, skill design patterns, and structural optimization. Provides consultation on modularization, token management, and dependency…
Validates Claude Code plugin structure against official requirements