What problem does it solve? New Java repositories often ship without enforced formatting or bug detection, letting style drift, null dereferences, and security bug patterns slip into production. This Skill wires a complete static analysis toolchain into Maven so objective violations break the build automatically. ## Core Features & Use Cases - Unified formatting: Spotless with google-java-format (AOSP) becomes the single canonical formatter, ending style debates in PRs. - Bug pattern detection: SpotBugs with FindSecBugs catches null derefs, resource leaks, SQLi, and XSS; Error-Prone and NullAway add compile-time bug and null-safety checks. - Build-breaking policy: Clear CI failure rules per tool (any Spotless diff, any HIGH SpotBugs finding, any new Error-Prone/NullAway violation, Sonar Quality Gate failure). - Use Case: When bootstrapping a new Spring Boot service, apply this Skill to get a pom.xml where mvn verify enforces formatting, bug patterns, and null-safety from the first commit. ## Quick Start Apply the static-analysis skill to wire Spotless, SpotBugs, Error-Prone, and NullAway into this repository's Maven build so violations fail the build.