local-reviewlisted
Install: claude install-skill IgnatRozhkoTR/governed-workflow
# Local Code Review Skill
Review uncommitted/committed changes on the current local branch compared to a base branch (default: `develop`). Designed to run after completing a ticket but before pushing an MR.
## Objectivity Requirement
**CRITICAL**: The orchestrator (you) may have created or guided the implementation on this branch. You are NOT objective. Your only role here is to gather raw data and delegate the entire review to sub-agents. You MUST NOT:
- Summarize what was implemented or why
- Pass task descriptions, ticket context, or intent to sub-agents
- Pre-filter or comment on the quality of changes
- Include any conversation history or orchestration context in sub-agent prompts
Sub-agents receive ONLY: raw diffs, raw file contents, and coding rules. They form their own conclusions.
## Input
- **Argument** (optional): base branch to compare against (default: `develop`)
- Auto-detects current branch name from git
## Workflow
### Step 1: Gather Branch Diff
```bash
# Get current branch
git rev-parse --abbrev-ref HEAD
# Get full diff against base branch
git diff develop...HEAD
# Get list of changed files
git diff develop...HEAD --name-only
# Get diff stats
git diff develop...HEAD --stat
```
If the base branch argument is provided, use it instead of `develop`.
Capture the raw diff output — this is what sub-agents will review.
### Step 2: Classify Changed Files
Group changed files into categories:
- **source**: `src/main/**/*.{java,kt}` (excluding config/prop