lv-262/security-agents-bundle/deploy-block
Claude Code and agent skill by lv-262/security-agents-bundle
- community
Checking that the SKILL.md file is still in the repository.
Blocks production deploy and release commands in agent sessions. A PreToolUse guard so agents open PRs and humans promote to production. Stops direct deploys, publishes, and releases before they run. Use in any session where an agent has shell access.
Install
npx vskill@latest install lv-262/security-agents-bundle/deploy-blockSKILL.md
The same SKILL.md was published earlier as lv-262/security-agents-bundle/deploy-block.
Deploy Block
Agents build and open PRs. Humans promote to production. This guard enforces that split by blocking the commands that ship, before they run.
What it blocks
- Platform deploys:
vercel --prod,netlify deploy --prod,fly deploy,railway up,heroku. - Cloud CLIs against prod:
gcloud app deploy,awsdeploy/update,kubectl apply/helmon a prod context. - Infra apply:
terraform apply,pulumi up,cdk deploy. - Package publishes:
npm publish,cargo publish,pip upload/twine upload. - Releases:
gh release create,docker pushto a release registry.
Blocking returns a message naming the command and pointing at the PR-and-promote path, so the agent routes the work to a human instead of shipping.
Wiring it
Register a PreToolUse hook on Bash that matches the release patterns and exits non-zero to block. Sketch:
The check tests the proposed command against the release patterns and exits non-zero with a reason. Provide an explicit escape hatch (an env flag) for the rare authorized case, so the block is deliberate to bypass, not accidental to hit.
Tuning
- Match your real deploy tooling; add the commands your stack actually uses.
- Distinguish preview from production where the CLI does: block
--prod, allow preview deploys. - Pair with safety-guard for destructive shell actions.
Boundaries
- This guards deploy and release commands. Destructive shell actions (deletes, disk writes) belong to
safety-guard. - The guard enforces the workflow; it does not judge whether a release is ready. That stays a human call.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/deploy-block/SKILL.md
Popularity
- 7-day trend score
- 5
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/lv-262/security-agents-bundle/deploy-block)