Help us improve
Share bugs, ideas, or general feedback.
Share bugs, ideas, or general feedback.
Share bugs, ideas, or general feedback.
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.
npx claudepluginhub thearchitectit/agent-guardrails-templateMathematical 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
Share bugs, ideas, or general feedback.
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge.
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge.
Sign in to claimBased on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
Achieve flow state safely with Claude Code. Auto-approves routine work, gates risky actions, hard-blocks dangerous patterns. Dual enforcement (skill + hooks), token cap for cost governance, full audit trail. Zero dependencies.
HelloAGENTS — The orchestration kernel that makes any AI CLI smarter. Adds intelligent routing, quality verification (Ralph Loop), safety guards, and notifications.
Harness for Claude Code — skills, /harness:* slash commands, persona subagents, lifecycle hooks, and MCP tools without per-repo `harness setup`. Sibling plugins exist for Cursor, Gemini CLI, and Codex.
Makes a repo agent-ready: AGENTS.md, boundary tests, CI pipeline, GC scripts — based on OpenAI's harness engineering methodology
LLM-powered guardrails for Claude Code. Turn every AI mistake into a rule AI can't repeat.
Analyze and enforce best practices for AI coding agent projects. Assess codebase readiness across 8 pillars with /readiness, then scaffold enforcement with /setup: TDD, secret scanning, file size limits, auto-generated docs, and git hooks.
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 |