configuration-properties-profiles-kotlin-safe — community configuration-properties-profiles-kotlin-safe, kotlin-backend-agent-skills, community, ide skills

v1.0.0

关于此技能

非常适合需要在不同环境中可预测的配置管理的Kotlin Spring开发者代理。 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 constructor binding semantics make configuration errors hard to detect.

Kotlin Kotlin
[0]
[0]
更新于: 3/10/2026

Killer-Skills Review

Decision support comes first. Repository text comes second.

Reference-Only Page Review Score: 7/11

This page remains useful for operators, but Killer-Skills treats it as reference material instead of a primary organic landing page.

Original recommendation layer Concrete use-case guidance Explicit limitations and caution
Review Score
7/11
Quality Score
41
Canonical Locale
en
Detected Body Locale
en

非常适合需要在不同环境中可预测的配置管理的Kotlin Spring开发者代理。 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 constructor binding semantics make configuration errors hard to detect.

核心价值

赋予代理管理配置属性的能力,使用@ConfigurationProperties类,将配置视为类型化的应用程序输入,并支持特定于配置文件的文件,如application.yml和application.properties,确保在本地、测试、预发和生产环境中的一致性。

适用 Agent 类型

非常适合需要在不同环境中可预测的配置管理的Kotlin Spring开发者代理。

赋予的主要能力 · configuration-properties-profiles-kotlin-safe

为多个环境配置应用程序
使用@ConfigurationProperties类验证配置属性
为不同部署阶段管理特定于配置文件的配置文件

! 使用限制与门槛

  • 需要Kotlin和Spring框架
  • 仅限于Kotlin Spring应用程序
  • 需要访问应用程序配置文件

Why this page is reference-only

  • - Current locale does not satisfy the locale-governance contract.
  • - The underlying skill quality score is below the review floor.

Source Boundary

The section below is imported from the upstream repository and should be treated as secondary evidence. Use the Killer-Skills review above as the primary layer for fit, risk, and installation decisions.

评审后的下一步

先决定动作,再继续看上游仓库材料

Killer-Skills 的主价值不应该停在“帮你打开仓库说明”,而是先帮你判断这项技能是否值得安装、是否应该回到可信集合复核,以及是否已经进入工作流落地阶段。

实验室 Demo

Browser Sandbox Environment

⚡️ Ready to unleash?

Experience this Agent in a zero-setup browser environment powered by WebContainers. No installation required.

Boot Container Sandbox

常见问题与安装步骤

以下问题与步骤与页面结构化数据保持一致,便于搜索引擎理解页面内容。

? FAQ

configuration-properties-profiles-kotlin-safe 是什么?

非常适合需要在不同环境中可预测的配置管理的Kotlin Spring开发者代理。 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 constructor binding semantics make configuration errors hard to detect.

如何安装 configuration-properties-profiles-kotlin-safe?

运行命令:npx killer-skills add Kotlin/kotlin-backend-agent-skills。支持 Cursor、Windsurf、VS Code、Claude Code 等 19+ IDE/Agent。

configuration-properties-profiles-kotlin-safe 适用于哪些场景?

典型场景包括:为多个环境配置应用程序、使用@ConfigurationProperties类验证配置属性、为不同部署阶段管理特定于配置文件的配置文件。

configuration-properties-profiles-kotlin-safe 支持哪些 IDE 或 Agent?

该技能兼容 Cursor, Windsurf, VS Code, Trae, Claude Code, OpenClaw, Aider, Codex, OpenCode, Goose, Cline, Roo Code, Kiro, Augment Code, Continue, GitHub Copilot, Sourcegraph Cody, and Amazon Q Developer。可使用 Killer-Skills CLI 一条命令通用安装。

configuration-properties-profiles-kotlin-safe 有哪些限制?

需要Kotlin和Spring框架;仅限于Kotlin Spring应用程序;需要访问应用程序配置文件。

安装步骤

  1. 1. 打开终端

    在你的项目目录中打开终端或命令行。

  2. 2. 执行安装命令

    运行:npx killer-skills add Kotlin/kotlin-backend-agent-skills。CLI 会自动识别 IDE 或 AI Agent 并完成配置。

  3. 3. 开始使用技能

    configuration-properties-profiles-kotlin-safe 已启用,可立即在当前项目中调用。

! 参考页模式

此页面仍可作为安装与查阅参考,但 Killer-Skills 不再把它视为主要可索引落地页。请优先阅读上方评审结论,再决定是否继续查看上游仓库说明。

Upstream Repository Material

The section below is imported from the upstream repository and should be treated as secondary evidence. Use the Killer-Skills review above as the primary layer for fit, risk, and installation decisions.

Upstream Source

configuration-properties-profiles-kotlin-safe

安装 configuration-properties-profiles-kotlin-safe,这是一款面向AI agent workflows and automation的 AI Agent Skill。查看评审结论、使用场景与安装路径。

