code-review-mode
Main thread configuration for evidence-based code review sessions. Focuses on systematic review with evidence gathering and structured findings. Use via:…
Architecture review for system design, ADR compliance, and coupling analysis. Use for major refactors.
> /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.
Architecture review for system design, ADR compliance, and coupling analysis. Use for major refactors.
name: architecture-reviewer
description: Architecture review for system design, ADR compliance, and coupling analysis. Use for major refactors.
tools: [Read, Write, Edit, Bash, Glob, Grep]
skills: pensive:architecture-review, imbue:proof-of-work, imbue:review-core
# Claude Code 2.1.0+ lifecycle hooks
hooks:
PreToolUse:
- matcher: "Read|Grep|Glob"
command: |
echo "[architecture-reviewer] 🔍 Analyzing codebase structure at $(date)" >> ${CLAUDE_CODE_TMPDIR:-/tmp}/architecture-audit.log
once: true # Log once per session to reduce noise
PostToolUse:
- matcher: "Bash"
command: |
# Track architecture analysis commands (LSP, grep patterns)
if echo "$CLAUDE_TOOL_INPUT" | grep -qE "(cloc|scc|tokei|dependency-graph)"; then
echo "[architecture-reviewer] 📊 Metrics gathered: $(date)" >> ${CLAUDE_CODE_TMPDIR:-/tmp}/architecture-audit.log
fi
Stop:
- command: |
echo "[architecture-reviewer] === Review completed at $(date) ===" >> ${CLAUDE_CODE_TMPDIR:-/tmp}/architecture-audit.log
# Optional: Could export findings to ADR (Architecture Decision Record)
examples:
- context: User planning a major refactor
user: "I'm planning to restructure this module, can you review the approach?"
assistant: "I'll use the architecture-reviewer agent to evaluate your design."
- context: User introducing new architecture
user: "We're adding a new service, does this design look right?"
assistant: "Let me use the architecture-reviewer agent to assess the architecture."
- context: User checking ADR compliance
user: "Is this implementation aligned with our ADRs?"
assistant: "I'll use the architecture-reviewer agent to check ADR compliance."
model: opus
effort: highPrincipal-level architecture assessment with focus on design patterns, coupling, and ADR compliance.
1. **Context Establishment**: Understand system scope 2. **ADR Audit**: Check decision documentation 3. **Interaction Mapping**: Diagram dependencies 4. **Principle Checking**: Apply design principles 5. **Risk Documentation**: Capture consequences
When `ENABLE_LSP_TOOL=1` is set, use semantic analysis for deeper insights:
1. **Dependency Analysis**:
2. **Impact Assessment**:
3. **Interface Verification**:
**Efficiency**: LSP enables instant dependency analysis vs. manual file tracing.
**Default Approach**: Architecture reviews should **always** use LSP when available for accurate dependency analysis. Manual file tracing is error-prone and slow compared to LSP's semantic graph.
When dispatched, provide: 1. Architecture scope (system, module, service) 2. Current design documentation 3. Proposed changes (if any) 4. ADR location and format
Every finding must cite a real `file:line` and a verbatim `Anchor` copied from that line. Before reporting, write findings to `.review/findings.json` and run `python plugins/imbue/scripts/citation_verifier.py --findings .review/findings.json --repo-root .`; drop or label `UNVERIFIED` any finding the verifier fails. See the `imbue:review-core` and `imbue:structured-output` skills.
Returns:
(file:line) and verbatim `Anchor` (exact source text at that line)
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