What problem does it solve? Spring Boot code often compiles and passes tests while hiding architectural problems—layer violations, stateful singletons, deprecated security APIs, broken transactions—that only surface as production incidents under load. This Skill systematically audits a codebase for these structural issues before they reach production. ## Core Features & Use Cases - Layer Integrity Checks: Detects controllers accessing repositories directly, services returning HTTP types, entities leaking out of the service layer, and business rules embedded in repositories. - Bean & Configuration Audit: Finds stateful singletons, field injection, circular dependencies, deprecated Spring Security 5 APIs, missing @EnableMethodSecurity, and unsafe actuator exposure. - Transaction & Virtual Thread Review: Verifies class-level @Transactional defaults, catches @Transactional on private methods, and flags synchronized blocks that pin virtual threads on Java 21. - Use Case: When reviewing a PR that touches Spring Security configuration or adds beans to an existing service, run this audit to produce a severity-ranked report of violations with concrete fixes before merge. ## Quick Start Review this Spring Boot module for architecture violations and produce a severity-ranked report with fixes.