Skip to content
Development
Skill

/config-env-parameters

Manage Symfony configuration with .env files, parameters, secrets vault, and environment-specific settings

From plugin
superpowers-symfony
23344 skills14 agents13 commands1 hook

Claude Code

$ npx -y skills add dev-toolings/superpowers-symfony --skill config-env-parameters --agent claude-code

SKILL.md

config-env-parameters.SKILL.md
name: config-env-parameters
description: Manage Symfony configuration with .env files, parameters, secrets vault, and environment-specific settings
capabilities: [read, search, edit, shell]
tags: [architecture, config]
# projected by `bun run build` — do not edit by hand
allowed-tools:
  - Read
  - Glob
  - Grep
  - Write
  - Edit
  - Bash

Config Env Parameters (Symfony)

Use when

  • Adding or changing an environment variable, a parameter, or a secret.
  • A value differs between environments (dev, test, prod).
  • Casting or parsing env values (`int:`, `bool:`, `json:`, `csv:`, `file:`).
  • Storing credentials in the Symfony secrets vault.

Default workflow

1. Decide where the value lives: `.env` default, `.env.local`, real environment, or the vault for secrets. 2. Declare it with a safe committed default, never a real credential. 3. Inject it with `%env(...)%` and the right processor, through a parameter or `#[Autowire]`. 4. Put environment-specific settings in `config/packages/<env>/` or `when@<env>` blocks. 5. Fail fast in the service when a required value is empty.

Guardrails

  • Never commit `.env.local`, `.env.*.local` or the vault decryption key.
  • In production, set variables in the server or container environment, not in files.
  • Env values are strings until processed: cast them, do not compare `"false"` to `false`.
  • Remember the loading order: `.env`, `.env.local` (skipped in test), `.env.<env>`, `.env.<env>.local`.

Progressive disclosure

  • Use this file for execution posture and risk controls.
  • Open references when deep implementation details are needed.

Output contract

  • Where each new value is defined, per environment.
  • The injection point and the processor used.
  • Secrets added to the vault, named but never printed.

References

  • `reference.md`
Read more
@dev-toolings
Ships withsuperpowers-symfony

Superpowers Symfony gives coding agents deep, version-accurate Symfony expertise: from Doctrine schema design and API Platform REST/GraphQL APIs to test-driven development, async Messenger workflows, caching, rate limiting, and clean architecture.

23344 skills14 agents
Get the whole plugin

Stars on GitHub

Momentum

stars in total
233
Star history of dev-toolings/superpowers-symfony on GitHub, a chart by star-history.com

Other skills on superpowers-symfony.

More skills from other plugins.

brainstorming
Auto-invoked

brainstorming

You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…

@obra@obraInstall Skill
ask-matt

ask-matt

Ask which skill or flow fits your situation. A router over the skills in this repo.

skills2w309k
@mattpocock@mattpocockInstall Skill
accessibility
Auto-invoked

accessibility

Design, implement, and audit accessible UI to WCAG 2.2 Level AA across Web, iOS, and Android — semantic ARIA roles and labels,…

ecc2w293k
@affaan-m@affaan-mInstall Skill
compiler-commit

compiler-commit

Use when you want to verify compiler changes and commit with the correct convention. Runs tests, lint, and format, then commits…

react5d252k
@facebook@facebookInstall Skill

Questions about config-env-parameters.

Which coding agents can use config-env-parameters?
config-env-parameters installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.