Code Check
This skill performs a comprehensive, multi-agent code review on the current branch's changes relative to the base branch. It mirrors the depth of a full PR review but operates entirely locally — no PR required.
When This Skill Applies
This skill activates when the user's request involves:
- Reviewing current branch changes before opening a PR
- Running a code check or quality review on local changes
- Getting feedback on what has changed on the current branch
- Checking code quality, tests, comments, error handling, or type design on branch changes
What It Does
- Detects the base branch and computes the diff of all commits on the current branch
- If uncommitted changes exist, asks the user whether to include them
- Launches up to twelve specialized review agents in parallel:
- code-reviewer — bugs, AGENTS.md compliance, code quality
- code-simplifier — clarity, consistency, maintainability
- test-analyzer — test coverage quality and gaps
- comment-analyzer — comment accuracy and long-term value
- silent-failure-hunter — silent failures and error handling
- type-design-analyzer — type invariants and encapsulation
- documentation-reviewer — missing, stale, or inaccurate documentation
- android-reviewer — Kotlin idioms, Jetpack Compose best practices (auto-detected when
.kt/.ktsfiles change) - ios-reviewer — Swift idioms, SwiftUI best practices (auto-detected when
.swiftfiles change) - react-native-reviewer — JS/TS idioms, React Native best practices (auto-detected when
.js/.ts/.tsxfiles change in an RN project) - flutter-reviewer — Dart idioms, Flutter best practices (auto-detected when
.dartfiles change) - web-reviewer — JS/TS idioms, React/Next.js/Vue/Svelte/Angular, accessibility, performance, security (auto-detected for web projects)
- Aggregates findings into a prioritized action plan
How to Execute
Invoke the /code_check command. Optional arguments narrow the review scope:
/code_check # Full review (all agents)
/code_check code errors # Only code-reviewer and silent-failure-hunter
/code_check tests comments types # Only test-analyzer, comment-analyzer, type-design-analyzer
/code_check simplify # Only code-simplifier
/code_check android # Only android-reviewer (Kotlin/Compose)
/code_check ios # Only ios-reviewer (Swift/SwiftUI)
/code_check code android # Code review + Android-specific checks
/code_check react-native # Only react-native-reviewer (JS/TS + RN)
/code_check flutter # Only flutter-reviewer (Dart + Flutter)
/code_check web # Only web-reviewer (JS/TS + web platform)
/code_check docs # Only documentation-reviewer