Skip to content

Commit b9c4a89

Browse files
edburnsCopilot
andauthored
edburns/java-add-spotless-to-java-coding-skill (#1723)
* 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 <edburns@microsoft.com> * Potential fix for pull request finding Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> --------- Signed-off-by: Ed Burns <edburns@microsoft.com> Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
1 parent 1e99498 commit b9c4a89

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

  • .github/skills/java-coding-skill

.github/skills/java-coding-skill/SKILL.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -655,6 +655,7 @@ try {
655655
10. **Provide descriptive tool names and descriptions** for better model understanding
656656
11. **Handle both delta and final events** when streaming is enabled
657657
12. **Use `getArgumentsAs()`** for type-safe tool argument deserialization
658+
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.
658659

659660
## Common Patterns
660661

0 commit comments

Comments
 (0)