[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill-jetbrains-kotlin-tooling-java-to-kotlin":3,"mdc-1purp1-key":36,"related-org-jetbrains-kotlin-tooling-java-to-kotlin":1116,"related-repo-jetbrains-kotlin-tooling-java-to-kotlin":1245},{"slug":4,"name":4,"fn":5,"description":6,"org":7,"tags":11,"stars":25,"repoUrl":26,"updatedAt":27,"license":28,"forks":29,"topics":30,"repo":31,"sourceUrl":34,"mdContent":35},"kotlin-tooling-java-to-kotlin","convert Java code to idiomatic Kotlin","Use when converting Java source files to idiomatic Kotlin, when user mentions \"java to kotlin\", \"j2k\", \"convert java\", \"migrate java to kotlin\", or when working with .java files that need to become .kt files. Handles framework-aware conversion for Spring, Lombok, Hibernate, Jackson, Micronaut, Quarkus, Dagger\u002FHilt, RxJava, JUnit, Guice, Retrofit, and Mockito.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},"jetbrains","JetBrains","https:\u002F\u002Fpexgzepcugksgbtrxkhf.supabase.co\u002Fstorage\u002Fv1\u002Fobject\u002Fpublic\u002Forg-logos\u002Fjetbrains.png",[12,16,19,22],{"name":13,"slug":14,"type":15},"Kotlin","kotlin","tag",{"name":17,"slug":18,"type":15},"Java","java",{"name":20,"slug":21,"type":15},"Migration","migration",{"name":23,"slug":24,"type":15},"Code Analysis","code-analysis",252,"https:\u002F\u002Fgithub.com\u002FJetBrains\u002Fskills","2026-07-17T06:06:24.470814","Apache-2.0",17,[],{"repoUrl":26,"stars":25,"forks":29,"topics":32,"description":33},[],"Curated agent skills collection verified by JetBrains","https:\u002F\u002Fgithub.com\u002FJetBrains\u002Fskills\u002Ftree\u002FHEAD\u002Fkotlin-tooling-java-to-kotlin","---\nname: kotlin-tooling-java-to-kotlin\ndescription: >\n  Use when converting Java source files to idiomatic Kotlin, when user mentions\n  \"java to kotlin\", \"j2k\", \"convert java\", \"migrate java to kotlin\", or when\n  working with .java files that need to become .kt files. Handles framework-aware\n  conversion for Spring, Lombok, Hibernate, Jackson, Micronaut, Quarkus, Dagger\u002FHilt,\n  RxJava, JUnit, Guice, Retrofit, and Mockito.\nlicense: Apache-2.0\nmetadata:\n  short-description: \"Convert Java code to idiomatic Kotlin\"\n  author: JetBrains\n  version: \"1.0.0\"\n  source: https:\u002F\u002Fgithub.com\u002FKotlin\u002Fkotlin-agent-skills\u002Ftree\u002Fmain\u002Fskills\u002Fkotlin-tooling-java-to-kotlin\n---\n\n# Java to Kotlin Conversion\n\nConvert Java source files to idiomatic Kotlin using a disciplined 4-step conversion\nmethodology with 5 invariants checked at each step. Supports framework-aware conversion\nthat handles annotation site targets, library idioms, and API preservation.\n\n## Workflow\n\n```dot\ndigraph j2k_workflow {\n  rankdir=TB;\n  \"User specifies files\" -> \"Step 0: Scan & Detect\";\n  \"Step 0: Scan & Detect\" -> \"Load framework guides\";\n  \"Load framework guides\" -> \"Step 1: Convert\";\n  \"Step 1: Convert\" -> \"Step 2: Write .kt\";\n  \"Step 2: Write .kt\" -> \"Step 3: Git rename\";\n  \"Step 3: Git rename\" -> \"Step 4: Verify\";\n  \"Step 4: Verify\" -> \"Next file?\" [label=\"pass\"];\n  \"Step 4: Verify\" -> \"Fix issues\" [label=\"fail\"];\n  \"Fix issues\" -> \"Step 1: Convert\";\n  \"Next file?\" -> \"Step 0: Scan & Detect\" [label=\"batch: yes\"];\n  \"Next file?\" -> \"Done\" [label=\"no more files\"];\n}\n```\n\n## Step 0: Scan & Detect Frameworks\n\nBefore converting, scan the Java file's import statements to detect which frameworks\nare in use. Load ONLY the matching framework reference files to keep context focused.\n\n### Framework Detection Table\n\n| Import prefix | Framework guide |\n|---|---|\n| `org.springframework.*` | [SPRING.md](references\u002Fframeworks\u002FSPRING.md) |\n| `lombok.*` | [LOMBOK.md](references\u002Fframeworks\u002FLOMBOK.md) |\n| `javax.persistence.*`, `jakarta.persistence.*`, `org.hibernate.*` | [HIBERNATE.md](references\u002Fframeworks\u002FHIBERNATE.md) |\n| `com.fasterxml.jackson.*` | [JACKSON.md](references\u002Fframeworks\u002FJACKSON.md) |\n| `io.micronaut.*` | [MICRONAUT.md](references\u002Fframeworks\u002FMICRONAUT.md) |\n| `io.quarkus.*`, `javax.enterprise.*`, `jakarta.enterprise.*` | [QUARKUS.md](references\u002Fframeworks\u002FQUARKUS.md) |\n| `dagger.*`, `dagger.hilt.*` | [DAGGER-HILT.md](references\u002Fframeworks\u002FDAGGER-HILT.md) |\n| `io.reactivex.*`, `rx.*` | [RXJAVA.md](references\u002Fframeworks\u002FRXJAVA.md) |\n| `org.junit.*`, `org.testng.*` | [JUNIT.md](references\u002Fframeworks\u002FJUNIT.md) |\n| `com.google.inject.*` | [GUICE.md](references\u002Fframeworks\u002FGUICE.md) |\n| `retrofit2.*`, `okhttp3.*` | [RETROFIT.md](references\u002Fframeworks\u002FRETROFIT.md) |\n| `org.mockito.*` | [MOCKITO.md](references\u002Fframeworks\u002FMOCKITO.md) |\n\nIf `javax.inject.*` is detected, check for Dagger\u002FHilt vs Guice by looking for other\nimports from those frameworks. If ambiguous, load both guides.\n\n## Step 1: Convert\n\nApply the conversion methodology from [CONVERSION-METHODOLOGY.md](references\u002FCONVERSION-METHODOLOGY.md).\n\nThis is a 4-step chain-of-thought process:\n1. **Faithful 1:1 translation** — exact semantics preserved\n2. **Nullability & mutability audit** — val\u002Fvar, nullable types\n3. **Collection type conversion** — Java mutable → Kotlin types\n4. **Idiomatic transformations** — properties, string templates, lambdas\n\nFive invariants are checked after each step. If any invariant is violated, revert\nto the previous step and redo.\n\nApply any loaded framework-specific guidance during step 4 (idiomatic transformations).\n\n## Step 2: Write Output\n\nWrite the converted Kotlin code to a `.kt` file with the same name as the original\nJava file, in the same directory.\n\n## Step 3: Preserve Git History\n\nTo preserve `git blame` history, use a two-phase approach:\n\n```bash\n# Phase 1: Rename (creates rename tracking)\ngit mv src\u002Fmain\u002Fjava\u002Fcom\u002Fexample\u002FFoo.java src\u002Fmain\u002Fkotlin\u002Fcom\u002Fexample\u002FFoo.kt\ngit commit -m \"Rename Foo.java to Foo.kt\"\n\n# Phase 2: Replace content (tracked as modification, not new file)\n# Write the converted Kotlin content to Foo.kt\ngit commit -m \"Convert Foo from Java to Kotlin\"\n```\n\nIf the project keeps Java and Kotlin in the same source root (e.g., `src\u002Fmain\u002Fjava\u002F`),\nrename in place:\n\n```bash\ngit mv src\u002Fmain\u002Fjava\u002Fcom\u002Fexample\u002FFoo.java src\u002Fmain\u002Fjava\u002Fcom\u002Fexample\u002FFoo.kt\n```\n\nIf the project does not use Git, simply write the `.kt` file and delete the `.java` file.\n\n## Step 4: Verify\n\nAfter conversion, verify using [checklist.md](assets\u002Fchecklist.md):\n- Attempt to compile the converted file\n- Run existing tests\n- Check annotation site targets\n- Confirm no behavioral changes\n\n## Batch Conversion\n\nWhen converting multiple files (a directory or package):\n\n1. **List all `.java` files** in the target scope\n2. **Sort by dependency order** — convert leaf dependencies first (files that don't\n   import other files in the conversion set), then work up to files that depend on them\n3. **Convert one file at a time** — apply the full workflow (steps 0-4) for each\n4. **Track progress** — report which files are done, which remain\n5. **Handle cross-references** — after converting a file, update imports in other Java\n   files if needed (e.g., if a class moved packages)\n\nFor large batches, consider converting in packages (bottom-up from leaf packages).\n\n## Common Pitfalls\n\nSee [KNOWN-ISSUES.md](references\u002FKNOWN-ISSUES.md) for:\n- Kotlin keyword conflicts (`when`, `in`, `is`, `object`)\n- SAM conversion ambiguity\n- Platform types from Java interop\n- `@JvmStatic` \u002F `@JvmField` \u002F `@JvmOverloads` usage\n- Checked exceptions and `@Throws`\n- Wildcard generics → Kotlin variance\n",{"data":37,"body":42},{"name":4,"description":6,"license":28,"metadata":38},{"short-description":39,"author":9,"version":40,"source":41},"Convert Java code to idiomatic Kotlin","1.0.0","https:\u002F\u002Fgithub.com\u002FKotlin\u002Fkotlin-agent-skills\u002Ftree\u002Fmain\u002Fskills\u002Fkotlin-tooling-java-to-kotlin",{"type":43,"children":44},"root",[45,54,60,67,207,213,218,225,563,576,582,595,600,646,651,656,662,675,681,694,823,836,863,883,889,902,926,932,937,997,1002,1008,1021,1110],{"type":46,"tag":47,"props":48,"children":50},"element","h1",{"id":49},"java-to-kotlin-conversion",[51],{"type":52,"value":53},"text","Java to Kotlin Conversion",{"type":46,"tag":55,"props":56,"children":57},"p",{},[58],{"type":52,"value":59},"Convert Java source files to idiomatic Kotlin using a disciplined 4-step conversion\nmethodology with 5 invariants checked at each step. Supports framework-aware conversion\nthat handles annotation site targets, library idioms, and API preservation.",{"type":46,"tag":61,"props":62,"children":64},"h2",{"id":63},"workflow",[65],{"type":52,"value":66},"Workflow",{"type":46,"tag":68,"props":69,"children":74},"pre",{"className":70,"code":71,"language":72,"meta":73,"style":73},"language-dot shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","digraph j2k_workflow {\n  rankdir=TB;\n  \"User specifies files\" -> \"Step 0: Scan & Detect\";\n  \"Step 0: Scan & Detect\" -> \"Load framework guides\";\n  \"Load framework guides\" -> \"Step 1: Convert\";\n  \"Step 1: Convert\" -> \"Step 2: Write .kt\";\n  \"Step 2: Write .kt\" -> \"Step 3: Git rename\";\n  \"Step 3: Git rename\" -> \"Step 4: Verify\";\n  \"Step 4: Verify\" -> \"Next file?\" [label=\"pass\"];\n  \"Step 4: Verify\" -> \"Fix issues\" [label=\"fail\"];\n  \"Fix issues\" -> \"Step 1: Convert\";\n  \"Next file?\" -> \"Step 0: Scan & Detect\" [label=\"batch: yes\"];\n  \"Next file?\" -> \"Done\" [label=\"no more files\"];\n}\n","dot","",[75],{"type":46,"tag":76,"props":77,"children":78},"code",{"__ignoreMap":73},[79,90,99,108,117,126,135,144,153,162,171,180,189,198],{"type":46,"tag":80,"props":81,"children":84},"span",{"class":82,"line":83},"line",1,[85],{"type":46,"tag":80,"props":86,"children":87},{},[88],{"type":52,"value":89},"digraph j2k_workflow {\n",{"type":46,"tag":80,"props":91,"children":93},{"class":82,"line":92},2,[94],{"type":46,"tag":80,"props":95,"children":96},{},[97],{"type":52,"value":98},"  rankdir=TB;\n",{"type":46,"tag":80,"props":100,"children":102},{"class":82,"line":101},3,[103],{"type":46,"tag":80,"props":104,"children":105},{},[106],{"type":52,"value":107},"  \"User specifies files\" -> \"Step 0: Scan & Detect\";\n",{"type":46,"tag":80,"props":109,"children":111},{"class":82,"line":110},4,[112],{"type":46,"tag":80,"props":113,"children":114},{},[115],{"type":52,"value":116},"  \"Step 0: Scan & Detect\" -> \"Load framework guides\";\n",{"type":46,"tag":80,"props":118,"children":120},{"class":82,"line":119},5,[121],{"type":46,"tag":80,"props":122,"children":123},{},[124],{"type":52,"value":125},"  \"Load framework guides\" -> \"Step 1: Convert\";\n",{"type":46,"tag":80,"props":127,"children":129},{"class":82,"line":128},6,[130],{"type":46,"tag":80,"props":131,"children":132},{},[133],{"type":52,"value":134},"  \"Step 1: Convert\" -> \"Step 2: Write .kt\";\n",{"type":46,"tag":80,"props":136,"children":138},{"class":82,"line":137},7,[139],{"type":46,"tag":80,"props":140,"children":141},{},[142],{"type":52,"value":143},"  \"Step 2: Write .kt\" -> \"Step 3: Git rename\";\n",{"type":46,"tag":80,"props":145,"children":147},{"class":82,"line":146},8,[148],{"type":46,"tag":80,"props":149,"children":150},{},[151],{"type":52,"value":152},"  \"Step 3: Git rename\" -> \"Step 4: Verify\";\n",{"type":46,"tag":80,"props":154,"children":156},{"class":82,"line":155},9,[157],{"type":46,"tag":80,"props":158,"children":159},{},[160],{"type":52,"value":161},"  \"Step 4: Verify\" -> \"Next file?\" [label=\"pass\"];\n",{"type":46,"tag":80,"props":163,"children":165},{"class":82,"line":164},10,[166],{"type":46,"tag":80,"props":167,"children":168},{},[169],{"type":52,"value":170},"  \"Step 4: Verify\" -> \"Fix issues\" [label=\"fail\"];\n",{"type":46,"tag":80,"props":172,"children":174},{"class":82,"line":173},11,[175],{"type":46,"tag":80,"props":176,"children":177},{},[178],{"type":52,"value":179},"  \"Fix issues\" -> \"Step 1: Convert\";\n",{"type":46,"tag":80,"props":181,"children":183},{"class":82,"line":182},12,[184],{"type":46,"tag":80,"props":185,"children":186},{},[187],{"type":52,"value":188},"  \"Next file?\" -> \"Step 0: Scan & Detect\" [label=\"batch: yes\"];\n",{"type":46,"tag":80,"props":190,"children":192},{"class":82,"line":191},13,[193],{"type":46,"tag":80,"props":194,"children":195},{},[196],{"type":52,"value":197},"  \"Next file?\" -> \"Done\" [label=\"no more files\"];\n",{"type":46,"tag":80,"props":199,"children":201},{"class":82,"line":200},14,[202],{"type":46,"tag":80,"props":203,"children":204},{},[205],{"type":52,"value":206},"}\n",{"type":46,"tag":61,"props":208,"children":210},{"id":209},"step-0-scan-detect-frameworks",[211],{"type":52,"value":212},"Step 0: Scan & Detect Frameworks",{"type":46,"tag":55,"props":214,"children":215},{},[216],{"type":52,"value":217},"Before converting, scan the Java file's import statements to detect which frameworks\nare in use. Load ONLY the matching framework reference files to keep context focused.",{"type":46,"tag":219,"props":220,"children":222},"h3",{"id":221},"framework-detection-table",[223],{"type":52,"value":224},"Framework Detection Table",{"type":46,"tag":226,"props":227,"children":228},"table",{},[229,248],{"type":46,"tag":230,"props":231,"children":232},"thead",{},[233],{"type":46,"tag":234,"props":235,"children":236},"tr",{},[237,243],{"type":46,"tag":238,"props":239,"children":240},"th",{},[241],{"type":52,"value":242},"Import prefix",{"type":46,"tag":238,"props":244,"children":245},{},[246],{"type":52,"value":247},"Framework guide",{"type":46,"tag":249,"props":250,"children":251},"tbody",{},[252,275,296,332,353,374,409,437,465,493,514,542],{"type":46,"tag":234,"props":253,"children":254},{},[255,265],{"type":46,"tag":256,"props":257,"children":258},"td",{},[259],{"type":46,"tag":76,"props":260,"children":262},{"className":261},[],[263],{"type":52,"value":264},"org.springframework.*",{"type":46,"tag":256,"props":266,"children":267},{},[268],{"type":46,"tag":269,"props":270,"children":272},"a",{"href":271},"references\u002Fframeworks\u002FSPRING.md",[273],{"type":52,"value":274},"SPRING.md",{"type":46,"tag":234,"props":276,"children":277},{},[278,287],{"type":46,"tag":256,"props":279,"children":280},{},[281],{"type":46,"tag":76,"props":282,"children":284},{"className":283},[],[285],{"type":52,"value":286},"lombok.*",{"type":46,"tag":256,"props":288,"children":289},{},[290],{"type":46,"tag":269,"props":291,"children":293},{"href":292},"references\u002Fframeworks\u002FLOMBOK.md",[294],{"type":52,"value":295},"LOMBOK.md",{"type":46,"tag":234,"props":297,"children":298},{},[299,323],{"type":46,"tag":256,"props":300,"children":301},{},[302,308,310,316,317],{"type":46,"tag":76,"props":303,"children":305},{"className":304},[],[306],{"type":52,"value":307},"javax.persistence.*",{"type":52,"value":309},", ",{"type":46,"tag":76,"props":311,"children":313},{"className":312},[],[314],{"type":52,"value":315},"jakarta.persistence.*",{"type":52,"value":309},{"type":46,"tag":76,"props":318,"children":320},{"className":319},[],[321],{"type":52,"value":322},"org.hibernate.*",{"type":46,"tag":256,"props":324,"children":325},{},[326],{"type":46,"tag":269,"props":327,"children":329},{"href":328},"references\u002Fframeworks\u002FHIBERNATE.md",[330],{"type":52,"value":331},"HIBERNATE.md",{"type":46,"tag":234,"props":333,"children":334},{},[335,344],{"type":46,"tag":256,"props":336,"children":337},{},[338],{"type":46,"tag":76,"props":339,"children":341},{"className":340},[],[342],{"type":52,"value":343},"com.fasterxml.jackson.*",{"type":46,"tag":256,"props":345,"children":346},{},[347],{"type":46,"tag":269,"props":348,"children":350},{"href":349},"references\u002Fframeworks\u002FJACKSON.md",[351],{"type":52,"value":352},"JACKSON.md",{"type":46,"tag":234,"props":354,"children":355},{},[356,365],{"type":46,"tag":256,"props":357,"children":358},{},[359],{"type":46,"tag":76,"props":360,"children":362},{"className":361},[],[363],{"type":52,"value":364},"io.micronaut.*",{"type":46,"tag":256,"props":366,"children":367},{},[368],{"type":46,"tag":269,"props":369,"children":371},{"href":370},"references\u002Fframeworks\u002FMICRONAUT.md",[372],{"type":52,"value":373},"MICRONAUT.md",{"type":46,"tag":234,"props":375,"children":376},{},[377,400],{"type":46,"tag":256,"props":378,"children":379},{},[380,386,387,393,394],{"type":46,"tag":76,"props":381,"children":383},{"className":382},[],[384],{"type":52,"value":385},"io.quarkus.*",{"type":52,"value":309},{"type":46,"tag":76,"props":388,"children":390},{"className":389},[],[391],{"type":52,"value":392},"javax.enterprise.*",{"type":52,"value":309},{"type":46,"tag":76,"props":395,"children":397},{"className":396},[],[398],{"type":52,"value":399},"jakarta.enterprise.*",{"type":46,"tag":256,"props":401,"children":402},{},[403],{"type":46,"tag":269,"props":404,"children":406},{"href":405},"references\u002Fframeworks\u002FQUARKUS.md",[407],{"type":52,"value":408},"QUARKUS.md",{"type":46,"tag":234,"props":410,"children":411},{},[412,428],{"type":46,"tag":256,"props":413,"children":414},{},[415,421,422],{"type":46,"tag":76,"props":416,"children":418},{"className":417},[],[419],{"type":52,"value":420},"dagger.*",{"type":52,"value":309},{"type":46,"tag":76,"props":423,"children":425},{"className":424},[],[426],{"type":52,"value":427},"dagger.hilt.*",{"type":46,"tag":256,"props":429,"children":430},{},[431],{"type":46,"tag":269,"props":432,"children":434},{"href":433},"references\u002Fframeworks\u002FDAGGER-HILT.md",[435],{"type":52,"value":436},"DAGGER-HILT.md",{"type":46,"tag":234,"props":438,"children":439},{},[440,456],{"type":46,"tag":256,"props":441,"children":442},{},[443,449,450],{"type":46,"tag":76,"props":444,"children":446},{"className":445},[],[447],{"type":52,"value":448},"io.reactivex.*",{"type":52,"value":309},{"type":46,"tag":76,"props":451,"children":453},{"className":452},[],[454],{"type":52,"value":455},"rx.*",{"type":46,"tag":256,"props":457,"children":458},{},[459],{"type":46,"tag":269,"props":460,"children":462},{"href":461},"references\u002Fframeworks\u002FRXJAVA.md",[463],{"type":52,"value":464},"RXJAVA.md",{"type":46,"tag":234,"props":466,"children":467},{},[468,484],{"type":46,"tag":256,"props":469,"children":470},{},[471,477,478],{"type":46,"tag":76,"props":472,"children":474},{"className":473},[],[475],{"type":52,"value":476},"org.junit.*",{"type":52,"value":309},{"type":46,"tag":76,"props":479,"children":481},{"className":480},[],[482],{"type":52,"value":483},"org.testng.*",{"type":46,"tag":256,"props":485,"children":486},{},[487],{"type":46,"tag":269,"props":488,"children":490},{"href":489},"references\u002Fframeworks\u002FJUNIT.md",[491],{"type":52,"value":492},"JUNIT.md",{"type":46,"tag":234,"props":494,"children":495},{},[496,505],{"type":46,"tag":256,"props":497,"children":498},{},[499],{"type":46,"tag":76,"props":500,"children":502},{"className":501},[],[503],{"type":52,"value":504},"com.google.inject.*",{"type":46,"tag":256,"props":506,"children":507},{},[508],{"type":46,"tag":269,"props":509,"children":511},{"href":510},"references\u002Fframeworks\u002FGUICE.md",[512],{"type":52,"value":513},"GUICE.md",{"type":46,"tag":234,"props":515,"children":516},{},[517,533],{"type":46,"tag":256,"props":518,"children":519},{},[520,526,527],{"type":46,"tag":76,"props":521,"children":523},{"className":522},[],[524],{"type":52,"value":525},"retrofit2.*",{"type":52,"value":309},{"type":46,"tag":76,"props":528,"children":530},{"className":529},[],[531],{"type":52,"value":532},"okhttp3.*",{"type":46,"tag":256,"props":534,"children":535},{},[536],{"type":46,"tag":269,"props":537,"children":539},{"href":538},"references\u002Fframeworks\u002FRETROFIT.md",[540],{"type":52,"value":541},"RETROFIT.md",{"type":46,"tag":234,"props":543,"children":544},{},[545,554],{"type":46,"tag":256,"props":546,"children":547},{},[548],{"type":46,"tag":76,"props":549,"children":551},{"className":550},[],[552],{"type":52,"value":553},"org.mockito.*",{"type":46,"tag":256,"props":555,"children":556},{},[557],{"type":46,"tag":269,"props":558,"children":560},{"href":559},"references\u002Fframeworks\u002FMOCKITO.md",[561],{"type":52,"value":562},"MOCKITO.md",{"type":46,"tag":55,"props":564,"children":565},{},[566,568,574],{"type":52,"value":567},"If ",{"type":46,"tag":76,"props":569,"children":571},{"className":570},[],[572],{"type":52,"value":573},"javax.inject.*",{"type":52,"value":575}," is detected, check for Dagger\u002FHilt vs Guice by looking for other\nimports from those frameworks. If ambiguous, load both guides.",{"type":46,"tag":61,"props":577,"children":579},{"id":578},"step-1-convert",[580],{"type":52,"value":581},"Step 1: Convert",{"type":46,"tag":55,"props":583,"children":584},{},[585,587,593],{"type":52,"value":586},"Apply the conversion methodology from ",{"type":46,"tag":269,"props":588,"children":590},{"href":589},"references\u002FCONVERSION-METHODOLOGY.md",[591],{"type":52,"value":592},"CONVERSION-METHODOLOGY.md",{"type":52,"value":594},".",{"type":46,"tag":55,"props":596,"children":597},{},[598],{"type":52,"value":599},"This is a 4-step chain-of-thought process:",{"type":46,"tag":601,"props":602,"children":603},"ol",{},[604,616,626,636],{"type":46,"tag":605,"props":606,"children":607},"li",{},[608,614],{"type":46,"tag":609,"props":610,"children":611},"strong",{},[612],{"type":52,"value":613},"Faithful 1:1 translation",{"type":52,"value":615}," — exact semantics preserved",{"type":46,"tag":605,"props":617,"children":618},{},[619,624],{"type":46,"tag":609,"props":620,"children":621},{},[622],{"type":52,"value":623},"Nullability & mutability audit",{"type":52,"value":625}," — val\u002Fvar, nullable types",{"type":46,"tag":605,"props":627,"children":628},{},[629,634],{"type":46,"tag":609,"props":630,"children":631},{},[632],{"type":52,"value":633},"Collection type conversion",{"type":52,"value":635}," — Java mutable → Kotlin types",{"type":46,"tag":605,"props":637,"children":638},{},[639,644],{"type":46,"tag":609,"props":640,"children":641},{},[642],{"type":52,"value":643},"Idiomatic transformations",{"type":52,"value":645}," — properties, string templates, lambdas",{"type":46,"tag":55,"props":647,"children":648},{},[649],{"type":52,"value":650},"Five invariants are checked after each step. If any invariant is violated, revert\nto the previous step and redo.",{"type":46,"tag":55,"props":652,"children":653},{},[654],{"type":52,"value":655},"Apply any loaded framework-specific guidance during step 4 (idiomatic transformations).",{"type":46,"tag":61,"props":657,"children":659},{"id":658},"step-2-write-output",[660],{"type":52,"value":661},"Step 2: Write Output",{"type":46,"tag":55,"props":663,"children":664},{},[665,667,673],{"type":52,"value":666},"Write the converted Kotlin code to a ",{"type":46,"tag":76,"props":668,"children":670},{"className":669},[],[671],{"type":52,"value":672},".kt",{"type":52,"value":674}," file with the same name as the original\nJava file, in the same directory.",{"type":46,"tag":61,"props":676,"children":678},{"id":677},"step-3-preserve-git-history",[679],{"type":52,"value":680},"Step 3: Preserve Git History",{"type":46,"tag":55,"props":682,"children":683},{},[684,686,692],{"type":52,"value":685},"To preserve ",{"type":46,"tag":76,"props":687,"children":689},{"className":688},[],[690],{"type":52,"value":691},"git blame",{"type":52,"value":693}," history, use a two-phase approach:",{"type":46,"tag":68,"props":695,"children":699},{"className":696,"code":697,"language":698,"meta":73,"style":73},"language-bash shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","# Phase 1: Rename (creates rename tracking)\ngit mv src\u002Fmain\u002Fjava\u002Fcom\u002Fexample\u002FFoo.java src\u002Fmain\u002Fkotlin\u002Fcom\u002Fexample\u002FFoo.kt\ngit commit -m \"Rename Foo.java to Foo.kt\"\n\n# Phase 2: Replace content (tracked as modification, not new file)\n# Write the converted Kotlin content to Foo.kt\ngit commit -m \"Convert Foo from Java to Kotlin\"\n","bash",[700],{"type":46,"tag":76,"props":701,"children":702},{"__ignoreMap":73},[703,712,737,770,779,787,795],{"type":46,"tag":80,"props":704,"children":705},{"class":82,"line":83},[706],{"type":46,"tag":80,"props":707,"children":709},{"style":708},"--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#546E7A;--shiki-default-font-style:italic;--shiki-dark:#676E95;--shiki-dark-font-style:italic",[710],{"type":52,"value":711},"# Phase 1: Rename (creates rename tracking)\n",{"type":46,"tag":80,"props":713,"children":714},{"class":82,"line":92},[715,721,727,732],{"type":46,"tag":80,"props":716,"children":718},{"style":717},"--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B",[719],{"type":52,"value":720},"git",{"type":46,"tag":80,"props":722,"children":724},{"style":723},"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D",[725],{"type":52,"value":726}," mv",{"type":46,"tag":80,"props":728,"children":729},{"style":723},[730],{"type":52,"value":731}," src\u002Fmain\u002Fjava\u002Fcom\u002Fexample\u002FFoo.java",{"type":46,"tag":80,"props":733,"children":734},{"style":723},[735],{"type":52,"value":736}," src\u002Fmain\u002Fkotlin\u002Fcom\u002Fexample\u002FFoo.kt\n",{"type":46,"tag":80,"props":738,"children":739},{"class":82,"line":101},[740,744,749,754,760,765],{"type":46,"tag":80,"props":741,"children":742},{"style":717},[743],{"type":52,"value":720},{"type":46,"tag":80,"props":745,"children":746},{"style":723},[747],{"type":52,"value":748}," commit",{"type":46,"tag":80,"props":750,"children":751},{"style":723},[752],{"type":52,"value":753}," -m",{"type":46,"tag":80,"props":755,"children":757},{"style":756},"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF",[758],{"type":52,"value":759}," \"",{"type":46,"tag":80,"props":761,"children":762},{"style":723},[763],{"type":52,"value":764},"Rename Foo.java to Foo.kt",{"type":46,"tag":80,"props":766,"children":767},{"style":756},[768],{"type":52,"value":769},"\"\n",{"type":46,"tag":80,"props":771,"children":772},{"class":82,"line":110},[773],{"type":46,"tag":80,"props":774,"children":776},{"emptyLinePlaceholder":775},true,[777],{"type":52,"value":778},"\n",{"type":46,"tag":80,"props":780,"children":781},{"class":82,"line":119},[782],{"type":46,"tag":80,"props":783,"children":784},{"style":708},[785],{"type":52,"value":786},"# Phase 2: Replace content (tracked as modification, not new file)\n",{"type":46,"tag":80,"props":788,"children":789},{"class":82,"line":128},[790],{"type":46,"tag":80,"props":791,"children":792},{"style":708},[793],{"type":52,"value":794},"# Write the converted Kotlin content to Foo.kt\n",{"type":46,"tag":80,"props":796,"children":797},{"class":82,"line":137},[798,802,806,810,814,819],{"type":46,"tag":80,"props":799,"children":800},{"style":717},[801],{"type":52,"value":720},{"type":46,"tag":80,"props":803,"children":804},{"style":723},[805],{"type":52,"value":748},{"type":46,"tag":80,"props":807,"children":808},{"style":723},[809],{"type":52,"value":753},{"type":46,"tag":80,"props":811,"children":812},{"style":756},[813],{"type":52,"value":759},{"type":46,"tag":80,"props":815,"children":816},{"style":723},[817],{"type":52,"value":818},"Convert Foo from Java to Kotlin",{"type":46,"tag":80,"props":820,"children":821},{"style":756},[822],{"type":52,"value":769},{"type":46,"tag":55,"props":824,"children":825},{},[826,828,834],{"type":52,"value":827},"If the project keeps Java and Kotlin in the same source root (e.g., ",{"type":46,"tag":76,"props":829,"children":831},{"className":830},[],[832],{"type":52,"value":833},"src\u002Fmain\u002Fjava\u002F",{"type":52,"value":835},"),\nrename in place:",{"type":46,"tag":68,"props":837,"children":839},{"className":696,"code":838,"language":698,"meta":73,"style":73},"git mv src\u002Fmain\u002Fjava\u002Fcom\u002Fexample\u002FFoo.java src\u002Fmain\u002Fjava\u002Fcom\u002Fexample\u002FFoo.kt\n",[840],{"type":46,"tag":76,"props":841,"children":842},{"__ignoreMap":73},[843],{"type":46,"tag":80,"props":844,"children":845},{"class":82,"line":83},[846,850,854,858],{"type":46,"tag":80,"props":847,"children":848},{"style":717},[849],{"type":52,"value":720},{"type":46,"tag":80,"props":851,"children":852},{"style":723},[853],{"type":52,"value":726},{"type":46,"tag":80,"props":855,"children":856},{"style":723},[857],{"type":52,"value":731},{"type":46,"tag":80,"props":859,"children":860},{"style":723},[861],{"type":52,"value":862}," src\u002Fmain\u002Fjava\u002Fcom\u002Fexample\u002FFoo.kt\n",{"type":46,"tag":55,"props":864,"children":865},{},[866,868,873,875,881],{"type":52,"value":867},"If the project does not use Git, simply write the ",{"type":46,"tag":76,"props":869,"children":871},{"className":870},[],[872],{"type":52,"value":672},{"type":52,"value":874}," file and delete the ",{"type":46,"tag":76,"props":876,"children":878},{"className":877},[],[879],{"type":52,"value":880},".java",{"type":52,"value":882}," file.",{"type":46,"tag":61,"props":884,"children":886},{"id":885},"step-4-verify",[887],{"type":52,"value":888},"Step 4: Verify",{"type":46,"tag":55,"props":890,"children":891},{},[892,894,900],{"type":52,"value":893},"After conversion, verify using ",{"type":46,"tag":269,"props":895,"children":897},{"href":896},"assets\u002Fchecklist.md",[898],{"type":52,"value":899},"checklist.md",{"type":52,"value":901},":",{"type":46,"tag":903,"props":904,"children":905},"ul",{},[906,911,916,921],{"type":46,"tag":605,"props":907,"children":908},{},[909],{"type":52,"value":910},"Attempt to compile the converted file",{"type":46,"tag":605,"props":912,"children":913},{},[914],{"type":52,"value":915},"Run existing tests",{"type":46,"tag":605,"props":917,"children":918},{},[919],{"type":52,"value":920},"Check annotation site targets",{"type":46,"tag":605,"props":922,"children":923},{},[924],{"type":52,"value":925},"Confirm no behavioral changes",{"type":46,"tag":61,"props":927,"children":929},{"id":928},"batch-conversion",[930],{"type":52,"value":931},"Batch Conversion",{"type":46,"tag":55,"props":933,"children":934},{},[935],{"type":52,"value":936},"When converting multiple files (a directory or package):",{"type":46,"tag":601,"props":938,"children":939},{},[940,957,967,977,987],{"type":46,"tag":605,"props":941,"children":942},{},[943,955],{"type":46,"tag":609,"props":944,"children":945},{},[946,948,953],{"type":52,"value":947},"List all ",{"type":46,"tag":76,"props":949,"children":951},{"className":950},[],[952],{"type":52,"value":880},{"type":52,"value":954}," files",{"type":52,"value":956}," in the target scope",{"type":46,"tag":605,"props":958,"children":959},{},[960,965],{"type":46,"tag":609,"props":961,"children":962},{},[963],{"type":52,"value":964},"Sort by dependency order",{"type":52,"value":966}," — convert leaf dependencies first (files that don't\nimport other files in the conversion set), then work up to files that depend on them",{"type":46,"tag":605,"props":968,"children":969},{},[970,975],{"type":46,"tag":609,"props":971,"children":972},{},[973],{"type":52,"value":974},"Convert one file at a time",{"type":52,"value":976}," — apply the full workflow (steps 0-4) for each",{"type":46,"tag":605,"props":978,"children":979},{},[980,985],{"type":46,"tag":609,"props":981,"children":982},{},[983],{"type":52,"value":984},"Track progress",{"type":52,"value":986}," — report which files are done, which remain",{"type":46,"tag":605,"props":988,"children":989},{},[990,995],{"type":46,"tag":609,"props":991,"children":992},{},[993],{"type":52,"value":994},"Handle cross-references",{"type":52,"value":996}," — after converting a file, update imports in other Java\nfiles if needed (e.g., if a class moved packages)",{"type":46,"tag":55,"props":998,"children":999},{},[1000],{"type":52,"value":1001},"For large batches, consider converting in packages (bottom-up from leaf packages).",{"type":46,"tag":61,"props":1003,"children":1005},{"id":1004},"common-pitfalls",[1006],{"type":52,"value":1007},"Common Pitfalls",{"type":46,"tag":55,"props":1009,"children":1010},{},[1011,1013,1019],{"type":52,"value":1012},"See ",{"type":46,"tag":269,"props":1014,"children":1016},{"href":1015},"references\u002FKNOWN-ISSUES.md",[1017],{"type":52,"value":1018},"KNOWN-ISSUES.md",{"type":52,"value":1020}," for:",{"type":46,"tag":903,"props":1022,"children":1023},{},[1024,1058,1063,1068,1094,1105],{"type":46,"tag":605,"props":1025,"children":1026},{},[1027,1029,1035,1036,1042,1043,1049,1050,1056],{"type":52,"value":1028},"Kotlin keyword conflicts (",{"type":46,"tag":76,"props":1030,"children":1032},{"className":1031},[],[1033],{"type":52,"value":1034},"when",{"type":52,"value":309},{"type":46,"tag":76,"props":1037,"children":1039},{"className":1038},[],[1040],{"type":52,"value":1041},"in",{"type":52,"value":309},{"type":46,"tag":76,"props":1044,"children":1046},{"className":1045},[],[1047],{"type":52,"value":1048},"is",{"type":52,"value":309},{"type":46,"tag":76,"props":1051,"children":1053},{"className":1052},[],[1054],{"type":52,"value":1055},"object",{"type":52,"value":1057},")",{"type":46,"tag":605,"props":1059,"children":1060},{},[1061],{"type":52,"value":1062},"SAM conversion ambiguity",{"type":46,"tag":605,"props":1064,"children":1065},{},[1066],{"type":52,"value":1067},"Platform types from Java interop",{"type":46,"tag":605,"props":1069,"children":1070},{},[1071,1077,1079,1085,1086,1092],{"type":46,"tag":76,"props":1072,"children":1074},{"className":1073},[],[1075],{"type":52,"value":1076},"@JvmStatic",{"type":52,"value":1078}," \u002F ",{"type":46,"tag":76,"props":1080,"children":1082},{"className":1081},[],[1083],{"type":52,"value":1084},"@JvmField",{"type":52,"value":1078},{"type":46,"tag":76,"props":1087,"children":1089},{"className":1088},[],[1090],{"type":52,"value":1091},"@JvmOverloads",{"type":52,"value":1093}," usage",{"type":46,"tag":605,"props":1095,"children":1096},{},[1097,1099],{"type":52,"value":1098},"Checked exceptions and ",{"type":46,"tag":76,"props":1100,"children":1102},{"className":1101},[],[1103],{"type":52,"value":1104},"@Throws",{"type":46,"tag":605,"props":1106,"children":1107},{},[1108],{"type":52,"value":1109},"Wildcard generics → Kotlin variance",{"type":46,"tag":1111,"props":1112,"children":1113},"style",{},[1114],{"type":52,"value":1115},"html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"items":1117,"total":1244},[1118,1136,1145,1154,1163,1173,1186,1195,1204,1214,1223,1234],{"slug":1119,"name":1119,"fn":1120,"description":1121,"org":1122,"tags":1123,"stars":1133,"repoUrl":1134,"updatedAt":1135},"mps-aspect-accessories","configure JetBrains MPS module dependencies","Wire MPS module and model dependencies, used languages, used devkits, extended languages, runtime solutions, accessory models, and language\u002Fdependency versions. Use when adding\u002Fremoving module dependencies, importing languages or devkits into a model, declaring runtime solutions, or shipping accessory content visible to consumers without explicit import.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[1124,1127,1130],{"name":1125,"slug":1126,"type":15},"Architecture","architecture",{"name":1128,"slug":1129,"type":15},"Configuration","configuration",{"name":1131,"slug":1132,"type":15},"Engineering","engineering",1650,"https:\u002F\u002Fgithub.com\u002FJetBrains\u002FMPS","2026-07-17T06:06:57.311661",{"slug":1137,"name":1137,"fn":1138,"description":1139,"org":1140,"tags":1141,"stars":1133,"repoUrl":1134,"updatedAt":1144},"mps-aspect-actions","define and edit MPS node factories","Use when defining or editing MPS node factories (the \"actions\" aspect) — `NodeFactories` roots, per-concept `NodeFactory` setup functions that initialize a freshly created node and optionally copy data from a replaced `sampleNode`, plus the actions aspect's `CopyPasteHandlers` and `PasteWrappers` roots. Reach for this skill when a substitution, side transform, completion replacement, or `add new initialized(...)` should preserve fields from the node it is replacing, or when defaults set in a constructor are not enough.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[1142,1143],{"name":1125,"slug":1126,"type":15},{"name":1131,"slug":1132,"type":15},"2026-07-17T06:04:48.066901",{"slug":1146,"name":1146,"fn":1147,"description":1148,"org":1149,"tags":1150,"stars":1133,"repoUrl":1134,"updatedAt":1153},"mps-aspect-behavior","define and edit MPS concept behavior","Use when defining or editing MPS `ConceptBehavior` — per-concept methods (non-virtual \u002F virtual \u002F abstract \u002F static \u002F virtual static), constructors, virtual dispatch (MRO), super and interface-default calls (`super\u003CInterface>.method`), overriding methods from `lang.core.behavior` interfaces such as `ScopeProvider.getScope` \u002F `INamedConcept.getName` \u002F `BaseConcept.getPresentation`, calling sibling methods (`LocalBehaviorMethodCall`) and behavior methods from other aspects via `node.method(...)`. Reach for this skill whenever the task involves authoring or modifying `\u003Clang>\u002FlanguageModels\u002Fbehavior.mps`.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[1151,1152],{"name":1125,"slug":1126,"type":15},{"name":1131,"slug":1132,"type":15},"2026-07-13T06:45:21.757084",{"slug":1155,"name":1155,"fn":1156,"description":1157,"org":1158,"tags":1159,"stars":1133,"repoUrl":1134,"updatedAt":1162},"mps-aspect-constraints","define JetBrains MPS language constraints","Use when defining or editing MPS language constraints — property validators \u002F setters \u002F getters, referent search scopes (imperative or inherited via `ScopeProvider.getScope`), `referentSetHandler` side effects, default-scope blocks, `canBeChild` \u002F `canBeParent` \u002F `canBeAncestor` \u002F `canBeRoot` placement rules, `defaultConcreteConcept` for abstract concepts, `set \u003Cread-only>` and `{name}` aliasing, and scope helpers (`SimpleRoleScope`, `ListScope`, `CompositeScope`, `HidingByNameScope`). Reach for this skill whenever the task involves authoring or modifying `\u003Clang>\u002FlanguageModels\u002Fconstraints.mps`.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[1160,1161],{"name":1125,"slug":1126,"type":15},{"name":23,"slug":24,"type":15},"2026-07-23T05:41:33.639365",{"slug":1164,"name":1164,"fn":1165,"description":1166,"org":1167,"tags":1168,"stars":1133,"repoUrl":1134,"updatedAt":1172},"mps-aspect-dataflow","define and debug MPS dataflow builders","Use when defining or debugging MPS dataflow builders for a concept — control\u002Fdata flow declarations that drive reachability analysis and variable-use checking. Covers DataFlowBuilderDeclaration, BuilderBlock, emit instructions (code for, jump, ifjump, label, read, write, ret, mayBeUnreachable), positions (AfterPosition, BeforePosition, LabelPosition), the jetbrains.mps.lang.dataFlow language, the NodeParameter implicit, BL+smodel usage inside builder bodies, and IBuilderMode for advanced analyses such as nullable\u002Fnon-null tracking.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[1169],{"name":1170,"slug":1171,"type":15},"Data Analysis","data-analysis","2026-07-13T06:45:19.114674",{"slug":1174,"name":1174,"fn":1175,"description":1176,"org":1177,"tags":1178,"stars":1133,"repoUrl":1134,"updatedAt":1185},"mps-aspect-editor","define MPS editor layouts","Use when creating or changing MPS editor definitions — the overall workflow from scaffolding a `ConceptEditorDeclaration` through componentizing reusable `EditorComponentDeclaration`s, refining cell models and cell layouts, applying style sheets and indent-layout style items, wiring smart references, leveraging inheritance via super-concepts and interfaces, inspecting (`print_node_json`, `show_node_representation`) and validating (`check_root_node_problems`). Covers `jetbrains.mps.lang.editor` cell models (`CellModel_RefNode`\u002F`CellModel_RefNodeList`\u002F`CellModel_RefCell`\u002F`CellModel_Property`\u002F`CellModel_Constant`), layout choices, and JSON blueprints for common editor shapes. For the non-layout side (action maps, keymaps, transformation\u002Fsubstitute menus) use `mps-aspect-editor-menus-and-keymaps`.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[1179,1182],{"name":1180,"slug":1181,"type":15},"Design","design",{"name":1183,"slug":1184,"type":15},"UI Components","ui-components","2026-07-23T05:41:56.638151",{"slug":1187,"name":1187,"fn":1188,"description":1189,"org":1190,"tags":1191,"stars":1133,"repoUrl":1134,"updatedAt":1194},"mps-aspect-editor-menus-and-keymaps","author MPS editor menus and keymaps","Use when authoring the **non-layout** parts of the MPS editor aspect — what happens when the user types, presses a key, triggers completion, pastes, or invokes a context action. Covers action maps (`CellActionMapDeclaration`), cell keymaps (`CellKeyMapDeclaration`), transformation menus (`TransformationMenu_Default` \u002F `_Named` \u002F `_Contribution`), substitute menus (`SubstituteMenu_Default` \u002F `SubstituteMenu` \u002F contributions), side transforms (LEFT\u002FRIGHT), legacy cell menus, paste wrappers and copy-paste handlers (in the actions language), completion styling, reference presentation, two-step deletion, and the editor selection API. Trigger terms: `actionMap`, `keyMap`, `delete_action_id`, `transformationMenu`, `substituteMenu`, `Ctrl+Space`, `Ctrl+Alt+B`, side transform, paste wrapper, completion styling, `PasteWrappers`, `CopyPasteHandlers`. For the **layout** side (cells, layouts, style sheets) use `mps-aspect-editor` instead.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[1192,1193],{"name":1131,"slug":1132,"type":15},{"name":1183,"slug":1184,"type":15},"2026-07-23T05:41:49.666535",{"slug":1196,"name":1196,"fn":1197,"description":1198,"org":1199,"tags":1200,"stars":1133,"repoUrl":1134,"updatedAt":1203},"mps-aspect-generation-plan","modify MPS generation plans","Use when defining or modifying an MPS generation plan — explicit ordering of generators, checkpoints for cross-model reference resolution, forks for parallel branches, IncludePlan composition, conditional PlanContribution activation, ParameterEquals\u002FConceptListSelector fork selectors, and InitModelAttributes for targetFacet routing. Apply when working with @genplan models, the jetbrains.mps.lang.generator.plan language, attaching plans via DevKits or the Custom generation facet, or debugging cross-model mapping label resolution.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[1201,1202],{"name":1125,"slug":1126,"type":15},{"name":1131,"slug":1132,"type":15},"2026-07-13T06:44:59.507855",{"slug":1205,"name":1205,"fn":1206,"description":1207,"org":1208,"tags":1209,"stars":1133,"repoUrl":1134,"updatedAt":1213},"mps-aspect-generator","define JetBrains MPS generator rules","Use when defining or modifying MPS generators — author a generator module, add or edit root\u002Freduction\u002Fweaving\u002Fpattern mapping rules, attach template macros ($COPY_SRC, $LOOP, $IF, $PROPERTY, $REF, $SWITCH, $MAP_SRC, $WEAVE, $INSERT, $LABEL, $TRACE, $VAR), wire mapping labels, build template switches, write pre\u002Fpost mapping scripts, navigate `genContext`, or debug \"rule didn't fire\", missing references, empty output, infinite reduction loops, and generated-Java compile failures.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[1210,1211,1212],{"name":1125,"slug":1126,"type":15},{"name":23,"slug":24,"type":15},{"name":1131,"slug":1132,"type":15},"2026-07-17T06:06:58.042999",{"slug":1215,"name":1215,"fn":1216,"description":1217,"org":1218,"tags":1219,"stars":1133,"repoUrl":1134,"updatedAt":1222},"mps-aspect-intentions","define and edit MPS intentions","Use when defining or editing MPS intentions (the Alt+Enter context-action aspect) — adding `IntentionDeclaration` roots, parameterized or surround-with variants, description\u002FisApplicable\u002Fexecute blocks, child-filter functions, factory-initialized AST splicing, or debugging why an intention is not offered. Lives in the language's `intentions` model and uses `jetbrains.mps.lang.intentions`.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[1220,1221],{"name":1125,"slug":1126,"type":15},{"name":1131,"slug":1132,"type":15},"2026-07-23T05:41:48.692899",{"slug":1224,"name":1224,"fn":1225,"description":1226,"org":1227,"tags":1228,"stars":1133,"repoUrl":1134,"updatedAt":1233},"mps-aspect-migrations","author and debug MPS migration scripts","Use when authoring or debugging MPS migration scripts that upgrade user models after a language definition changes — covers jetbrains.mps.lang.migration (MigrationScript class-based, PureMigrationScript declarative, MoveConcept\u002FMoveContainmentLink\u002FMoveReferenceLink\u002FMoveProperty, ordering via OrderDependency, data exchange via putData\u002FgetData, RefactoringLog, ConceptMigrationReference) and jetbrains.mps.lang.script Enhancement Scripts (MigrationScript with MigrationScriptPart_Instance, ExtractInterfaceMigration, FactoryMigrationScriptPart, CommentMigrationScriptPart) — when a model needs version-gated upgrade, concept rename or removal, link or property rename, instance-level transformation, or composition of migration steps.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[1229,1232],{"name":1230,"slug":1231,"type":15},"Debugging","debugging",{"name":20,"slug":21,"type":15},"2026-07-13T06:45:20.372122",{"slug":1235,"name":1235,"fn":1236,"description":1237,"org":1238,"tags":1239,"stars":1133,"repoUrl":1134,"updatedAt":1243},"mps-aspect-structure-concepts","define concepts in MPS structure aspect","Define concepts, interface concepts, enumerations, and constrained data types in an MPS language's `structure` aspect. Covers smart-reference detection, alias rules, cardinality, INamedConcept usage, bulk creation, and the full `mps_mcp_alter_structure` \u002F `mps_mcp_query_structure` reference. Use when authoring or modifying a language's structure model.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[1240],{"name":1241,"slug":1242,"type":15},"Data Modeling","data-modeling","2026-07-23T05:41:30.705975",188,{"items":1246,"total":1362},[1247,1266,1281,1295,1310,1331,1348],{"slug":1248,"name":1248,"fn":1249,"description":1250,"org":1251,"tags":1252,"stars":25,"repoUrl":26,"updatedAt":1265},"algorithmic-art","create generative art with p5.js","Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code, generative art, algorithmic art, flow fields, or particle systems. Create original algorithmic art rather than copying existing artists' work to avoid copyright violations.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[1253,1256,1259,1262],{"name":1254,"slug":1255,"type":15},"Creative","creative",{"name":1257,"slug":1258,"type":15},"Generative Art","generative-art",{"name":1260,"slug":1261,"type":15},"Graphics","graphics",{"name":1263,"slug":1264,"type":15},"JavaScript","javascript","2026-07-13T06:41:35.540127",{"slug":1267,"name":1267,"fn":1268,"description":1269,"org":1270,"tags":1271,"stars":25,"repoUrl":26,"updatedAt":1280},"antfu","configure JavaScript projects with Anthony Fu's tools","Anthony Fu's opinionated tooling and conventions for JavaScript\u002FTypeScript projects. Use when setting up new projects, configuring ESLint\u002FPrettier alternatives, monorepos, library publishing, or when the user mentions Anthony Fu's preferences.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[1272,1275,1276,1277],{"name":1273,"slug":1274,"type":15},"Best Practices","best-practices",{"name":1131,"slug":1132,"type":15},{"name":1263,"slug":1264,"type":15},{"name":1278,"slug":1279,"type":15},"TypeScript","typescript","2026-07-13T06:43:13.153309",{"slug":1282,"name":1282,"fn":1283,"description":1284,"org":1285,"tags":1286,"stars":25,"repoUrl":26,"updatedAt":1294},"brand-guidelines","apply Anthropic brand guidelines","Applies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand colors or style guidelines, visual formatting, or company design standards apply.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[1287,1290,1291],{"name":1288,"slug":1289,"type":15},"Branding","branding",{"name":1180,"slug":1181,"type":15},{"name":1292,"slug":1293,"type":15},"Typography","typography","2026-07-13T06:43:06.077629",{"slug":1296,"name":1296,"fn":1297,"description":1298,"org":1299,"tags":1300,"stars":25,"repoUrl":26,"updatedAt":1309},"canvas-design","create visual art and design assets","Create beautiful visual art in .png and .pdf documents using design philosophy. You should use this skill when the user asks to create a poster, piece of art, design, or other static piece. Create original visual designs, never copying existing artists' work to avoid copyright violations.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[1301,1302,1303,1306],{"name":1254,"slug":1255,"type":15},{"name":1180,"slug":1181,"type":15},{"name":1304,"slug":1305,"type":15},"Images","images",{"name":1307,"slug":1308,"type":15},"PDF","pdf","2026-07-13T06:39:58.803113",{"slug":1311,"name":1311,"fn":1312,"description":1313,"org":1314,"tags":1315,"stars":25,"repoUrl":26,"updatedAt":1330},"ci-cd-containerization-advisor","design CI\u002FCD pipelines for Kotlin applications","Design reproducible build, image, and deployment pipelines for Kotlin plus Spring applications, including CI verification, layered containers, rollout safety, and deployment-time migration coordination. Use when creating or improving Dockerfiles, CI workflows, image hardening, Kubernetes manifests, release gates, or deployment strategies for Spring Boot services, especially where build reproducibility and operational safety matter.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[1316,1319,1322,1325,1326,1327],{"name":1317,"slug":1318,"type":15},"CI\u002FCD","ci-cd",{"name":1320,"slug":1321,"type":15},"Containers","containers",{"name":1323,"slug":1324,"type":15},"Deployment","deployment",{"name":1131,"slug":1132,"type":15},{"name":13,"slug":14,"type":15},{"name":1328,"slug":1329,"type":15},"Spring","spring","2026-07-13T06:41:47.83899",{"slug":1332,"name":1332,"fn":1333,"description":1334,"org":1335,"tags":1336,"stars":25,"repoUrl":26,"updatedAt":1347},"cloudflare-deploy","deploy applications to Cloudflare","Deploy applications and infrastructure to Cloudflare using Workers, Pages, and related platform services. Use when the user asks to deploy, host, publish, or set up a project on Cloudflare.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[1337,1340,1343,1346],{"name":1338,"slug":1339,"type":15},"Cloudflare","cloudflare",{"name":1341,"slug":1342,"type":15},"Cloudflare Pages","cloudflare-pages",{"name":1344,"slug":1345,"type":15},"Cloudflare Workers","cloudflare-workers",{"name":1323,"slug":1324,"type":15},"2026-07-17T06:04:42.853896",{"slug":1349,"name":1349,"fn":1350,"description":1351,"org":1352,"tags":1353,"stars":25,"repoUrl":26,"updatedAt":1361},"compose-ui-control","interact with Compose Desktop applications","Control a running Compose Desktop application via HTTP. Use when you need to interact with UI elements, click buttons, enter text, wait for elements to appear, or capture screenshots in a Compose Desktop app that has compose-ui-test-server enabled.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":9},[1354,1357,1360],{"name":1355,"slug":1356,"type":15},"Automation","automation",{"name":1358,"slug":1359,"type":15},"Desktop","desktop",{"name":1183,"slug":1184,"type":15},"2026-07-13T06:40:38.798626",128]