Phase 1b: Rename all ~94 commands across 12 plugins to /<noun> <action> sub-command pattern. Git-flow consolidated from 8→5 commands (commit variants absorbed into --push/--merge/--sync flags). Dispatch files, name: frontmatter, and cross-reference updates for all plugins. Phase 2: Design documents for 8 new plugins in docs/designs/. Phase 3: Scaffold 8 new plugins — saas-api-platform, saas-db-migrate, saas-react-platform, saas-test-pilot, data-seed, ops-release-manager, ops-deploy-pipeline, debug-mcp. Each with plugin.json, commands, agents, skills, README, and claude-md-integration. Marketplace grows from 12→20. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2.5 KiB
2.5 KiB
name, description
| name | description |
|---|---|
| deploy env | Manage environment-specific configuration files for deployments |
/deploy env
Create and manage environment-specific configuration files.
Skills to Load
skills/visual-header.mdskills/env-management.md
Agent
Delegate to agents/deploy-planner.md.
Usage
/deploy env [--action=<create|diff|sync|list>] [--env=<development|staging|production>]
Actions:
create- Create a new environment config from .env.example (default)diff- Show differences between environment configssync- Sync missing keys from .env.example to all environmentslist- List all environment files and their variable counts
Instructions
Execute skills/visual-header.md with context "Environment Management".
Action: create
- Check
.env.exampleexists as the source template - If missing, scan
docker-compose.ymlfor referenced${VARIABLES}and create.env.example - Ask user which environment to create (development, staging, production)
- Copy
.env.exampleto.env.<environment> - For production, flag variables that need real values (API keys, passwords)
- For development, suggest sensible defaults (localhost URLs, debug=true)
- Warn user to never commit
.env.productionto version control - Verify
.gitignoreincludes.env.productionand.env.staging
Action: diff
- Read all
.env.*files in the project - Compare variable names across environments
- Report:
- Variables present in one environment but not others
- Variables with identical values across environments (potential issue)
- Variables in docker-compose but missing from all env files
- Display as a comparison table
Action: sync
- Read
.env.exampleas the canonical list of variables - For each
.env.<environment>file:- Identify missing variables
- Append missing variables with placeholder values
- Report what was added
- Do NOT modify existing values
Action: list
- List all
.env*files in the project - For each file, show:
- Variable count
- Last modified date
- Whether all docker-compose referenced variables are present
Output Format
## Environment Files
| File | Variables | Coverage | Status |
|------|-----------|----------|--------|
| .env.example | 12 | 100% | Template |
| .env.development | 12 | 100% | OK |
| .env.production | 10 | 83% | Missing 2 vars |
### Missing in .env.production
- DATABASE_URL (referenced in docker-compose.yml:15)
- REDIS_PASSWORD (referenced in docker-compose.yml:28)
User Request
$ARGUMENTS