Add Kotlin-in-Maven-project skill - #8
Open
e5l wants to merge 3 commits into
Open
Conversation
e5l
requested review from
AYastrebov,
Tapchicoma,
d-ambatenne and
evilya
as code owners
March 17, 2026 09:00
Skill that guides configuring Kotlin in existing Java Maven projects using kotlin-maven-plugin with <extensions>true</extensions> for minimal, clean mixed Java-Kotlin builds. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
e5l
force-pushed
the
add-kotlin-to-maven-project-skill
branch
from
March 18, 2026 12:00
9a4166f to
7d390df
Compare
Collaborator
|
Asked @shinkai-tester to verify this skill |
d-ambatenne
approved these changes
Mar 30, 2026
d-ambatenne
left a comment
There was a problem hiding this comment.
Discussed with Leonid, this skill is common for any Maven projects, not only for KSS
|
Tested on two projects (used Claude Code):
What works well:
Issues found:
|
…ance - Update hardcoded Kotlin 2.1.20 to 2.3.20 (minimum for extensions smart defaults) - Add agent instructions to look up latest version on Maven Central - Add minimum version note to "What extensions does" section - Rename "Compiler Plugins (Optional)" to "Compiler Plugins (Framework-Dependent)" - Add dependency-detection guidance for Spring/JPA/serialization plugins - Update checklist with version requirement Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Member
Author
|
@shinkai-tester, fixed comments. please check it out |
…ring Spring Boot Kotlin applications (especially Spring Data JPA) need kotlin-reflect at runtime for DI, AOP proxies, and Jackson's Kotlin module. kotlin-maven-plugin with <extensions>true</extensions> adds kotlin-stdlib but not kotlin-reflect, and without it these applications fail at runtime. - SKILL.md: document kotlin-reflect as a Spring runtime dependency - COMPILER-PLUGINS.md: note kotlin-reflect requirement in the Spring section - checklist.md: add a kotlin-reflect check Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@e5l sorry for the delay, just got back from vacation. Looks good 👍 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
kotlin-tooling-add-kotlin-to-maven-projectskill that guides configuring Kotlin in existing Java Maven projectskotlin-maven-pluginwith<extensions>true</extensions>for minimal, clean mixed Java-Kotlin buildsscripts/analyze-maven-project.sh), verification checklist, and compiler plugins reference (Spring, JPA, serialization)What the skill covers
kotlin.versionproperty andkotlin-maven-pluginwith extensionsjunit-jupiter-engine,kotlin-test-junit5).ktalongside.javavs separatekotlin/dirs)Test plan
initial/projectcomplete/outputjunit-jupiter-engine)🤖 Generated with Claude Code