Claude-skill-registry ext-triage-java
Triage extension for Java findings during plan-finalize phase
install
source · Clone the upstream repo
git clone https://github.com/majiayu000/claude-skill-registry
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/majiayu000/claude-skill-registry "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/data/ext-triage-java" ~/.claude/skills/majiayu000-claude-skill-registry-ext-triage-java && rm -rf "$T"
manifest:
skills/data/ext-triage-java/SKILL.mdsource content
Java Triage Extension
Provides decision-making knowledge for triaging Java-related findings during the finalize phase.
Purpose
This skill is a triage extension loaded by the plan-finalize workflow skill when processing Java-related findings. It provides domain-specific knowledge for deciding whether to fix, suppress, or accept findings.
Key Principle: This skill provides knowledge, not workflow control. The finalize skill owns the process.
When This Skill is Loaded
Loaded via
resolve-workflow-skill-extension --domain java --type triage during finalize phase when:
- Build/test verification produces findings
- Sonar analysis reports issues
- PR review comments reference Java code
- Lint/format checks fail
Standards
| Document | Purpose |
|---|---|
| suppression.md | Java suppression syntax (@SuppressWarnings, NOSONAR) |
| severity.md | Java-specific severity guidelines and decision criteria |
Extension Registration
Registered in marshal.json under the java domain:
"java": { "workflow_skill_extensions": { "triage": "pm-dev-java:ext-triage-java" } }
Quick Reference
Suppression Methods
| Finding Type | Syntax |
|---|---|
| Sonar rule | |
| Deprecation | |
| Unchecked cast | |
| Null warning | or JSpecify annotations |
| All warnings | (line comment, use sparingly) |
Decision Guidelines
| Severity | Default Action |
|---|---|
| BLOCKER | Fix (mandatory) |
| CRITICAL | Fix (mandatory for vulnerabilities) |
| MAJOR | Fix or suppress with justification |
| MINOR | Fix, suppress, or accept |
| INFO | Accept (low priority) |
Acceptable to Accept
- Generated code in
**/generated/** - Test data builders with intentionally permissive patterns
- Legacy code with documented migration plan
- Framework-mandated patterns (e.g., Serializable)
- Documented false positives
Related Documents
- workflow-extension-api:triage-extension - Triage extension contract
- pm-dev-java:java-core - Core Java patterns