
Kotlin Springboot
github/awesome-copilotOfficial
This covers the practical stuff you need to know when building Spring Boot apps with Kotlin instead of Java. It walks you through idiomatic dependency injection using primary constructors, setting up JPA entities with the kotlin-jpa plugin so you don't have to manually make classes open, and using data classes for DTOs and configuration properties. The testing section is solid, recommending Kotest and MockK over Java-based alternatives since they're built for Kotlin's syntax. It also covers coroutines integration, which is where Kotlin really shines in Spring Boot for async work.
- skills.sh installs
- 9.8K
- GitHub stars
- 41K
- last updated
- Aug 21, 2026
Install
$ npx -y skills add github/awesome-copilot --skill kotlin-springboot --agent claude-codeInstalls into .claude/skills of the current project.
Files
Spring Boot with Kotlin Best Practices
Your goal is to help me write high-quality, idiomatic Spring Boot applications using Kotlin.
Project Setup & Structure
- Build Tool: Use Maven (
pom.xml) or Gradle (build.gradle) with the Kotlin plugins (kotlin-maven-pluginororg.jetbrains.kotlin.jvm). - Kotlin Plugins: For JPA, enable the
kotlin-jpaplugin to automatically make entity classesopenwithout 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.
Dependency Injection & Components
- 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 valin the primary constructor. Prefervalovervareverywhere to promote immutability. - Component Stereotypes: Use
@Service,@Repository, and@RestControllerannotations just as you would in Java.
Configuration
Sponsors
Promote your product hereReach 125k+ visitors monthlyPromote your product hereReach 125k+ visitors monthly
Agent CaffeineSponsoredClose your lid, come back to finished work
SnugSponsoredThe clipboard manager for the AI eraPromote your product hereReach 125k+ visitors monthly
WaxSponsoredBlock anything with supervision, without erasing your iPhonePromote your product hereReach 125k+ visitors monthly
knobsSponsoredSee your site on any phone, any day, in any language
Details
- Repository
- github.com/github/awesome-copilot
- Categories
- Git & Pull Requests, AI & Agent Building, Mobile Development, Java & JVM
More from github/awesome-copilot
All 318- Image Manipulation Image Magick9.8K
- Plantuml Ascii9.8K
- Readme Blueprint Generator9.7K
- Devops Rollout Plan9.7K
- My Pull Requests9.7K
- Csharp Docs9.7K
- Agent Governance9.7K
- Mcp Cli9.7K
- Context Map9.7K
- Ef Core9.7K
- Azure Deployment Preflight9.6K
- Write Coding Standards From File9.6K
- My Issues9.6K
- Create Spring Boot Java Project9.6K
- Appinsights Instrumentation9.5K
- Openapi To Application Code9.5K
- Create Github Issues Feature From Implementation Plan9.5K
- Folder Structure Blueprint Generator9.5K
- Power Bi Report Design Consultation9.5K
- Copilot Sdk9.4K
- Azure Role Selector9.4K
- Prompt Builder9.4K
- Next Intl Add Language9.4K
- Project Workflow Analysis Blueprint Generator9.4K
Recommended
More Git & Pull Requests1
image-manipulation-image-magickgithub/awesome-copilotProcess and manipulate images using ImageMagick. Supports resizing, format conversion, batch processing, and retrieving image metadata. Use when working with im9.8Kskills.sh installs
2
plantuml-asciigithub/awesome-copilotGenerate ASCII art diagrams using PlantUML text mode. Use when user asks to create ASCII diagrams, text-based diagrams, terminal-friendly diagrams, or mentions 9.8Kskills.sh installs
3
readme-blueprint-generatorgithub/awesome-copilotIntelligent README.md generation prompt that analyzes project documentation structure and creates comprehensive repository documentation. Scans .github/copilot 9.7Kskills.sh installs
4
devops-rollout-plangithub/awesome-copilotGenerate comprehensive rollout plans with preflight checks, step-by-step deployment, verification signals, rollback procedures, and communication plans for infr9.7Kskills.sh installs
5
my-pull-requestsgithub/awesome-copilotList my pull requests in the current repository9.7Kskills.sh installs
6
csharp-docsgithub/awesome-copilotEnsure that C# types are documented with XML comments and follow best practices for documentation.9.7Kskills.sh installs