micronaut-scaffold

Scaffold Micronaut service modules with hexagonal architecture and Docker support.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/edercnj/ia-dev-environment --skill micronaut-scaffold
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: micronaut-scaffold
Source: https://github.com/edercnj/ia-dev-environment/tree/main/src/main/resources/claude/skills/micronaut-scaffold
Command: npx skills add https://github.com/edercnj/ia-dev-environment --skill micronaut-scaffold

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Scaffolds a Micronaut service module following the hexagonal architecture pattern. Produces:

  1. Application.java entrypoint
  2. @Controller class with endpoints
  3. @Singleton service and port wiring
  4. HealthIndicator implementation
  5. Configuration (application.yml)
  6. Dockerfile (multi-stage build)
  7. Integration tests (@MicronautTest)

Core Features & Use Cases

  • Generates Application.java entrypoint
  • Creates a Controller with endpoints and a Singleton port wiring
  • Includes HealthIndicator and AppConfig for configuration
  • Provides Dockerfile for multi-stage container builds and ready for deployment
  • Generates integration tests to verify HTTP endpoints

Quick Start

Run the micronaut-scaffold command with a PascalCase ServiceName to generate the full Micronaut scaffold.

Frequently Asked Questions about micronaut-scaffold

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

FAQPage Schema
How do I scaffold a Micronaut REST API with hexagonal architecture?

To scaffold a Micronaut REST API with hexagonal architecture, run the scaffold command with a PascalCase service name. It generates an Application entrypoint, Controller, Singleton service port wiring, and integration tests to accelerate your microservice setup.

What files are generated when starting a new Micronaut microservice project?

Starting a new Micronaut microservice project generates Application.java, a Controller with endpoints, HealthIndicator, AppConfig, application.yml, a multi-stage Dockerfile, and @MicronautTest integration tests following standard framework patterns.

Does the Micronaut scaffold include Docker support for deployment?

Yes, the Micronaut scaffold includes Docker support by generating a Dockerfile configured for multi-stage container builds. This makes the generated microservice modules ready for immediate deployment out of the box.

Can I generate health checks and configuration files for a Micronaut service?

Yes, you can generate health checks and configuration files for a Micronaut service. The scaffold produces a HealthIndicator implementation for monitoring and an application.yml file alongside AppConfig for managing service settings.

How do I test Micronaut controllers and HTTP endpoints after scaffolding?

You test Micronaut controllers and HTTP endpoints using the generated integration tests. The scaffold creates @MicronautTest classes specifically designed to verify your HTTP endpoints and ensure the scaffolded REST API functions correctly.