Java Code Quality
| This documentation was generated with the assistance of AI. Please report any inaccuracies. |
Run this project’s static-analysis Maven plugins — Checkstyle, PMD, and SpotBugs — directly via
mvn clean compile checkstyle:checkstyle pmd:pmd spotbugs:spotbugs, then read the three generated XML reports to
summarize every issue found, grouped by tool. This is a read-only reporting skill: it runs static analysis and
reports results, it does not fix issues unless asked to as an explicit follow-up.
Purpose
iru-java-code-quality gives a fast, focused lint pass without paying for a full mvn site build (which also
regenerates javadoc, JXR, and Surefire-report output this skill doesn’t need). It runs the three analysis goals
directly, parses their XML reports itself rather than relying on console output — which only shows progress, not
the full issue list — and can scope its summary to a single file/class even though the underlying Maven run
always analyzes the whole project.
Inputs
| Argument | Required | Description | Default |
|---|---|---|---|
|
No |
Scopes the reported summary to matches in a specific file/class: Checkstyle/PMD entries whose |
None — omitting it summarizes every issue across the whole project. |
Outputs
-
A plain-text summary in the conversation — never a written file.
-
Findings grouped by tool (Checkstyle, PMD, SpotBugs), then by file.
-
Per issue: file:line, the rule/check name, and the message.
-
A total issue count per tool at the top and an overall total; a tool with zero issues in the requested scope is called out as clean rather than omitted silently.
-
No source, Checkstyle, PMD, or SpotBugs configuration is ever modified.
Execution flow
Dependencies
Invokes
None — iru-java-code-quality is a leaf skill; it only runs Maven commands and reads the generated Checkstyle/PMD/
SpotBugs reports, it does not call any other skill in this catalog.
Invoked by
-
Code — Steps 3 and 7, once per run (not per task group), via the
iru-gate-runneragent, to capture and later re-check a project-wide quality baseline for thejavalanguage/framework key. -
Java Code One Task Group — Steps 1 and 3, once per task group’s bucket, via the
iru-gate-runneragent, to capture a pre-change baseline covering every class the bucket touches and later diff the post-change result against it.
Related agents
-
iru-gate-runner— both callers above always invoke this skill from inside airu-gate-runnersub-agent they spawn, not inline.
Source
SKILL.md on GitHub — the file this page was generated from.