Skip to content
Back to skills

Android Tooling Linting

ASecurity

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

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added September 27, 2026
code-qualityci/cd

Security analysis

A100/100

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

Scanned September 27, 2026

npx -y skills add David-Li0406/meta-skill-evloving --skill android-tooling-linting --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Android Tooling Linting?

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

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

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 & Linting
description: Standards for Static Analysis (Detekt, Ktlint) and CI/CD Checks
metadata:
  labels: [android, tooling, lint, detekt]
  triggers:
    files: ['build.gradle.kts', 'detekt.yml']
    keywords: ['detekt', 'ktlint', 'lint']
---

# 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](references/implementation.md)

Files in this skill

  • SKILL.md999 B
  • 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.

Comments

Loading comments…