← ClaudeAtlas

jaipilot-clean-javalisted

Safely remove unused Java, consolidate equivalent logic, reduce real complexity, enforce stable architecture rules, modernize compatible dependencies or JDKs, and optimize measured workloads. Use for dead code, AI-generated clutter, duplication, excessive classes or methods, ArchUnit rules, OpenRewrite migrations, stable upgrades, slow algorithms, allocation, I/O, contention, or virtual-thread evaluation.
JAIPilot/jaipilot · ★ 5 · Code & Development · score 66
Install: claude install-skill JAIPilot/jaipilot
# Make Java smaller, newer, and faster without guessing Optimize for verified value, not fewer lines, newer version numbers, or fashionable constructs. Never claim universal safety: Java reflection, frameworks, configuration, external consumers, and unmeasured workloads make that impossible. Fail closed when required evidence is unavailable. ## Select the requested modes Read only the references needed for the request: - [unused.md](references/unused.md): remove repository-proven unused code, dependencies, or resources; - [consolidate.md](references/consolidate.md): merge genuinely equivalent logic and reduce classes, methods, and lines without creating a generic abstraction; - [modernize.md](references/modernize.md): upgrade the JDK, build, framework, plugins, and public dependencies to verified compatible stable releases; and - [performance.md](references/performance.md): improve measured algorithms, allocation, I/O, and concurrency, including virtual threads when the workload proves they fit; - [architecture-and-rewrites.md](references/architecture-and-rewrites.md): use ArchUnit for a stable architectural invariant or OpenRewrite for a bounded deterministic transformation. Use only the modes requested by the user or controlling workflow. For a comprehensive request, use this order unless repository constraints justify another: remove proven unused leaves, consolidate equivalent behavior, optimize measured workloads, then modernize justified build or runtime