원클릭으로
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
Sealed class configuration pattern for Kotlin applications with environment-specific settings
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
| name | kotlin-app-config |
| description | Sealed class configuration pattern for Kotlin applications with environment-specific settings |
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.