Generate a minimal developer self-check checklist for Android (Kotlin/Gradle) projects from git diff to verify changes before requesting review. For other platforms (iOS, Web), use the corresponding platform-specific skill.
Generate a minimal checklist for Android (Kotlin/Gradle) developers to verify changes before requesting review.
Note: This skill is specific to Android projects using Kotlin and Gradle. For iOS or Web projects, use the corresponding platform-specific skill.
Collect change information:
git diff --name-only 2>/dev/null; git diff --cached --name-only 2>/dev/nullgit diff --stat 2>/dev/null; git diff --cached --stat 2>/dev/nullIf $ARGUMENTS is provided, use it as additional context for the change description.
Categorize changed files:
*Screen.kt*Composable.kt*.xml*ViewModel.kt*Repository*.kt, *DataSource*.kt, *Api*.kt*Model.kt, *Entity.kt, *Dto.kt*Module.kt*.gradle.kts, *.gradle*Test.ktBased on changed file types, generate relevant checks using the templates below.
IMPORTANT: Output the checklist as raw markdown (NOT inside a code block) so users can interact with checkboxes directly.
## Dev Self-Check
> Quick verification before review. Check all boxes.
**Changed files:** {count} files in {modules}
### Build
- [ ] `./gradlew :play:assembleDebug` succeeds
- [ ] No new warnings introduced
### {Category-specific checks}
{Generate 2-4 checks based on change type}
### Tests
- [ ] `./gradlew :{affected-module}:test` passes
---
*All passed? Ready for review.*
UI Changes (*Screen.kt, *Composable.kt):
ViewModel Changes (*ViewModel.kt):
Repository/API Changes:
DI/Module Changes (*Module.kt):
Build/Gradle Changes:
assembleDebug, assembleRelease)Model Changes:
After generating the checklist, always copy the full markdown output to the system clipboard using pbcopy (macOS) or equivalent so the user can paste it immediately.