spring-boot-scaffold

Scaffold a Kotlin Spring Boot backend with NAV/Nais conventions.

1|1|Updated Feb 2, 2026
One-click install
npx skills add https://github.com/navikt/watson-sak-frontend --skill spring-boot-scaffold
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: spring-boot-scaffold
Source: https://github.com/navikt/watson-sak-frontend/tree/main/.opencode/skills/spring-boot-scaffold
Command: npx skills add https://github.com/navikt/watson-sak-frontend --skill spring-boot-scaffold

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Scaffold a ready-to-run Kotlin Spring Boot app with NAV/Nais conventions, enabling rapid backend project setup.

Core Features & Use Cases

  • Scaffolds a full Kotlin Spring Boot backend project including Nais manifest, Flyway migrations, Azure AD config, health endpoints, and Docker support.
  • Provides a conventional Nav-style project structure ready for development, testing, and deployment.
  • Useful for teams deploying backend services in NAV environments needing consistent boilerplate and CI/CD readiness.

Quick Start

Create a new Kotlin Spring Boot project scaffold configured with NAV NAIS, Flyway, and Docker.

Frequently Asked Questions about spring-boot-scaffold

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I scaffold a Kotlin Spring Boot app with Nais conventions?

Scaffold a Kotlin Spring Boot app with Nais conventions by generating a standardized project skeleton containing Gradle build configuration, Kotlin code, Nais manifest, Dockerfile, and application.yml. This provides a ready-to-run backend project structure.

What boilerplate is included when scaffolding a Spring Boot backend for NAV environments?

Scaffolding a Spring Boot backend for NAV environments includes Flyway migrations, Azure AD config, health endpoints, Docker support, and CI/CD readiness. The generated project structure enables immediate development and deployment.

Can I use this scaffold for teams deploying backend services in NAV environments?

Yes, this scaffold targets teams deploying backend services in NAV environments needing consistent boilerplate. It generates a conventional Nav-style project structure ready for development, testing, and deployment.

Does the scaffolded Kotlin Spring Boot project include Docker and Nais deployment artifacts?

Yes, the scaffolded Kotlin Spring Boot project includes Docker and Nais deployment artifacts. It provides a Nais manifest, Dockerfile, Gradle build configuration, and sample application.yml for immediate deployment readiness.

What's the best way to set up a ready-to-run Kotlin Spring Boot project with Flyway and Azure AD?

The best way to set up a ready-to-run Kotlin Spring Boot project with Flyway and Azure AD is using a scaffold that pre-configures these components. It generates a conventional project skeleton with health endpoints and basic testing scaffolding included.

Do I need to manually configure Gradle and testing scaffolding for a new NAV-enabled Spring Boot service?

No, you do not need to manually configure Gradle and testing scaffolding for a new NAV-enabled Spring Boot service. The scaffold provides Gradle build configuration and basic testing scaffolding automatically within the generated project skeleton.