Laravel Config Env Safety

This skill should be used when the agent calls env(), edits files under config/, touches .env or .env.example, writes deploy or Dockerfile steps, or suggests config:cache, config:clear, optimize, optimize:clear, route:cache, or view:cache. Trigger on any new configuration value, on reading a secret or API key, on APP_DEBUG / APP_ENV / APP_KEY / APP_URL changes, on closures or dynamic values placed inside config files, and on service-provider or middleware code that reads configuration. Also load when the user mentions "env", "environment variable", "config cache", "works locally but not in production", "returns null in production", "APP_KEY", "APP_DEBUG", "secrets", "dotenv", or "deploy script".

shaxzodbek-uzb Updated

File contents

shaxzodbek-uzb/laravel-guardrails/tree/main/skills/laravel-config-env-safety commit a88df513ee

Frequently asked questions

npx skillmds@latest add shaxzodbek-uzb/laravel-config-env-safety