spotless
Installation
SKILL.md
Spotless
Step 1: Establish scope and version
- DEFINE install | formatter change | target change | ratchet adoption | CI enforcement | upgrade | failure diagnosis.
- IDENTIFY Gradle or Maven, wrapper version, build JVM, modules, languages, generated/vendor directories, existing formatter files, CI command, and baseline state.
- READ the current Gradle guide or Maven guide plus its changelog before changing versions. Gradle and Maven plugin versions are independent.
- PRESERVE existing formatter engines, formatter versions, target boundaries, step order, line-ending policy, and shared convention plugin unless the request changes them.
- SELECT an older supported plugin line only when the build runtime cannot meet current requirements; record the compatibility reason.
Completion: exact integration, versions, modules, formats, targets, steps, and requested behavior are known.
Step 2: Inspect configuration
RUN from the repository root:
python3 scripts/inspect-project.py --root . --json