bootstrap-check
Installation
SKILL.md
Bootstrap Check (Symfony)
Use when
- Starting work on an unfamiliar or freshly cloned Symfony project.
- The application fails to boot, the container does not compile, or routes are missing.
- Checking
.env,config/packages/*, Doctrine, API Platform or Messenger setup before a change.
Default workflow
- Confirm
.envexists and definesAPP_SECRET,DATABASE_URLand the variables the bundles need. - Confirm
vendor/is installed andbin/console aboutruns. - Compile the container (
cache:clear) and list services and routes. - Check the database connection and that the schema matches the mappings.
- Check the optional stacks present: API Platform resources, Messenger transports.
Guardrails
- Read only: report what is missing, do not rewrite configuration while checking.
- Never print secret values from
.envor the vault. - Prefer ACLs or the correct user over
chmod 777for cache permission issues. - Run Doctrine checks against a development database, never production.