Agent skill
Android Tooling & Linting
Standards for Static Analysis (Detekt, Ktlint) and CI/CD Checks
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/tooling-hoangnguyen0403-agent-skills-standar-8
Metadata
Additional technical details for this skill
- labels
-
android tooling lint detekt
- triggers
-
{ "files": [ "build.gradle.kts", "detekt.yml" ], "keywords": [ "detekt", "ktlint", "lint" ] }
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.
References
- Configuration
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?