convex-delete-deployments
3
总安装量
3
周安装量
#58410
全站排名
安装命令
npx skills add https://github.com/anand-testcompare/scripts-prompts-config --skill convex-delete-deployments
Agent 安装分布
amp
3
github-copilot
3
codex
3
kimi-cli
3
gemini-cli
3
opencode
3
Skill 文档
Convex Delete Deployments
Use this skill to list and bulk-delete Convex deployments via the Convex management API.
Workflow
- Run dry-run first.
- Review candidates.
- Re-run with
--applyafter confirmation.
Command
python3 .agents/skills/convex-delete-deployments/scripts/delete_deployments.py \
--team <team-slug> \
--project <project-slug>
Default behavior is safe:
- Dry-run only unless
--applyis passed. - Targets only
previewdeployments unless--typeis provided. - Never deletes
devorprodunless explicitly allowed.
Common Usage
Delete all preview deployments (recommended flow):
python3 .agents/skills/convex-delete-deployments/scripts/delete_deployments.py \
--team <team-slug> \
--project <project-slug>
python3 .agents/skills/convex-delete-deployments/scripts/delete_deployments.py \
--team <team-slug> \
--project <project-slug> \
--apply
Delete only specific names:
python3 .agents/skills/convex-delete-deployments/scripts/delete_deployments.py \
--team <team-slug> \
--project <project-slug> \
--name foo-preview-1 \
--name foo-preview-2 \
--apply --yes
Regex filter and exclusions:
python3 .agents/skills/convex-delete-deployments/scripts/delete_deployments.py \
--team <team-slug> \
--project <project-slug> \
--match '^feature-' \
--exclude feature-keep-me
Safety Rules
- Keep
--type previewas default for routine cleanup. - Use
--include-devonly when intentionally rotating dev deployments. - Use
--include-prodonly for explicit teardown workflows. - Always inspect dry-run output before
--apply --yes.
Inputs
Token resolution order:
--tokenCONVEX_ACCESS_TOKEN~/.convex/config.json(accessToken)
Team/project resolution order:
--team/--projectCONVEX_TEAM/CONVEX_PROJECT