/env-setup
Set up environment configuration files from templates with validation.
$ npx -y skills add rohitg00/awesome-claude-code-toolkit --agent claude-codeHow it fires
How this command gets triggered: by you, by Claude, or both.
- Fires itselfClaude auto-loads it when your prompt matches the work.
- You can call itInvoke it directly when you want it.
- Slash command
/env-setup
Context preview
What this command does when you run it.
Set up environment configuration files from templates with validation.
Command definition
env-setup.mdSet up environment configuration files from templates with validation.
Steps
1. Scan for environment template files: `.env.example`, `.env.template`, `.env.sample`. 2. If no template exists, analyze the codebase for environment variable usage:
- Search for `process.env.`, `os.environ`, `env::var`, `os.Getenv` patterns.
- Extract all referenced variable names.
3. Generate `.env.example` with all required variables:
- Group by category (database, API keys, feature flags, etc.).
- Add descriptions as comments.
- Include sensible defaults for non-sensitive values.
- Mark required vs optional variables.
4. If `.env` does not exist, create it from the template:
- Copy `.env.example` to `.env`.
- Prompt for values of required variables without defaults.
5. Verify `.env` is in `.gitignore`. 6. Generate a TypeScript/Python config module that validates env vars at startup.
Format
# Database Configuration
DATABASE_URL=postgresql://localhost:5432/myapp # Required
DATABASE_POOL_SIZE=10 # Optional, default: 10
# API Keys
API_KEY= # Required, no default
Rules
- Never commit `.env` files; always verify `.gitignore` includes them.
- Always provide an `.env.example` with placeholder values, never real credentials.
- Mark each variable as required or optional with clear comments.
- Generate runtime validation that fails fast on missing required variables.
- Use consistent naming: UPPER_SNAKE_CASE with logical prefixes.
Read more
Set up environment configuration files from templates with validation.
Steps
1. Scan for environment template files: `.env.example`, `.env.template`, `.env.sample`. 2. If no template exists, analyze the codebase for environment variable usage:
- Search for `process.env.`, `os.environ`, `env::var`, `os.Getenv` patterns.
- Extract all referenced variable names.
3. Generate `.env.example` with all required variables:
- Group by category (database, API keys, feature flags, etc.).
- Add descriptions as comments.
- Include sensible defaults for non-sensitive values.
- Mark required vs optional variables.
4. If `.env` does not exist, create it from the template:
- Copy `.env.example` to `.env`.
- Prompt for values of required variables without defaults.
5. Verify `.env` is in `.gitignore`. 6. Generate a TypeScript/Python config module that validates env vars at startup.
Format
# Database Configuration DATABASE_URL=postgresql://localhost:5432/myapp # Required DATABASE_POOL_SIZE=10 # Optional, default: 10 # API Keys API_KEY= # Required, no default
Rules
- Never commit `.env` files; always verify `.gitignore` includes them.
- Always provide an `.env.example` with placeholder values, never real credentials.
- Mark each variable as required or optional with clear comments.
- Generate runtime validation that fails fast on missing required variables.
- Use consistent naming: UPPER_SNAKE_CASE with logical prefixes.
The most comprehensive toolkit for Claude Code -- 135 agents, 35 curated skills (+400,000 via SkillKit), 42 commands, 176+ plugins, 20 hooks, 15 rules, 7 templates, 15 MCP configs, 26 companion apps, 53 ecosystem entries, and more.
Repo: rohitg00/awesome-claude-code-toolkit
Other commands on rohitg00-claude-code-toolkit.
- /adr
Write an Architecture Decision Record documenting a significant technical decision.
Open command - /design-review
Conduct a structured design review of a module, feature, or system component.
Open command - /diagram
Generate Mermaid diagrams from codebase analysis or description.
Open command - /migrate
Plan and execute a framework or library migration incrementally.
Open command - /plan
Create a structured implementation plan for the requested feature or change.
Open command - /refactor
Perform a systematic refactoring of the specified code area.
Open command

