marketplace/bundles/plan-marshall/skills/ref-code-quality/SKILL.md
Language-agnostic code quality principles covering SRP, CQS, complexity thresholds, refactoring triggers, error handling, and documentation standards
npx skillsauth add cuioss/plan-marshall ref-code-qualityInstall 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.
Language-agnostic code quality and documentation principles applicable across all technology stacks. Covers design principles, complexity management, refactoring triggers, error handling, and API documentation.
Important: Load this standard for any implementation or refactoring work.
Read: standards/code-organization.md
Covers SRP, CQS, parameter objects, package structure, immutability, refactoring triggers, complexity thresholds, and maintenance prioritization.
Error Handling (load for error/exception work):
Read: standards/error-handling.md
Use when: Designing error handling, exception hierarchies, or recovery patterns.
Documentation Principles (load for API documentation work):
Read: standards/documentation-principles.md
Use when: Writing or reviewing public API documentation, updating docs during code changes.
pm-dev-java:java-core — Java-specific patterns and featurespm-dev-java:java-maintenance — Java maintenance prioritizationpm-dev-java:javadoc — JavaDoc tag syntax and Java-specific patternspm-dev-frontend:javascript — JavaScript-specific patterns including JSDocclass UserService:
def create_user(self, data):
# validates, saves to DB, sends email, logs audit
...
class UserService:
def __init__(self, repo, notifier):
self._repo = repo
self._notifier = notifier
def create_user(self, data):
user = self._repo.save(data)
self._notifier.welcome(user)
return user
| Standard | Purpose | |----------|---------| | code-organization.md | SRP, CQS, package structure, refactoring triggers, complexity, maintenance | | error-handling.md | Exception philosophy, propagation, recovery | | documentation-principles.md | What/when/how to document public APIs |
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