Skip to content
Development
Command

/sync-env

Synchronize environment variables across development, staging, and production.

From plugin
rohitg00-claude-code-toolkit
2.8k199 skills138 agents199 commands
$ npx -y skills add rohitg00/awesome-claude-code-toolkit --agent claude-code

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
@rohitg00
Ships withrohitg00-claude-code-toolkit

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.

2.8k40 skills138 agents
Get the whole plugin

Stars on GitHub

Momentum

stars in total
2.8k
Star history of rohitg00/awesome-claude-code-toolkit on GitHub, a chart by star-history.com

Other commands on rohitg00-claude-code-toolkit.

More commands from other plugins.

build
Auto-invoked

build

Command

Implement tasks incrementally — build, test, verify, commit. Add "auto" to run the whole plan in one approved pass.

@addyosmani@addyosmaniInstall Command