This is about formalizing required secrets for dev.
Many repos have a ".env.sample", which is better than nothing - you copy it to .env and fill in the blanks.
If this is done automatically, even better.
If the automatic .env setup also loads secrets from your password manager (with prompting), even better.