Skip to content

docs: add Java support to setup skill, optimize skill, and stop hook#41

Merged
aseembits93 merged 1 commit intomainfrom
docs/update-java-support
Apr 2, 2026
Merged

docs: add Java support to setup skill, optimize skill, and stop hook#41
aseembits93 merged 1 commit intomainfrom
docs/update-java-support

Conversation

@mashraf-222
Copy link
Copy Markdown
Contributor

Summary

  • skills/setup/SKILL.md: Filled in the empty Java config section (Check 1c) with full configuration discovery instructions — detecting source/test roots, writing codeflash.* properties to pom.xml (Maven) or gradle.properties (Gradle)
  • skills/optimize/SKILL.md: Added Java build files (pom.xml, build.gradle) to the "Correct cwd" section so the optimizer finds the right project root for Java projects
  • scripts/suggest-optimize.sh: Added HAS_JAVA_CHANGES detection and a Java message block. Previously .java files were detected in git log but silently ignored — now they properly trigger the optimization suggestion

Test plan

  • Verified no test regressions — all pre-existing failures are identical on unmodified main (8 tests fail due to script simplification, not this change)
  • bats tests/test_suggest_optimize.bats passes same 19/27 tests as main

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@mashraf-222 mashraf-222 requested a review from aseembits93 April 2, 2026 11:43
@aseembits93 aseembits93 merged commit 8e2e1c4 into main Apr 2, 2026
0 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants