Resources
1Install
npx skillscat add hoangnguyen0403/agent-skills-standard/android-tooling-linting Install via the SkillsCat registry.
SKILL.md
Android Tooling Standards
Priority: P1
Implementation Guidelines
Static Analysis
- Detekt: Enforce code complexity rules (LongMethod, LargeClass). Fail build on high complexity.
- Ktlint: Enforce formatting style (Indent, Spacing). Use
jlleitschuhplugin. - Android Lint: Treat warnings as errors in CI (
abortOnError = true).
CI Gates
- Pre-commit: Run lightweight checks (formatting) locally.
- Pipeline: Run full checks (Detekt + Lint + Unit Tests) on Pull Request.
Anti-Patterns
- Suppress:
**No @Suppress**: Fix the root cause. - Manual Formatting:
**No Manual Format**: Auto-format on save.