/micronaut-standards:configurationfrom Micronaut Standards
OneLiteFeather's convention for typed application configuration in a Micronaut REST API — one @ConfigurationProperties class per functional area in a dedicated config/ package, instead of ad-hoc properties scattered across the application entry point. Use this whenever a Micronaut backend needs a new piece of externalized configuration (a feature flag, an external service URL, a limit/threshold) and you're deciding where the corresponding Java type should live.
Ships in Micronaut Standards. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
External configuration (application.yml values, environment-specific settings) is exposed to the rest
of the application through dedicated @ConfigurationProperties classes in a config/ package — never
attached ad hoc to the application entry point class.
// config/FontStorageConfiguration.java
@ConfigurationProperties("font-storage")
public record FontStorageConfiguration(
@NotBlank String basePath,
@Positive int maxUploadSizeBytes
) {
}
# application.yml
font-storage:
base-path: /var/lib/otis/fonts
max-upload-size-bytes: 5242880
Each functional area (font storage, external API credentials, feature flags) gets its own
@ConfigurationProperties class with its own prefix, injected wherever it's needed via constructor
injection like any other bean:
@Singleton
public class FontServiceImpl implements FontService {
private final FontStorageConfiguration storageConfig;
@Inject
public FontServiceImpl(FontStorageConfiguration storageConfig) {
this.storageConfig = storageConfig;
}
}
Do not create one large configuration class that maps the entire application.yml — that class has no
single responsibility and becomes a dumping ground every unrelated feature adds a field to. If two
configuration values are read by unrelated parts of the codebase, they belong in two separate
@ConfigurationProperties classes, even if they happen to live under the same application.yml
top-level key today.
Do not attach @ConfigurationProperties directly to the @Singleton/Application bootstrap class the
way public class OtisApplication { public static void main(...) { ... } } did in Otis. The application
entry point's only job is starting Micronaut; it should not also double as a configuration holder that
unrelated services then depend on.
Prefer a record for the configuration class body (as in the example above) over a plain class with fields and setters, wherever Micronaut's binding supports it (it does, via the record's canonical constructor) — it keeps the class immutable and removes the boilerplate of writing setters that only Micronaut itself ever calls.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub onelitefeathernet/onelitefeather-claude-marketplace --plugin micronaut-standards14 skills in this plugin
/dependency-managementOneLiteFeather's Gradle/Micronaut dependency-management conventions for REST API backends — the Micronaut Application and AOT plugins, reading the Micronaut version from gradle.properties instead of hardcoding it, the mn.* platform catalog, the private OneLiteFeather Maven repo, and the optional CycloneDX SBOM plugin. Use this whenever setting up or editing a Micronaut backend's build.gradle.kts/settings.gradle.kts. For the general OneLiteFeather Gradle/BOM mechanics that apply beyond Micronaut (private repo credential split, Java toolchain pattern), see minestom-knowledge:gradle/boms instead. For observability, database-migration, Testcontainers, and security dependencies specifically, see the observability, liquibase, testcontainers, and security skills — this skill only lists that those dependencies exist and where to look, not their coordinates; the one exception is structured-logging dependencies (Logstash encoder, OpenTelemetry MDC appender), whose coordinates live directly in this skill since `logging` covers only their usage./dtoOneLiteFeather's request-DTO conventions for Micronaut REST APIs — records with @Serdeable/@Introspected, one shared Create/Update DTO controlled by JSR-380 validation groups instead of separate DTO types per action, and entity conversion methods living on the DTO itself. Use this whenever adding a new request body type to a Micronaut controller. For the response side (success/error modeling), see the response-modeling skill; for endpoint-level OpenAPI documentation, see openapi — this skill covers only the incoming request DTO and its own field-level @Schema annotations.Other plugins' skills for the same job