What problem does it solve? Legacy Java code often lies: method names mislead, variables hold unexpected values, transactions have wrong boundaries, and hidden couplings break production after seemingly safe changes. This Skill performs zero-trust analysis of legacy Spring Boot code before you modify, refactor, or fix bugs in it. ## Core Features & Use Cases - Contract Drift Detection: Compares what methods claim to do (names, javadoc) against what they actually do by tracing execution paths. - Variable & Transaction Audits: Flags sentinel values, null-handling gaps, self-invocation bypassing @Transactional proxies, and checked exceptions that skip rollback. - Hidden Coupling & Database Reality Checks: Finds static state, ThreadLocal leaks, scheduled tasks calling modified code, and entity-to-schema mismatches. - Use Case: Before fixing a bug in an untested OrderService with 200-line methods, run this analysis to discover that a scheduled cleanup job also calls the method and that a DB trigger exists on the ORDERS table — then add characterization tests before changing anything. ## Quick Start Analyze this legacy Spring Boot service class with check-legacy before I refactor it, and report contract drift, transaction issues, and hidden couplings.