- Add 60 new agents across all 10 categories (75 -> 135) - Add 95 new plugins with command files (25 -> 120) - Update all agents to use model: opus - Update README with complete plugin/agent tables - Update marketplace.json with all 120 plugins
1.5 KiB
1.5 KiB
/diff-env - Diff Environment Variables
Compare environment variables between two environments.
Steps
- Ask the user for the two environments to compare (e.g., dev vs staging)
- Load environment variables from both sources (.env files, vault, cloud config)
- Create a unified list of all variables across both environments
- Categorize each variable: present in both, only in source, only in target
- For variables present in both, compare values (without showing secret values)
- Identify value mismatches: different URLs, ports, feature flags
- Flag variables that are empty or have placeholder values
- Check for variables that should differ (DATABASE_URL) vs should match (API_VERSION)
- Generate a diff table: variable name, source value, target value, status
- Highlight security concerns: secrets in plaintext, default credentials
- Suggest which missing variables need to be added to which environment
- 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