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:ref-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
Domain-owned OpenRewrite log-line finding parser for the java-cui domain — parses the
development
Domain-owned OpenRewrite marker detection for the java-cui domain — scans Java/Kotlin sources for cui-rewrite TODO markers, categorizes them by recipe, and fails the gate on any detected marker
development
Operator control surface for the marshalld build server — enrol/drop a project in the machine-global registry (the opt-in enable signal and anti-laundering wall), manage the daemon lifecycle (start, stop, drain, status, install, upgrade) version-pinned to the verified bundle copy, and inspect the daemon's per-project interaction-audit log (read-only)
tools
The tiny build-consumption client for the marshalld build server — submit a build job, bounded long-poll for its result, ping the daemon identity, and preflight registry-plus-liveness in one call; consumption only, never provisioning or enrolment