Agent skill

Android Tooling & Linting

Standards for Static Analysis (Detekt, Ktlint) and CI/CD Checks

Stars 163
Forks 31

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 jlleitschuh plugin.
  • 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

Expand your agent's capabilities with these related and highly-rated skills.

Didn't find tool you were looking for?

Be as detailed as possible for better results