58 Commits

Author SHA1 Message Date
Anton Prokhorov c2f90697bf Address the feedback 2026-09-11 16:29:21 +02:00
Anton Prokhorov a111370c51 Fix format of skill metadata 2026-09-11 16:29:21 +02:00
Anton Prokhorov 00c0c76c79 Change type of metadata.tested_models.model to string 2026-09-11 16:29:21 +02:00
Anton Prokhorov 431b943b2f Add evals.json to kotlin-tooling-kotlin-toolchain skill 2026-09-11 16:29:21 +02:00
Anton Prokhorov 0ad228edde Add Kotlin Toolchain Skills 2026-09-11 16:29:21 +02:00
AlnVlkn 08d7ad0d74 Update CONTRIBUTING.md 2026-07-21 09:53:36 +02:00
AlnVlkn acb4db3852 roll-out the new contribution guidelines 2026-07-20 11:00:59 +02:00
Elijah Semyonov 87bec33150 Add native build performance skill (#54)
* tools kotlin: add native build performance skill

Add a skill for diagnosing and fixing slow Kotlin/Native compilation and linking in KMP projects that target iOS.

SKILL.md carries the workflow: classify the slow scenario, audit and measure before editing, apply fixes in safe order, verify against the same command, and report changes with their tradeoffs. The detail lives in references/ (caching and Gradle configuration, artifact and target selection, framework exports and generated code, experimental options), each grounded in the official Kotlin documentation. scripts/audit-native-build.sh statically scans a project and prints file:line findings - disabled caches, broad local build tasks, transitive exports, kapt on the native path, missing CI .konan caching - mapped to the reference file with the fix.

Two invariants run through the skill: never trade away required release behavior, and gate destructive or experimental changes (target removal, kotlin.incremental.native, smallBinary) on explicit project policy or user consent.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>

* Add evaluation details and test results

* Remove kapt from Kotlin/Native guidance

* Clarify version-scoped Native cache guidance

* Remove fixed daemon heap and Kotlin daemon advice

* Simplify cache upgrade guidance

---------

Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
Co-authored-by: Ilya Evtushenko <evt.ilyaa@gmail.com>
2026-07-16 09:37:44 +02:00
AlnVlkn 9aea7182b7 Update CONTRIBUTING.md 2026-06-24 10:41:25 +02:00
Junsung Cho daf0a035ee Fix clarify entity ID handling and equality rules
- Recommend modeling DB-generated IDs as nullable with a protected setter
- Update examples to avoid using 0L as a sentinel value for IDs
- Correct code comments to reflect proper ID handling conventions and best practices
2026-06-08 18:38:18 +02:00
Dmitry Nekrasov 0d00aef206 Mention plain mvn and add a PowerShell implementer search 2026-06-08 17:36:09 +02:00
Dmitry Nekrasov 9873a32961 Distinguish a half-done rename from a wrong one when it won't resolve 2026-06-08 17:36:09 +02:00
Dmitry Nekrasov 89b8c73f0c Keep the rename from hitting look-alike non-Persistent types 2026-06-08 17:36:09 +02:00
Dmitry Nekrasov 696799275a Keep the verification-metadata step from stalling the migration 2026-06-08 17:36:09 +02:00
Dmitry Nekrasov 57cde39ac3 Add step to run documented dependency-change follow-ups 2026-06-08 17:36:09 +02:00
Dmitry Nekrasov 17c7c0eeef Add migration skill for kotlinx.collections.immutable 0.5.x 2026-06-08 17:36:09 +02:00
Yahor Berdnikau 17852d57f9 Update Claude installation instructions 2026-05-07 12:04:01 +02:00
Yahor Berdnikau 60f4383fdf Add support for Codex
Documentation: https://developers.openai.com/codex/plugins/build
2026-05-07 12:04:01 +02:00
Andrey Yastrebov 7429a68249 Fine-tune CocoaPods to SwiftPM migration skill (KT-85251) (#42)
* Fine-tune CocoaPods to SwiftPM migration skill (KT-85251)

Improvements based on user studies, migration report analysis, and
sample project (kmp-with-cocoapods-compose-sample):

Build verification:
- Replace ./gradlew build with compileKotlinIosSimulatorArm64
- Add optional xcodebuild pre-migration check

DSL correctness (aligned with 2.4.0-Beta2 API):
- Rename importedModules → importedClangModules throughout
- Rename discoverModulesImplicitly → discoverClangModulesImplicitly
- Rename iosDeploymentVersion → iosMinimumDeploymentTarget (and other platforms)
- Remove xcodeProjectPathForKmpIJPlugin (works out of the box now)
- Rename _internal_linkage_SwiftPMImport → KotlinMultiplatformLinkedPackage
- Document simple string API as primary syntax; typed API for advanced use
- Enforce exact same version as pod — do not bump during migration

Multi-module support:
- linkOnly pods: swiftPackage() belongs in child module only
- Consuming module must NOT redeclare packages from child modules
- Phase 6: remove CocoaPods from ALL modules, not just primary

Import namespace (most common agent mistake):
- Namespace uses the DECLARING module's group+name, not the importing module's
- Added concrete multi-module example with annotations

Other:
- Podfile-only dependency migration
- Compose Resources group namespace warning
- Framework export()/transitiveExport preservation
- Podspec cleanup from module directories
- Underscore handling in namespace formula
- Phase 7: iterate until build succeeds, don't stop on errors
- Google Maps mapping updated to current Package.swift
- Version table: CocoaPods exact → exact(), ~> → from()

Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>

* Remove classpath strict-version workaround from SPM migration skill

Swift Import is available in the public 2.4.0-Beta2 release, so the
buildscript constraint with '!!' strict version pin is no longer needed.
Drop Phase 2.2 from SKILL.md and the matching troubleshooting entry.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

---------

Co-authored-by: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
2026-04-23 17:09:03 +02:00
Andrey Tyrin bada2f3b03 Actualize SPMImport dsl reference as of 2.4.0-Beta2 for cocoapods-spm-migration skill (#41) 2026-04-23 13:18:56 +02:00
Ilya Evtushenko 9e05c37dfc Update contribution guideline to require testing details for new skills 2026-04-21 17:26:11 +02:00
Yahor Berdnikau c88c997250 Run 'detect-changes' for any change 2026-03-31 10:03:01 +02:00
Ilya Evtushenko e404285507 Fix test source set names in new KMP layout 2026-03-27 16:42:30 +01:00
hfmehmed a42c9bd4fc Clarify migration checklist for Android tests 2026-03-27 16:42:30 +01:00
Ilya Evtushenko b3b10cfbeb Fix android test source sets accessor syntax 2026-03-27 16:42:30 +01:00
Ilya Evtushenko 08f62af670 Fix tables layout 2026-03-27 16:42:30 +01:00
Ilya Evtushenko 43f47714e1 Update AGP 9.0 skill:
- Bump dependency versions
- Update compatibility table
- Update verification checklist
- Shorten main skill file
2026-03-27 16:42:30 +01:00
hfmehmed f188c4ca3c Update SKILL.md to clarify resource enabling 2026-03-27 16:42:30 +01:00
hfmehmed bbe464a3b4 Clarify heading for test source sets
Updated section on test source set renaming for clarity and impact.
2026-03-27 16:42:30 +01:00
hfmehmed a3834a6c95 Update MIGRATION-LIBRARY.md 2026-03-27 16:42:30 +01:00
hfmehmed 45c3fdc575 Document dependency resolution changes in DSL-REFERENCE.md
Add section on dependency resolution for KMP Android library plugin migration.
2026-03-27 16:42:30 +01:00
hfmehmed a9b0940a53 Update SKILL.md for dependency resolution details
Clarified dependency resolution for multiple variants in KMP.
2026-03-27 16:42:30 +01:00
Andrey Yastrebov a639ec43a3 Fine-tune CocoaPods to SwiftPM migration skill (KT-85251)
Address issues from user studies and migration report:
- Replace ./gradlew build with compileKotlinIosSimulatorArm64 + optional xcodebuild
- Add version preservation guidance (exact CocoaPods versions → exact() in SPM)
- Add Podfile-only dependency migration step
- Warn about Compose Resources group namespace changes
- Make Phase 7 iterative (don't stop until app builds)
- Rename importedModules → importedClangModules throughout
- Add multi-module migration notes
- Preserve framework export()/transitiveExport in Phase 3.3
- Add podspec cleanup from module directories
- Clarify underscore handling in import namespace formula

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-27 13:27:56 +01:00
Yahor Berdnikau 56f0d35f3a fixup! Add CONTRIBUTING.md 2026-03-26 09:35:56 +01:00
Yahor Berdnikau 1647970130 fixup! Update CONTRIBUTING.md
Co-authored-by: Ilya Evtushenko <evilya@users.noreply.github.com>
2026-03-26 09:35:56 +01:00
Yahor Berdnikau c1cfd04e92 fixup! Add CONTRIBUTING.md 2026-03-26 09:35:56 +01:00
Yahor Berdnikau da78a94365 fixup! Add CONTRIBUTING.md 2026-03-26 09:35:56 +01:00
Yahor Berdnikau 15e0550ae5 fixup! Add CONTRIBUTING.md 2026-03-26 09:35:56 +01:00
Yahor Berdnikau 074c14b234 fixup! Add CONTRIBUTING.md 2026-03-26 09:35:56 +01:00
Yahor Berdnikau aabd9452a5 Add CONTRIBUTING.md 2026-03-26 09:35:56 +01:00
hfmehmed 2a209ece6c Clarify checklist for Android resources in KMP
Updated checklist to clarify Android resources usage.
2026-03-25 16:23:43 +01:00
Yasan Glass 12dd33c40f Remove third-party keywords from plugin.json 2026-03-24 16:26:30 +01:00
Yasan Glass 750e39e551 Support Claude Code Marketplace 2026-03-24 16:26:30 +01:00
leonid.stashevsky 8fc58af4a9 Add Java-to-Kotlin conversion skill
Adds kotlin-tooling-java-to-kotlin skill that converts Java source files
to idiomatic Kotlin using a 4-step conversion methodology with 5 invariants.
Includes framework-aware guidance for 12 frameworks (Spring, Lombok, Hibernate,
Jackson, Micronaut, Quarkus, Dagger/Hilt, RxJava, JUnit, Guice, Retrofit,
Mockito), each in separate reference files loaded only when matching imports
are detected.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-20 17:57:41 +01:00
Andrey Yastrebov e598a0afd2 use kotlin.compilerOptions.optIn DSL 2026-03-20 16:53:45 +01:00
Andrey Yastrebov 7a5ef563f5 Add kotlin-tooling-cocoapods-spm-migration Skill 2026-03-20 16:53:45 +01:00
Ilya Evtushenko 733c0a90db Fix detection of modified skills 2026-03-20 16:20:11 +01:00
Ilya Evtushenko 445594d0a7 Add installation instructions 2026-03-17 17:09:34 +01:00
Anton.Yalyshev 9c13ddff54 Add kotlin-backend-jpa-entity-mapping skill
New skill for correct JPA entity design in Kotlin + Spring Data projects.
Covers entity identity (why data class breaks Hibernate), equality
strategies, uniqueness constraints for idempotent operations, fetch
plans, and common ORM traps specific to Kotlin.
Also adds 'backend' category to CATEGORIES.
2026-03-17 13:51:55 +01:00
Yahor Berdnikau e33ea11489 Add additional user to codeowners 2026-03-16 12:51:10 +01:00