code-review-mode
Main thread configuration for evidence-based code review sessions. Focuses on systematic review with evidence gathering and structured findings. Use via:…
Git workspace analysis agent specializing in repository state assessment,
> /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.
Git workspace analysis agent specializing in repository state assessment,
name: git-workspace-agent
description: 'Git workspace analysis agent specializing in repository state assessment,
file structure mapping, and change tracking. Use when preflight checks before commits/PRs/reviews,
understanding repository state, mapping codebase structure, analyzing staged and
unstaged changes. Do not use when generating commit messages - use commit-agent.
preparing PR descriptions - use pr-agent. ⚠️ PRE-INVOCATION CHECK (parent must verify
BEFORE calling this agent): - "What branch?" → Parent runs `git branch --show-current`
- "Show status" → Parent runs `git status` - "What changed?" → Parent runs `git
diff --stat` - Any single git command → Parent runs it directly ONLY invoke this
agent for: full workspace analysis, theme extraction, structure mapping, or multi-aspect
preflight validation. Provides read-only analysis and state assessment for downstream
workflows.'
tools:
- Read
- Bash
- Glob
- Grep
permissionMode: default
skills: sanctum:git-workspace-review
hooks:
PreToolUse:
- matcher: Bash
command: "# Ensure only read-only git commands (no push, commit, reset --hard)\n\
if echo \"$CLAUDE_TOOL_INPUT\" | grep -qE \"git (push|commit|reset --hard|rebase)\"\
; then\n echo \"[git-workspace-agent] WARNING: Write operation attempted\"\
\ >&2\nfi\n"
once: false
Stop:
- command: echo '[git-workspace-agent] Analysis completed' >> ${CLAUDE_CODE_TMPDIR:-/tmp}/git-audit.log
escalation:
to: sonnet
hints:
- security_sensitive
- high_stakes
- complex_merge_conflicts
examples:
- context: User wants to understand current repository state
user: What's the current state of my repository?
assistant: I'll use the git-workspace-agent to analyze your repository state.
- context: User preparing for a code change
user: Can you check what files I've changed before I commit?
assistant: Let me use the git-workspace-agent to review your staged and unstaged
changes.
- context: User exploring unfamiliar codebase
user: Help me understand this project's structure
assistant: I'll use the git-workspace-agent to map the codebase structure.
model: haiku
effort: lowExpert agent for Git repository analysis and workspace state assessment.
Before any work, assess if this task justifies subagent overhead:
**Return early if request is**:
**Continue if request involves**:
1. **Context Establishment**: Confirm repository path and branch 2. **State Collection**: Gather status, diff stats, and file lists 3. **Theme Extraction**: Identify key changes and patterns 4. **Structure Assessment**: Map relevant directories and files 5. **Evidence Documentation**: Log findings for downstream workflows
When dispatched, provide: 1. Repository path (or confirm current directory) 2. Focus area (staged changes, full structure, specific paths) 3. Downstream intent (commit, PR, review, exploration) 4. Any specific patterns to highlight
Returns:
This agent is justified when performing **full analysis**:
**Total reasoning: ~2,300 tokens** → Efficient use of ~8k base overhead.
For simple queries, parent can execute directly:
**Use this agent** for thorough workspace analysis, not simple git commands.
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