add-prod-local-profiles

Community

Split dev vs prod config safely.

Authordprice-dev
Version1.0.0
Installs0

System Documentation

What problem does it solve?

It prevents risky configuration defaults from leaking into production by cleanly separating local development visibility from production lockdown behavior for Spring Boot 4 Actuator and SpringDoc.

Core Features & Use Cases

  • Creates a locked-down application-prod.yaml that restricts Actuator to health,info and moves it to a dedicated management port.
  • Generates/updates application-local.yaml to expose all Actuator endpoints and enable Swagger UI/OpenAPI JSON for full local debugging.
  • Hardens the base application.yaml by ensuring show-details is safely set to never at the global level.
  • Activates the two-plane approach where local profile improves developer experience while prod profile reduces operational and information exposure risk.
  • Use case: After scaffolding or adding SpringDoc/Actuator, you want swagger and full actuator details in local only, while production keeps internal details off the public plane and isolates the management port.

Quick Start

Ask the skill to apply the prod/local split for your project by adding application-local.yaml and application-prod.yaml and updating application.yaml accordingly.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: add-prod-local-profiles
Download link: https://github.com/dprice-dev/claude-java-skills/archive/main.zip#add-prod-local-profiles

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.