kotlin-springboot

Spring Boot development patterns and idioms tailored for Kotlin applications.

github ↓ 9.4k
Claude Code
View source ↗

What it does

  • Build Tool: Use Maven (pom.xml) or Gradle (build.gradle) with the Kotlin plugins (kotlin-maven-plugin or org.jetbrains.kotlin.jvm).
  • Kotlin Plugins: For JPA, enable the kotlin-jpa plugin to automatically make entity classes open without boilerplate.
  • Starters: Use Spring Boot starters (e.g., spring-boot-starter-web, spring-boot-starter-data-jpa) as usual.
  • Package Structure: Organize code by feature/domain (e.g., com.example.app.order, com.example.app.user) rather than by layer.
  • Primary Constructors: Always use the primary constructor for required dependency injection. It's the most idiomatic and concise approach in Kotlin.
  • Immutability: Declare dependencies as private val in the primary constructor. Prefer val over var everywhere to promote immutability.
  • Component Stereotypes: Use @Service, @Repository, and @RestController annotations just as you would in Java.

Derived from the skill's own SKILL.md documentation · extracted 2026-07-23

Spring Boot development patterns and idioms tailored for Kotlin applications.

Source

Repository: https://github.com/github/awesome-copilot

kotlin-springboot FAQ

What does the kotlin-springboot skill do?

Get best practices for developing applications with Spring Boot and Kotlin. Build Tool: Use Maven (pom.xml) or Gradle (build.gradle) with the Kotlin plugins (kotlin-maven-plugin or org.jetbrains.kotlin.jvm). Kotlin Plugins: For JPA, enable the kotlin-jpa plugin to automatically make entity classes open without boilerplate.

How do I install kotlin-springboot?

Run: npx -y skills add https://github.com/github/awesome-copilot --skill kotlin-springboot --agent claude-code — the source lives at github.com/github/awesome-copilot.

Maintain kotlin-springboot?

Let people know it's listed here — add the badge (live metrics, light/dark aware) or a plain link to your README or docs.

kotlin-springboot on getagentictools
[![kotlin-springboot on getagentictools](https://getagentictools.com/badge/skills/github-awesome-copilot-kotlin-springboot.svg)](https://getagentictools.com/skills/github-awesome-copilot-kotlin-springboot?ref=badge)
npx agentictools info skills/github-awesome-copilot-kotlin-springboot

The second line is the CLI lookup for this page — handy in READMEs and docs.