From eba64e96f8c4102b713ae153b3c95e659991ba44 Mon Sep 17 00:00:00 2001 From: Ed Burns Date: Thu, 18 Jun 2026 15:17:06 -0400 Subject: [PATCH 1/2] On branch edburns/java-add-spotless-to-java-coding-skill modified: .github/skills/java-coding-skill/SKILL.md - While working on #1721, I discovered and hereby fix this important omission. Signed-off-by: Ed Burns --- .github/skills/java-coding-skill/SKILL.md | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/skills/java-coding-skill/SKILL.md b/.github/skills/java-coding-skill/SKILL.md index 4e120d2cc..6b5c6d320 100644 --- a/.github/skills/java-coding-skill/SKILL.md +++ b/.github/skills/java-coding-skill/SKILL.md @@ -655,6 +655,7 @@ try { 10. **Provide descriptive tool names and descriptions** for better model understanding 11. **Handle both delta and final events** when streaming is enabled 12. **Use `getArgumentsAs()`** for type-safe tool argument deserialization +13. The CI/CD build will fail if the `mvn spotless:check` run fails. Therefore, before any commit, run `mvn spotless:apply` and be sure to include the changed files in the commit. ## Common Patterns From b73b050d248d469f7674d7a6b7f61dc21c236fa9 Mon Sep 17 00:00:00 2001 From: Ed Burns Date: Thu, 18 Jun 2026 15:29:07 -0400 Subject: [PATCH 2/2] Potential fix for pull request finding Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> --- .github/skills/java-coding-skill/SKILL.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/skills/java-coding-skill/SKILL.md b/.github/skills/java-coding-skill/SKILL.md index 6b5c6d320..c7d51ba6f 100644 --- a/.github/skills/java-coding-skill/SKILL.md +++ b/.github/skills/java-coding-skill/SKILL.md @@ -655,7 +655,7 @@ try { 10. **Provide descriptive tool names and descriptions** for better model understanding 11. **Handle both delta and final events** when streaming is enabled 12. **Use `getArgumentsAs()`** for type-safe tool argument deserialization -13. The CI/CD build will fail if the `mvn spotless:check` run fails. Therefore, before any commit, run `mvn spotless:apply` and be sure to include the changed files in the commit. +13. **Run Spotless before committing:** CI will fail if `mvn spotless:check` fails. Before committing Java changes, run `cd java && mvn spotless:apply` and include the resulting changes in the commit. ## Common Patterns