marketplace/bundles/pm-dev-java/skills/java-maintenance/SKILL.md
Java code maintenance standards including prioritization, refactoring triggers, and compliance verification
npx skillsauth add cuioss/plan-marshall java-maintenanceInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
REFERENCE MODE: This skill provides reference material. Load specific standards on-demand based on current task.
Java code maintenance standards for identifying, prioritizing, and executing refactoring work. This skill covers compliance checking, maintenance prioritization, and refactoring triggers.
This skill applies to all Java projects requiring maintenance or refactoring.
Important: Load this standard for any maintenance work.
Read: standards/maintenance-prioritization.md
This provides foundational rules for:
Refactoring Triggers (load for code analysis):
Read: standards/refactoring-triggers.md
Use when: Identifying when code needs refactoring based on metrics and patterns.
Compliance Checklist (load for verification):
Read: standards/compliance-checklist.md
Use when: Verifying code meets all Java development standards.
High Priority (API/Contract Issues)
Medium Priority (Maintainability)
Low Priority (Style)
// TRIGGER: Method too long
// Refactor when method exceeds 50 lines
// TRIGGER: Too many parameters
// Refactor when method has >4 parameters
// Use parameter objects
// TRIGGER: High complexity
// Refactor when cyclomatic complexity >15
// Extract methods, use polymorphism
Use explicit script calls for all build operations:
python3 .plan/execute-script.py plan-marshall:manage-architecture:architecture resolve --command quality-gatepython3 .plan/execute-script.py plan-marshall:manage-architecture:architecture resolve --command coveragepython3 .plan/execute-script.py plan-marshall:manage-architecture:architecture resolve --command verifyplan-marshall:dev-general-code-quality - Language-agnostic refactoring triggers and prioritizationpm-dev-java:java-core - Core Java patternspm-dev-java:junit-core - Test coverage requirementspm-dev-java:javadoc - Documentation standards| Standard | Purpose | |----------|---------| | maintenance-prioritization.md | Priority framework for refactoring | | refactoring-triggers.md | Metrics and patterns triggering refactoring | | compliance-checklist.md | Full standards compliance verification |
development
The single append-only change-ledger — one worktree_sha-stamped substrate for kind=build and kind=change entries — plus the first-class worktree-sha freshness API
development
Authoring standards for ASCII box diagrams in skill and doc source — box-drawing conventions, right-border alignment, and a deterministic check/fix validator over fenced/literal code blocks in .md and .adoc files
testing
Recipe for verifying and fixing alignment of ASCII box diagrams across .md skill source and .adoc documentation, one deliverable per offending file
development
Pure platform-agnostic terminal-title composition consumed by platform-runtime via PYTHONPATH