一键导入
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 页面并帮你完成安装。
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.