ワンクリックで
self-review
// Self-review before completing tasks. Multi-perspective verification using Gemini CLI + Claude subagent.
// Self-review before completing tasks. Multi-perspective verification using Gemini CLI + Claude subagent.
UI theming skill for applying brand designs to Flutter apps. Use when user asks to 'apply X style', 'change theme to Y', 'make it look like Z', or provides reference images for UI design.
E2E testing and mobile automation for Flutter apps. Use when creating/running tests with Maestro, Mobile MCP, and Dart MCP.
Modern UI design guidelines for Flutter apps. Achieve refined visuals based on Material Design 3.
Systematic requirements gathering through AskUserQuestion. Use when starting development to clarify app specifications.
| name | self-review |
| description | Self-review before completing tasks. Multi-perspective verification using Gemini CLI + Claude subagent. |
Execute this self-review procedure before marking tasks as completed (TodoWrite completed).
Apply this skill when:
completed with TodoWrite/self-review command# List of changed files
git diff --name-only HEAD
# Get change contents
git diff HEAD
Execute Gemini CLI review on changed Dart files:
git diff HEAD -- "*.dart" | gemini -p "
Please review the following code changes.
## Review Points (Check All)
### 1. Code Quality
- Readability (is it easy to understand?)
- Naming (appropriate variable/function names)
- Structure (proper separation of concerns)
### 2. Bugs & Errors
- Null safety
- Edge cases
- Exception handling
- Memory leaks
### 3. Design Patterns
- Architecture consistency
- Appropriate dependencies
- Duplicate code
## Output Format
- Critical issues: [file:line] [description and fix suggestion]
- Minor issues: [file:line] [description]
- No issues: 'LGTM'
"
Launch a review agent in a separate context using Task tool:
subagent_type: general-purpose
Prompt example:
---
Please review the following code changes.
## Changed Files
[Result of git diff --name-only HEAD]
## Change Contents
[Result of git diff HEAD]
## Review Points (Check All)
### Common Points
1. Code quality (readability, naming, structure)
2. Bugs & errors (null safety, edge cases, exception handling, memory leaks)
3. Design patterns (architecture consistency, dependencies, duplicate code)
### Project-Specific Points
4. Naming conventions (files: snake_case, classes: PascalCase, variables/functions: camelCase)
5. Architecture patterns (features/*/data/models/, repositories/, providers/, ui/)
6. Flutter-specific (Semantics support, Riverpod AsyncNotifier usage)
## Output Format
- Critical issues: [file:line] [description and fix suggestion]
- Minor issues: [file:line] [description]
- No issues: 'LGTM'
---
Integrate both review results and make judgment:
| Judgment | Condition | Action |
|---|---|---|
| PASS | Both LGTM | Task can be completed |
| MINOR | Only minor issues | Show warning, then task can be completed |
| FAIL | Critical issues found | Add fix tasks, re-review required |
If FAIL judgment:
## Self Review Result
### Gemini Review (External Model)
[Output from Gemini]
### Claude Subagent Review (Different Context)
[Output from subagent]
### Comparison Analysis
- Common issues: [Issues identified by both]
- Gemini-only issues: [Issues found only by Gemini]
- Subagent-only issues: [Issues found only by subagent]
### Judgment: [PASS/MINOR/FAIL]
#### Issues (if applicable)
- [ ] [file:line] [description]
#### Next Action
- [Complete task / Fix required]
If running full dual review for all tasks takes too long:
# Determine by number of changed lines
git diff --stat HEAD | tail -1
| Change Size | Lines (approx) | Review Method |
|---|---|---|
| Small | ~30 lines | Gemini CLI only (lightweight) |
| Medium | 31-100 lines | Dual review |
| Large | 100+ lines | Dual review + detailed analysis |