Skip to content
Development
Command

/diff-env

Compare environment variables between two environments.

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

diff-env.md

/diff-env - Diff Environment Variables

Compare environment variables between two environments.

Steps

1. Ask the user for the two environments to compare (e.g., dev vs staging) 2. Load environment variables from both sources (.env files, vault, cloud config) 3. Create a unified list of all variables across both environments 4. Categorize each variable: present in both, only in source, only in target 5. For variables present in both, compare values (without showing secret values) 6. Identify value mismatches: different URLs, ports, feature flags 7. Flag variables that are empty or have placeholder values 8. Check for variables that should differ (DATABASE_URL) vs should match (API_VERSION) 9. Generate a diff table: variable name, source value, target value, status 10. Highlight security concerns: secrets in plaintext, default credentials 11. Suggest which missing variables need to be added to which environment 12. Save the diff report for reference

Rules

  • Never display the actual values of secret variables (mask with ****)
  • Identify secrets by naming patterns: *_KEY, *_SECRET, *_PASSWORD, *_TOKEN
  • Show whether values match without revealing the actual values for sensitive vars
  • Flag environment-specific variables that accidentally have the same value
  • Detect URL differences that indicate wrong environment configuration
  • Report variables that exist in code but are missing from both environments
  • Include the diff timestamp and environments compared in the report
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