java/src/main/resources/targets/claude/skills/conditional/dev/x-setup-stack/SKILL.md
Sets up the local development environment including container orchestrator, database, and build tools.
npx skillsauth add edercnj/ia-dev-environment x-setup-stackInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Manage the local development environment lifecycle. Handle starting/stopping the container orchestrator ({{ORCHESTRATOR}}), provisioning the database ({{DB_TYPE}}), building the application, and verifying health checks.
Include this skill when orchestrator is not "none" in the project configuration.
/setup-environment --start -- start orchestrator, build, deploy, and set up networking/setup-environment --stop -- stop services, tear down containers, and clean up/setup-environment --status -- show running services and health check results/setup-environment --build -- rebuild application image and restart services| Parameter | Type | Required | Default | Description |
|-----------|------|----------|---------|-------------|
| --start | Flag | No | false | Start orchestrator, build image, deploy, set up networking |
| --stop | Flag | No | false | Stop services, tear down containers, clean up |
| --status | Flag | No | false | Show running services, pods/containers, health check results |
| --build | Flag | No | false | Rebuild application image and restart services |
Check that required tools are installed:
which or command -v for each required tooldocker info or podman info)--start:
minikube start, docker-compose up -d){{BUILD_COMMAND}}--stop:
--status:
--build:
{{BUILD_COMMAND}}After execution:
--start:
{{BUILD_COMMAND}}docker build -t {{PROJECT_NAME}}:dev .helm upgrade --install {{PROJECT_NAME}} ./chart -f chart/values-dev.yaml --wait --timeout 120skubectl wait --for=condition=ready pod -l app={{PROJECT_NAME}} --timeout=120skubectl port-forward svc/{{PROJECT_NAME}} {{PORT}}:{{PORT}}--stop:
helm uninstall {{PROJECT_NAME}}--build:
helm upgrade {{PROJECT_NAME}} ./chart -f chart/values-dev.yaml --wait--status:
helm list (show installed charts)helm status {{PROJECT_NAME}}kubectl get pods -l app={{PROJECT_NAME}}curl -s http://localhost:{{PORT}}/healthscripts/dev-setup.sh -- Main setup script (if exists)| Scenario | Action |
|----------|--------|
| Orchestrator won't start | Report container runtime not running, suggest starting Docker/Podman first |
| Service CrashLoop | Report application error, suggest checking application logs |
| Image not found | Suggest running with --build flag |
| Port conflict | Report port already in use, suggest stopping conflicting service or changing port |
| Health check timeout | Suggest waiting 30s then checking logs |
| DB connection error | Report database not ready, suggest checking database container logs |
testing
Scaffolds a Helidon SE/MP service with routing, health, config, Dockerfile, and tests.
tools
Generates a Picocli @Command with subcommands, options, converters, and unit tests.
testing
Scaffolds a Micronaut service with @Controller, DI, health, Dockerfile, and tests.
testing
Scaffolds a Helidon SE/MP service with routing, health, config, Dockerfile, and tests.