/sync-env
Synchronize environment variables across development, staging, and production.
$ 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
/sync-env
Context preview
What this command does when you run it.
Synchronize environment variables across development, staging, and production.
Command definition
sync-env.md/sync-env - Sync Environment Variables
Synchronize environment variables across development, staging, and production.
Steps
1. Read the current .env file and .env.example for the project 2. Identify all environment variables used in the codebase (process.env, os.environ) 3. Compare variables across environments: development, staging, production 4. Identify missing variables in each environment 5. Identify variables present in code but missing from all .env files 6. Detect variables in .env files that are no longer used in code 7. Verify variable naming conventions are consistent (UPPER_SNAKE_CASE) 8. Check for sensitive variables that should use secrets management 9. Generate an updated .env.example with all required variables and descriptions 10. Sync missing variables to target environments (with placeholder values for secrets) 11. Report: variables added, removed, mismatched across environments 12. Update documentation with the current environment variable inventory
Rules
- Never copy secret values between environments; use placeholders
- Always update .env.example when adding new variables
- Do not commit .env files to version control; verify .gitignore includes them
- Flag variables with default values that look like real credentials
- Group related variables together in .env files (database, API keys, feature flags)
- Validate variable values against expected formats (URLs, numbers, booleans)
- Include comments in .env.example explaining each variable's purpose
Read more
/sync-env - Sync Environment Variables
Synchronize environment variables across development, staging, and production.
Steps
1. Read the current .env file and .env.example for the project 2. Identify all environment variables used in the codebase (process.env, os.environ) 3. Compare variables across environments: development, staging, production 4. Identify missing variables in each environment 5. Identify variables present in code but missing from all .env files 6. Detect variables in .env files that are no longer used in code 7. Verify variable naming conventions are consistent (UPPER_SNAKE_CASE) 8. Check for sensitive variables that should use secrets management 9. Generate an updated .env.example with all required variables and descriptions 10. Sync missing variables to target environments (with placeholder values for secrets) 11. Report: variables added, removed, mismatched across environments 12. Update documentation with the current environment variable inventory
Rules
- Never copy secret values between environments; use placeholders
- Always update .env.example when adding new variables
- Do not commit .env files to version control; verify .gitignore includes them
- Flag variables with default values that look like real credentials
- Group related variables together in .env files (database, API keys, feature flags)
- Validate variable values against expected formats (URLs, numbers, booleans)
- Include comments in .env.example explaining each variable's purpose
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

