ワンクリックで
deprecated-kotlin-app-config
Sealed class configuration pattern for Kotlin applications with environment-specific settings
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Sealed class configuration pattern for Kotlin applications with environment-specific settings
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Gi nye apper tilgang til Lumi feedback — ruter Azure via proxy og TokenX direkte til API
Exposed 1.0.0 JDBC DSL patterns (imports, transactions, queries, raw SQL, and types)
Database migration patterns using Flyway with versioned SQL scripts
Setting up Prometheus metrics, OpenTelemetry tracing, and health endpoints for Nais applications
Responsive layout patterns using Aksel spacing tokens with Box, VStack, HStack, and HGrid
Observability setup for lumi-dashboard (TanStack Start/Node.js) on Nais
| name | deprecated-kotlin-app-config |
| description | Sealed class configuration pattern for Kotlin applications with environment-specific settings |
DEPRECATED: use
.github/skills/kotlin-app-config/skill.mdat repo root.
NOTE: lumi-api uses ServerEnv (see no.nav.lumi.config.ServerEnv) for type-safe configuration and local defaults. Prefer that over introducing a new sealed-environment framework.
ServerEnv (repo standard)ServerEnv.Map<String, String> around.NAIS_CLUSTER_NAME to switch between local and NAIS defaults.import no.nav.lumi.config.ServerEnv
fun main() {
val env = ServerEnv.fromEnv()
// Pass env values into module/config installation rather than reading System.getenv() everywhere.
}
ServerEnv and document the local default if applicable.ServerEnv is the established pattern.