SKILL.md
Readonly
Upstream Repository Material
The section below is imported from the upstream repository and should be treated as secondary evidence. Use the Killer-Skills review above as the primary layer for fit, risk, and installation decisions.
Supporting Evidence

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

  • application.yml, application.properties, and profile-specific files.
  • @ConfigurationProperties classes and how they are registered.
  • Environment variable names, Helm values, Config Server or Vault usage, and test overrides.
  • Active profile configuration and profile groups.
  • Any custom converters, property placeholders, or late-bound secret conventions.

Diagnose In This Order

  1. Verify source precedence:
    • default config file
    • profile-specific file
    • environment variables
    • SPRING_APPLICATION_JSON
    • external config systems
  2. Verify prefix mapping and key shape.
  3. Verify constructor binding, defaults, and nullability.
  4. Verify collection, map, nested object, duration, and data-size binding.
  5. Verify profile activation and profile merge behavior.
  6. Verify whether the bug exists only in tests or only in deployment templates.

Kotlin-Safe Modeling Rules

  • Model genuinely required properties as required constructor parameters or validated fields.
  • Use defaults only when the default is semantically safe, not merely convenient.
  • Use nullable only when the application can handle absence explicitly.
  • Keep properties classes small and focused by feature or external dependency.
  • Prefer type-safe wrappers such as Duration, URI, or enums when they clarify the contract.

Advanced Configuration Traps

  • Profile files merge; they do not behave like full replacement documents. Partial overrides can leave stale sibling values in place.
  • Empty string is not the same as missing value. Many runtime failures come from "configured but blank" secrets.
  • Nested objects can be partially bound, which may produce a shape that looks non-null but is still semantically invalid.
  • Environment-variable translation from kebab-case to uppercase underscore is easy to misread, especially for nested maps and lists.
  • ignoreUnknownFields or overly permissive binding can hide deployment drift.
  • A property that fails only in one environment may really be a templating or secret-injection problem, not a Spring binding problem.
  • Test overrides can mask missing production defaults if tests define properties more generously than runtime.
  • Dynamic refresh or cloud config introduces lifecycle questions: startup validation alone may not be enough if config can change after boot.

Spring Config Data Nuances

  • spring.config.import, profile groups, and spring.config.activate.on-profile can reshape the final config graph in ways that are not obvious from file names alone.
  • List replacement and map merge behavior differ. A partial override may replace a whole list while only merging a map subtree.
  • Placeholder resolution timing matters. A property can appear bound yet still fail later if it depends on an unavailable placeholder or secret source.
  • Deprecating or renaming configuration keys is a migration problem. If compatibility matters, plan aliases or a staged rollout instead of a hard rename.
  • Overusing @Profile on beans can make environment behavior harder to reason about than using one typed configuration model with feature flags or explicit toggles.

Expert Heuristics

  • Prefer one typed configuration class per external dependency or feature slice. Giant omnibus config classes become impossible to validate and evolve safely.
  • When the same property is set in several layers, document the intended owner. Hidden "last writer wins" behavior becomes operational debt fast.
  • If a config issue appears only after deploy, compare rendered manifests or effective environment variables before editing Kotlin classes.
  • If startup must fail on bad config, prove that with a test or smoke check. Teams often think they fail fast when they actually fail on first traffic.

Design Rules

  • Validate required configuration at startup whenever possible.
  • Keep secrets out of committed config examples unless obviously fake and explicitly marked.
  • Model profile intent explicitly: local developer convenience, test isolation, operational environments, and feature toggles are different concerns.
  • Prefer one source of truth for a property family. Duplicated definitions across profiles create drift fast.

Output Contract

Return these sections:

  • Binding model: how the properties should be represented in Kotlin.
  • Source precedence: where the effective value should come from.
  • Root cause: exact mismatch in key, type, profile, or source.
  • Minimal fix: the smallest safe file, code, or env change.
  • Startup validation: what must fail fast at boot.
  • Verification: how to prove the resolved config in the target environment.

Guardrails

  • Do not hardcode secrets.
  • Do not default required credentials to empty strings.
  • Do not use nullable everywhere just to make the binder happy.
  • Do not assume profile-specific files replace base config wholesale.
  • Do not fix a binding symptom while ignoring the underlying precedence or environment problem.

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.

相关技能

寻找 configuration-properties-profiles-kotlin-safe 的替代方案 (Alternative) 或可搭配使用的同类 community Skill?探索以下相关开源技能。

查看全部

openclaw-release-maintainer

Logo of openclaw
openclaw

Your own personal AI assistant. Any OS. Any Platform. The lobster way. 🦞

333.8k
0
AI

widget-generator

Logo of f
f

为prompts.chat的信息反馈系统生成可定制的插件小部件

149.6k
0
AI

flags

Logo of vercel
vercel

React 框架

138.4k
0
浏览器

pr-review

Logo of pytorch
pytorch

Python中具有强大GPU加速的张量和动态神经网络

98.6k
0
开发者工具