Production safety guardrails for Claude Code
npx claudepluginhub matanryngler/deployshieldProduction safety guardrails that block write/mutating operations on cloud, database, IaC, and deployment CLIs.
DeployShield is a cross-platform production safety guardrail for Claude Code and Gemini CLI. It intercepts terminal commands before execution and blocks dangerous operations (writes, deletes, etc.) while allowing read-only commands to pass through.
Large Language Models (LLMs) are incredibly capable but can accidentally execute destructive commands in production environments. DeployShield provides a deterministic safety layer that doesn't rely on probabilistic model instructions.
sudo, and bash -c.production while allowing them in dev.| Category | Guarded CLIs |
|---|---|
| ☁️ Cloud | aws, gcloud, az, kubectl, helm |
| 🗄️ Databases | psql, mysql, mongosh, redis-cli |
| 🏗️ IaC | terraform, pulumi, cdk, sam, serverless (sls), ansible-playbook |
| 📦 Publishing | npm, yarn, pnpm, cargo, twine, gem |
| 🔧 Other | vault, gh, docker, podman |
/plugin marketplace add matanryngler/deployshield
/plugin install deployshield
gemini extensions install https://github.com/matanryngler/deployshield
By default, DeployShield blocks ALL write operations. Create a .deployshield.json file to allow writes in non-production contexts.
.deployshield.json to your project repository to ensure that every developer follows the same safety standards.{
"kubectl": ["prod-cluster", "production", "prod-*"],
"aws": ["production-profile"],
"terraform": ["prod-workspace"]
}
For detailed configuration options, see the Configuration Guide.
DeployShield provides deep protection that handles common bypass attempts:
echo $(terraform destroy) → Blockedsudo kubectl delete ... → Blockedecho pod-id | xargs kubectl delete pod → Blockedbash -c "aws s3 rm ..." → Blockedcat <(pulumi destroy) → BlockedThis project uses uv for dependency management and pre-commit for quality control.
To understand how DeployShield works under the hood, check the Internals Guide.
# Run tests
uv run pytest -v
# Install pre-commit hooks
uv run pre-commit install
MIT
Claude Code marketplace entries for the plugin-safe Antigravity Awesome Skills library and its compatible editorial bundles.
Directory of popular Claude Code extensions including development tools, productivity plugins, and MCP integrations
Curated collection of 154 specialized Claude Code subagents organized into 10 focused categories