Any Java change that must be merged safely (feature/refactor/bugfix).
Inputs to request (if missing)
Acceptance criteria (1-3 bullets).
Module name (if multi-module repo).
Build tool and test conventions.
Whether integration tests are required for the change.
Steps
Repo map (brief): identify the module, entrypoint, and test location.
Plan: smallest diff that meets acceptance criteria.
Implement: minimal edits.
Tests:
prefer fast unit tests first
add integration tests only when required to validate behavior
Verify:
run targeted tests
run mvn -q test (or module-scoped equivalent)
Output PR-ready summary with evidence.
Verification commands (project-specific)
Use the repo's build tool and record the exact commands and results.
Prefer targeted unit tests before full test suites.
Output contract
Plan (3-6 steps)
Files changed + intent
Commands run + results
Risks + follow-ups
1---2name: java-change-with-tests3description: java-change-with-tests4---5# java-change-with-tests67## When to use8- Any Java change that must be merged safely (feature/refactor/bugfix).910## Inputs to request (if missing)11- Acceptance criteria (1-3 bullets).12- Module name (if multi-module repo).13- Build tool and test conventions.14- Whether integration tests are required for the change.1516## Steps171. Repo map (brief): identify the module, entrypoint, and test location.182. Plan: smallest diff that meets acceptance criteria.193. Implement: minimal edits.204. Tests:21 - prefer fast unit tests first22 - add integration tests only when required to validate behavior235. Verify:24 - run targeted tests25 - run `mvn -q test` (or module-scoped equivalent)266. Output PR-ready summary with evidence.2728## Verification commands (project-specific)29- Use the repo's build tool and record the exact commands and results.30- Prefer targeted unit tests before full test suites.3132## Output contract331) Plan (3-6 steps)342) Files changed + intent353) Commands run + results364) Risks + follow-ups
Run npx skillmds@latest add demerzels-lab/java-change-with-tests in your terminal (requires Node.js), paste this page's agent-chat prompt into Claude, Cursor, or any MCP-connected agent, or download the SKILL.md file and copy it into your agent's skills directory.
java-change-with-tests It is listed under Coding & Dev Tools on SkillMD.
This skill has not completed SkillMD's automated safety review yet. SkillMD never runs a skill's scripts for you; review the SKILL.md before installing.
This skill is tagged as working with Claude Code, Claude.ai, OpenAI Codex. SKILL.md is an open format, so most agents that read a skills directory can load it too.
Yes. Installing skills from SkillMD is free, and the skill stays under its author's original license.
Demerzels-lab (@demerzels-lab) published this skill. Their other Agent Skills are listed on their SkillMD profile.