detekt
Installation
SKILL.md
detekt
1. Scope+version
- DEFINE install | config | findings | baseline | suppression | type resolution | report/CI | extension | 1.x->2.x migration.
- INSPECT repository release policy, current plugin/CLI version, Kotlin/Gradle/AGP/JDK/JVM target, modules/source sets/variants, existing config/baselines/reports/plugins.
- READ current intro, changelog, and compatibility before version changes.
- PRESERVE existing major unless migration requested. New project: 2.x only if prerelease policy accepts alpha; otherwise latest stable 1.x.
- 1.x->2.x -> READ
references/migration-2.mdbefore edits.
2. Inspect
RUN from repository root:
python3 scripts/inspect-project.py --root . --json
CONFIRM plugin ID/version/module, toolVersion, config/baseline paths, rule plugins, Gradle options, reports, Kotlin project kind. Then list wrapper tasks; never guess variant/source-set names.