Skip to content
Back to skills

Android Tooling

ASecurity

Configure static analysis with Detekt, Ktlint, and Android Lint for CI/CD quality gates. Use when adding lint rules, configuring code quality checks, or setting up analysis as a CI gate.

  • 584 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added June 6, 2026
developmentci/cd

Security analysis

A100/100

Pro scans all 3 files and shows the line behind each finding

Scanned June 6, 2026

npx -y skills add HoangNguyen0403/agent-skills-standard --skill android-tooling --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Android Tooling?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Android Tooling
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/hoangnguyen0403-android-tooling/badge)](https://www.skillsdirectory.com/skills/hoangnguyen0403-android-tooling)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: android-tooling
description: Configure static analysis with Detekt, Ktlint, and Android Lint for CI/CD quality gates. Use when adding lint rules, configuring code quality checks, or setting up analysis as a CI gate.
metadata:
  triggers:
    files:
    - 'build.gradle.kts'
    - 'detekt.yml'
    - '.detekt/config.yml'
    keywords:
    - detekt
    - ktlint
    - lint
    - "@Suppress"
    - abortOnError
    - jlleitschuh
---
# 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

- **No @Suppress in Production**: Fix Detekt/lint violation at source.
- **No Manual Formatting**: Let Ktlint handle it — configure auto-format on save in IDE.

## References

- [Configuration](references/implementation.md)

Files in this skill

  • SKILL.md1.2 KB
  • evals/evals.json2.9 KB
  • references/implementation.md735 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in development →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.