android-lint-and-quality
Installation
SKILL.md
Android Code Quality & Linting ๐งน๐ก๏ธ
Professional strategies for enforcing team standards and preventing technical debt through automated static analysis.
โก When to Use
- Code Review Readiness: Automatically checking Pull Requests for common errors.
- Enforcing Style: Ensuring all developers follow the same Kotlin formatting.
- Complex Bug Prevention: Using custom Lint rules to catch project-specific issues.
- CI/CD Automation: Failing builds on logic or style violations.
- Gradual Refactoring: Deprecating legacy methods and encouraging migration.
๐๏ธ The 3 Layers of Analysis
1. Android Lint (Built-in)
- Rules: Catch memory leaks, missing accessibility labels, and incorrect resource usages.
- Customization: Use
lint-rulesmodule to write your own rules specific to your app architecture.