create-spring-boot-kotlin-project — GitHub Copilot skill
This skill scaffolds a Spring Boot project in Kotlin, then configures PostgreSQL, Redis and MongoDB. Use it when you want a reactive starter with Gradle tests.
npx skills add github/awesome-copilot --skill create-spring-boot-kotlin-projectWhat create-spring-boot-kotlin-project does
The skill downloads a project template from start.spring.io and unpacks it. It adds SpringDoc and ArchUnit dependencies, configures Redis, R2DBC and MongoDB, and creates a docker-compose.yaml setup for Redis, PostgreSQL and MongoDB with local data volumes.
Java 21, Docker and Docker Compose are required. The template uses Spring Boot 3.4.5 and Kotlin; you can change the project name and package through artifactId and packageName. The suggested check is ./gradlew clean test. Choose this skill when you need these services in the starter; projects that do not use MongoDB or Redis will need some of the generated setup removed.
What it helps with
- scaffold a Spring Boot project in Kotlin
- add WebFlux and reactive data dependencies
- configure local Redis, PostgreSQL and MongoDB services
- include SpringDoc and ArchUnit dependencies
- run the project tests with
./gradlew clean test
Example prompts for the agent
- Create a Kotlin Spring Boot project named inventory-api.
- Set up the project with Redis, PostgreSQL and MongoDB in `docker-compose.yaml`.
- Run `./gradlew clean test` to check the generated project.
How to install create-spring-boot-kotlin-project
1Skills CLI (Vercel)
npx skills add github/awesome-copilot --skill create-spring-boot-kotlin-project2GitHub CLI
gh skill install github/awesome-copilot create-spring-boot-kotlin-project3Manually: put the files in place
.github/skills/create-spring-boot-kotlin-project/SKILL.md1Skills CLI (Vercel)
npx skills add github/awesome-copilot --skill create-spring-boot-kotlin-project -a claude-code2Manually: put the files in place
~/.claude/skills/create-spring-boot-kotlin-project/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/create-spring-boot-kotlin-project/
Manually: put the files in place
.agents/skills/create-spring-boot-kotlin-project/SKILL.mdFor all projects use ~/.agents/skills/
Manually: put the files in place
.cursor/skills/create-spring-boot-kotlin-project/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
Platform CLI
gemini skills install https://github.com/github/awesome-copilot --path skills/create-spring-boot-kotlin-projectManually: put the files in place
.devin/skills/create-spring-boot-kotlin-project/SKILL.mdThe legacy .windsurf/skills/ path still works
Claude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
From the same set554
The whole set →Similar
Questions about create-spring-boot-kotlin-project
How do I install create-spring-boot-kotlin-project in GitHub Copilot?
Run npx skills add github/awesome-copilot --skill create-spring-boot-kotlin-project. The manual skill file path is .github/skills/create-spring-boot-kotlin-project/SKILL.md.
What does create-spring-boot-kotlin-project do?
It creates a Kotlin Spring Boot project from a downloaded template and adds database, SpringDoc and Docker Compose configuration. It also suggests a Gradle test command.
What do I need before using this skill?
Install Java 21, Docker and Docker Compose. The project check uses ./gradlew clean test.
Source text
SKILL.md · MIT
---
name: create-spring-boot-kotlin-project
description: 'Create Spring Boot Kotlin Project Skeleton'
---
# Create Spring Boot Kotlin project prompt
- Please make sure you have the following software installed on your system:
- Java 21
- Docker
- Docker Compose
- If you need to custom the project name, please change the `artifactId` and the `packageName` in [download-spring-boot-project-template](#download-spring-boot-project-template)
- If you need to update the Spring Boot version, please change the `bootVersion` in [download-spring-boot-project-template](#download-spring-boot-project-template)
## Check Java version
- Run following command in terminal and check the version of Java
```shell
java -version
```
## Download Spring Boot project template
- Run following command in terminal to download a Spring Boot project template
```shell
curl https://start.spring.io/starter.zip \
-d artifactId=${input:projectName:demo-kotlin} \
-d bootVersion=3.4.5 \
-d dependencies=configuration-processor,webflux,data-r2dbc,postgresql,data-redis-reactive,data-mongodb-reactive,validation,cache,testcontainers \
-d javaVersion=21 \
-d language=kotlin \
-d packageName=com.example \
-d packaging=jar \
-d type=gradle-project-kotlin \
-o starter.zip
```
## Unzip the downloaded file
- Run following command in terminal to unzip the downloaded file
```shell
unzip starter.zip -d ./${input:projectName:demo-kotlin}
```
## Remove the downloaded zip file
- Run following command in terminal to delete the downloaded zip file
```shell
rm -f starter.zip
```
## Unzip the downloaded file
- Run following command in terminal to unzip the downloaded file
```shell
unzip starter.zip -d ./${input:projectName:demo-kotlin}
```
## Add additional dependencies
- Insert `springdoc-openapi-starter-webmvc-ui` and `archunit-junit5` dependency into `build.gradle.kts` file
```gradle.kts
dependencies {
implementation("org.springdoc:springdoc-openapi-starter-webflux-ui:2.8.6")
testImplementation("com.tngtech.archunit:archunit-junit5:1.2.1")
}
```
- Insert SpringDoc configurations into `application.properties` file
```properties
# SpringDoc configurations
springdoc.swagger-ui.doc-expansion=none
springdoc.swagger-ui.operations-sorter=alpha
springdoc.swagger-ui.tags-sorter=alpha
```
- Insert Redis configurations into `application.properties` file
```properties
# Redis configurations
spring.data.redis.host=localhost
spring.data.redis.port=6379
spring.data.redis.password=rootroot
```
- Insert R2DBC configurations into `application.properties` file
```properties
# R2DBC configurations
spring.r2dbc.url=r2dbc:postgresql://localhost:5432/postgres
spring.r2dbc.username=postgres
spring.r2dbc.password=rootroot
spring.sql.init.mode=always
spring.sql.init.platform=postgres
spring.sql.init.continue-on-error=true
```
- Insert MongoDB configurations into `application.properties` file
```properties
# MongoDB configurations
spring.data.mongodb.host=localhost
spring.data.mongodb.port=27017
spring.data.mongodb.authentication-database=admin
spring.data.mongodb.username=root
spring.data.mongodb.password=rootroot
spring.data.mongodb.database=test
```
- Create `docker-compose.yaml` at project root and add following services: `redis:6`, `postgresql:17` and `mongo:8`.
- redis service should have
- password `rootroot`
- mapping port 6379 to 6379
- mounting volume `./redis_data` to `/data`
- postgresql service should have
- password `rootroot`
- mapping port 5432 to 5432
- mounting volume `./postgres_data` to `/var/lib/postgresql/data`
- mongo service should have
- initdb root username `root`
- initdb root password `rootroot`
- mapping port 27017 to 27017
- mounting volume `./mongo_data` to `/data/db`
- Insert `redis_data`, `postgres_data` and `mongo_data` directories in `.gitignore` file
- Run gradle clean test command to check if the project is working
```shell
./gradlew clean test
```
- (Optional) `docker-compose up -d` to start the services, `./gradlew spring-boot:run` to run the Spring Boot project, `docker-compose rm -sf` to stop the services.
Let's do this step by step.
© github · MIT · github/awesome-copilot