Kotlin Idiomatic Refactorer Spring Aware

Refactor Kotlin code toward clearer, more idiomatic design without breaking Spring behavior, serialization, persistence, or public contracts. Use when Java-flavored Kotlin needs cleanup, domain modeling should become more expressive, or boilerplate should be reduced, but the refactoring must remain safe for proxies, Jackson, JPA, configuration binding, and existing tests.

398 stars 35 forksSoftware Development

Install

skills CLI (Claude Code, Cursor, Codex and more)
npx skills add JetBrains/skills --skill kotlin-idiomatic-refactorer-spring-aware
Manual install
git clone --depth 1 https://github.com/JetBrains/skills.git /tmp/skills
mkdir -p ~/.claude/skills
cp -r /tmp/skills/kotlin-idiomatic-refactorer-spring-aware ~/.claude/skills/kotlin-idiomatic-refactorer-spring-aware

Personal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.

From the SKILL.md

# Kotlin Idiomatic Refactorer Spring Aware

Source mapping: Tier 2 high-value skill derived from `Kotlin_Spring_Developer_Pipeline.md` (`SK-20`).

## Mission

Improve the codebase's Kotlin quality without trading away framework correctness.
Prefer refactorings that increase clarity and reduce accidental complexity while preserving behavior.

## Read First

- The current implementation and its tests.
- Public signatures, annotations, and serialization or persistence boundaries.
- Build plugins and framework constraints already discovered in project context.
- Existing code style and module-boundary conventions.

## Refactor In This Order

1. Characterize current behavior with tests or existing callers.
2. Identify whether the code is transport DTO, domain logic, entity, configuration, or framework glue.
3. Apply the smallest idiomatic improvement that materially helps readability or safety.
4. Re-check proxy, serialization, and persistence compatibility.
5. Keep changes incremental unless the user explicitly wants a larger rewrite.

## High-Value Kotlin Moves

- Prefer constructor injection and immutable dependencies.
- Replace imperative branching with `when` when it improves exhaustive reasoning.
- Use `sealed class` or `sealed interface` for closed result or error domains.
- Use `data class` for pure transport or value models, not for JPA entities.
- Use value classes for domain primitives when the surrounding framework stack can support them safely.
Read the full skill on GitHub

Details

Skill name
kotlin-idiomatic-refactorer-spring-aware
Path
kotlin-idiomatic-refactorer-spring-aware/SKILL.md
Repo updated
21 October 2026

FAQ

What does the Kotlin Idiomatic Refactorer Spring Aware skill do?

Refactor Kotlin code toward clearer, more idiomatic design without breaking Spring behavior, serialization, persistence, or public contracts. Use when Java-flavored Kotlin needs cleanup, domain modeling should become more expressive, or boilerplate should be reduced, but the refactoring must remain safe for proxies, Jackson, JPA, configuration binding, and existing tests.

How do I install the Kotlin Idiomatic Refactorer Spring Aware skill?

skills CLI (Claude Code, Cursor, Codex and more): npx skills add JetBrains/skills --skill kotlin-idiomatic-refactorer-spring-aware. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.

Is Kotlin Idiomatic Refactorer Spring Aware popular?

It lives in JetBrains/skills, which has 398 GitHub stars and 35 forks.

Related skills

Deploy to Vercel

398

JetBrains/skills

Deploy applications and websites to Vercel. Use when the user requests deployment actions like "deploy my app", "deploy and give me the link", "push this live", or "create a preview deployment".

DevOps & CloudIn 2 lists35

Vercel React Native Skills

398

JetBrains/skills

React Native and Expo best practices for building performant mobile apps. Use when building React Native components, optimizing list performance, implementing animations, or working with native modules. Triggers on tasks involving React Native, Expo, mobile performance, or native platform APIs.

Mobile DevelopmentIn 2 lists35

Vitest

398

JetBrains/skills

Vitest fast unit testing framework powered by Vite with Jest-compatible API. Use when writing tests, mocking, configuring coverage, or working with test filtering and fixtures.

Testing & QA35

Managing Youtrack

398

JetBrains/skills

Interact with YouTrack issue tracker via REST API. Create, read, update, and search issues and drafts; manage comments, tags, and issue links; log work items; inspect custom field schemas; list saved queries; look up users and groups. Use when the user asks about YouTrack issues, wants to file bugs, update tickets, add comments, manage tags or links, track time, or search for issues. Requires YOUTRACK_URL and YOUTRACK_TOKEN environment variables.

Software Development35

Java Kotlin Migration Assistant

398

JetBrains/skills

Migrate Java code to Kotlin in Spring-based codebases without changing behavior, public contracts, framework compatibility, or binary assumptions unless explicitly intended. Use when converting classes incrementally, replacing Lombok patterns, managing platform types and nullability, preserving JPA and proxy behavior, or planning the safe migration order of a mixed Java and Kotlin codebase.

Software Development35

Nhl Data

271

machina-sports/sports-skills

NHL data via ESPN public endpoints and the official NHL API — scores, standings, rosters, schedules, game summaries, injuries, futures, leaders, and news, plus an analytics backend: play-by-play with on-ice coordinates, cross-league career rows, skater/goalie leaders, and history to 1917. Zero config, no API keys. Use when: user asks about NHL scores, standings, team rosters, schedules, game stats, box scores, play-by-play, injuries, transactions, betting futures, team/player statistics, NHL news, shot locations, career stats, skater/goalie leaders, or historical NHL seasons. Don't use when: u

Software Development39

Browse the most popular Claude skills, all software development skills, or write your own with the skills generator.