Enforce safety guardrails for AI-assisted development: validate git commits, separate environments, prevent scope creep, halt on repeated failures, and apply safety laws to prevent bugs and security issues.
Mathematical correctness, asset safety, shader constraints, and Godot/Unity conventions for 3D game code
Validates git commits follow COMMIT_WORKFLOW.md standards
Enforces strict separation between test and production environments
How to recover from failures without making things worse
Mandatory and non-negotiable safety laws for all AI agent operations
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimBased on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
AI-first safety framework for agents building software at high velocity. Guardrails don't slow you down — they're your license to move fast.
The Agent Guardrails Template is a production-grade operating system for AI-assisted development. It turns "vibe coding" chaos into shipping software — giving AI agents explicit boundaries so they spend 100% of their context window on building, not on safety-checking.
| Capability | What It Does |
|---|---|
| Real-Time Guardrail Enforcement | Go MCP server validates every bash command, file edit, git operation, and commit before execution |
| Multi-Agent Orchestration | 10-part AI-Powered Development 2026 guide covering MoA (Mixture of Agents), swarm intelligence, and autonomous tool use |
| Skills Architecture | One canonical skill definition (skills/<id>/SKILL.md) generates native formats for Claude Code, Cursor, OpenCode, Windsurf, Copilot, OpenClaw — no duplication drift |
| 3D Game Development Suite | Engine-agnostic guardrails (Godot, Unity, Unreal), XR/VR/AR comfort zones, mathematical foundations, AI-debuggable architecture |
| Token-Efficient Documentation | 68+ modular docs (500-line max), INDEX_MAP keyword lookup, HEADER_MAP section navigation, .claudeignore for context savings |
| Production Infrastructure | PostgreSQL 16 + Redis 7, CI/CD validation, secret scanning, regression prevention, test/production separation |
| 14 Language Examples | Go, Rust, TypeScript, Python, Java, GDScript, Scala, R, C#, C++, PHP, Ruby, Swift, Dart/Flutter |
| Ethical & Accessible by Default | WCAG 3.0+ Silver compliance, dark pattern prevention, XR comfort zones, monetization ethics, multiplayer safety |
Without guardrails, agents waste tokens on safety verification: "Is this file safe to edit? Will this break something? Should I ask first?" This constant self-checking burns context and slows output.
With guardrails, agents know the boundaries upfront. They spend tokens on building, not on doubt. The result: faster iteration, fewer rollbacks, and code that ships with confidence.
Think of guardrails like lane markers on a highway — they don't slow you down. They're the reason you can drive at full speed.
# Clone the template
git clone https://github.com/TheArchitectit/agent-guardrails-template.git
cd agent-guardrails-template
Then see QUICK_SETUP.md for the 5-minute setup, or HOW_TO_APPLY.md to apply guardrails to an existing repo.
| Document | Purpose |
|---|---|
| AGENT_GUARDRAILS.md | The Four Laws, forbidden actions, halt conditions |
| TEST_PRODUCTION_SEPARATION.md | Mandatory test/production isolation |
| four-laws | Canonical Four Laws prompt |
| halt-conditions | When to stop and ask |
| Document | Purpose |
|---|---|
| AI_ASSISTED_DEV.md | Vibe coding workflow, decision matrix (ask/decide/halt), design-intent preservation |
| STATE_MANAGEMENT.md | State architecture decision tree, client/server/offline/CRDT patterns |
| GENERATIVE_ASSET_SAFETY.md | AI content disclosure, C2PA metadata, procedural generation safety |
| vibe-coding | Canonical vibe coding principles |
npx claudepluginhub thearchitectit/agent-guardrails-templateGoPlus AgentGuard — AI agent security guard. Blocks dangerous commands, prevents data leaks, protects secrets. 20 detection rules, runtime action evaluation, trust registry.
One 👎 becomes a hard rule the agent cannot bypass. Captures thumbs-down feedback, distills it into PreToolUse Pre-Action Checks, enforced across every future Claude Code session.
Risk-graded context engineering for AI-assisted software work — a catalog of agent skills, paste-ready command prompts, and change-record templates that keep agent work questioned, controlled, and reviewable.
LLM-powered guardrails for Claude Code. Turn every AI mistake into a rule AI can't repeat.
Makes a repo agent-ready: AGENTS.md, boundary tests, CI pipeline, GC scripts — based on OpenAI's harness engineering methodology
5 essential safety hooks for Claude Code. Blocks rm -rf, force-push, hard-reset, .env overwrites, and package publish. The minimum viable safety net from 800+ hours of autonomous operation.