Configuration properties profiles kotlin safe

From JetBrains/skills · View interactive version

Configuration properties profiles kotlin safe is an AI agent skill from the GitHub repository JetBrains/skills. Design and diagnose Spring configuration, profiles, and `@ConfigurationProperties` binding for Kotlin applications. Use when property binding fails, environment-specific overrides behave unexpectedly, profile layering is confusing, secrets or defaults are modeled unsafely, or Kotlin nullability and

How to use this skill

Skill file

Configuration Properties Profiles Kotlin Safe

Source mapping: Tier 2 high-value skill derived from Kotlin_Spring_Developer_Pipeline.md (SK-16).

Mission

Make configuration predictable across local, test, staging, and production environments.

Treat configuration as typed application input, not as unstructured text.

Read First

Diagnose In This Order

  1. Verify source precedence:
  1. Verify prefix mapping and key shape.
  2. Verify constructor binding, defaults, and nullability.
  3. Verify collection, map, nested object, duration, and data-size binding.
  4. Verify profile activation and profile merge behavior.
  5. Verify whether the bug exists only in tests or only in deployment templates.

Kotlin-Safe Modeling Rules

Advanced Configuration Traps

Spring Config Data Nuances

Expert Heuristics

Design Rules

Output Contract

Return these sections:

Guardrails

Quality Bar

A good run of this skill leaves the configuration model easier to reason about across environments.

A bad run "fixes" one YAML key while leaving nullability, precedence, and startup validation ambiguous.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.