From configuration-env
Configure applications safely through environment variables, .env files, and repo-owned runtime config such as Wrangler bindings. Use for startup failures, environment drift, or deployment bootstrap.
How this skill is triggered — by the user, by Claude, or both
Slash command
/configuration-env:configuration-envThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
- The server will not start because of missing or invalid configuration.
wrangler.toml, wrangler.json, or wrangler.jsonc, without schema or migration work.security-basics).docker-compose-dev)..env.example or README)..env is used.wrangler.toml, wrangler.json, or wrangler.jsonc..env against .env.example or the repo's config loader, then inspect runtime config files like wrangler.* for missing bindings or drift before starting the service and hitting /health or the closest existing startup check..env, .env.example, and runtime binding files such as wrangler.*./health verification showing the configuration was accepted, or an explicit blocker listing the missing required config.Keep this easy to reach for startup failures, env drift, and deployment/config debugging.
security-basics when the question is primarily about auth, sensitive exposure, or request-handling safety.docker-compose-dev when the blocker is bringing up a multi-service stack rather than validating env loading itself.cloudflare-d1-migrations when the task changes D1 schema, migration files, or schema state rather than only fixing the Worker binding/config contract.rpi-workflow only when configuration work is part of a larger multi-phase change..env file (local developer override).env.example (documentation only — never loaded at runtime)cp .env.example .env # start from the documented template
# edit .env with real values for your environment
Never commit .env. Add it to .gitignore.
Check .env.example or project README for authoritative var names. Common categories:
| Category | Examples |
|---|---|
| Database | DATABASE_URL — connection string |
| Auth | Secret key / bearer token |
| Origins/CORS | ALLOWED_ORIGINS — comma-separated list |
| TLS/Cookies | SECURE_COOKIES, COOKIE_DOMAIN |
| Feature flags | Enable/disable optional subsystems |
Required variables cause startup failure. Optional variables activate features.
.env files.ALLOWED_ORIGINS=* when credentials or cookies are involved — use explicit origins.make build && ./bin/server # or equivalent start command
curl http://localhost:<PORT>/health
A healthy response confirms the configuration was accepted.
.env in production or CIALLOWED_ORIGINS=* with cookie/credential-based auth.env files..env; only .env.example belongs in source.references/examples.md when you need concrete user utterances, expected behaviour, or a model answer shape to mirror.references/edge-cases.md when the request is a near miss, partially matches this skill, or the first attempt fails.scripts/check-config.sh — run with --help for a repeatable environment/configuration check.Creates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.
npx claudepluginhub matt-riley/lucky-hat --plugin configuration-env