Android Quality Check
After Kotlin edits, runs one fast Gradle static check the project already defines (ktlintCheck, lintKotlin or detekt) and reports findings; blocks the agent with the first failure lines only when forgekit.yaml explicitly sets qualityGates.lint to true and the check really fails.
What it does
After Kotlin edits, runs one fast Gradle static check the project already defines (ktlintCheck, lintKotlin or detekt) and reports findings; blocks the agent with the first failure lines only when forgekit.yaml explicitly sets qualityGates.lint to true and the check really fails.
- Category
- mobileandroidquality
- Platforms
- android
- Frameworks and tools
- gradlektlintdetekt
- Capabilities
- lintingpost-editquality-gate
Example tasks
- “The agent edits a ViewModel and ktlintCheck reports a missing trailing newline, which the agent fixes in the same turn.”
- “A project with detekt but no ktlint gets detekt run after Kotlin edits, non-blocking until the team turns the gate on.”
- “Offline CI without cached Gradle dependencies skips the check instead of blocking the agent.”
Works with
Permissions summary
Files
Reads files only
Shell
Runs a limited set of commands
Network
No network
Permissions are declared in the component manifest and compiled into each client's tool list. Components are built for least privilege.
Supported environments
| Client | Support | Installed as |
|---|---|---|
| Claude Code | Native | .forgekit/hooks/<id>/ + .claude/settings.json |
| OpenAI Codex | Not supported | Skipped (reported at install) |
| Cursor | Not supported | Skipped (reported at install) |
| VS Code (Copilot) | Not supported | Skipped (reported at install) |
| Generic markdown | Adapter | docs/forgekit/hooks/<id>.md |
Claude Code is the native reference. Other clients use adapters, so behaviour is close but not identical. See the compatibility matrix.
Included in packs
What is inside
This is a premium component, so its prompt is delivered only through signed downloads to licensed accounts. Here is the outline of its sections (37 lines in total).
- 01android-quality
- 02What runs
- 03Blocking policy
- 04Disable
Version and changelog
Latest version 1.0.0. Requires DevBuildKit CLI 1.0.0 or newer.
Changelog — Android Quality Check
1.0.0
- Initial release.