Agentic Guardrails — AI skill for Claude Code
Modular markdown workflow templates to keep AI coding agents from shipping sloppy code.
How to install Agentic Guardrails
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open dkneeland/agentic-guardrails and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Agentic Guardrails does
Modular markdown workflow templates to keep AI coding agents from shipping sloppy code. Catch defensive over-engineering, redundant logic, and "AI slop" before they hit your commit history. Works with Opencode, Cursor, Claude Code, Aider, and any agent. Includes hardening, consolidation, slop-removal, and quality-gated commit workflows.
Alternatives in AI
- macOS App Skills — AI coding agent skills for building, shipping, and maintaining native macOS apps 657 ★
- Coding Agent Account Manager — Sub-100ms auth switching for AI coding CLIs (Claude Code, Codex, Gemini): swap subscription accounts instantly 111 ★
- Modular Context Obsidian Plugin — Modular Context Karpathy LLM Knowledge Base + Gmail & G-Cal — multi-account MCP server for Claude Code, encryp 96 ★
README
Agentic Guardrails
Reusable workflow templates that keep AI coding agents from shipping sloppy code.
These are markdown-based instructions that any AI coding agent can follow — [Cursor](https://cursor.com), [Claude Code](https://docs.anthropic.com/en/docs/claude-code), [opencode](https://opencode.ai), [Aider](https://aider.chat), [Gemini CLI](https://github.com/google-gemini/gemini-cli), or anything else that reads markdown.
The Problem
AI coding agents are remarkably productive. They're also remarkably consistent at generating specific categories of bad code:
- Unnecessary comments —
# increment counterabovecounter += 1 - Defensive over-engineering — try/except blocks catching exceptions that can't be raised
- Gratuitous abstraction —
AbstractFooFactorywith one concrete implementation - Phantom error handling — catching
TypeError, ValueError, KeyErrorwhen onlyKeyErroris possible - Docstring regurgitation — restating the function name and parameter types without adding insight
- Over-parameterization —
do_logging=True, validate=True, use_cache=Trueflag soup - Type assertion hacks —
cast(Any, ...)and# type: ignoreto paper over type issues - Dead code — commented-out blocks, unused imports, unreachable branches
- Duplicate functions — re-inventing helpers that already exist in the codebase, session after session
- Inconsistent style — new code that doesn't match the patterns of the surrounding file
These aren't bugs. They pass tests. They pass linters. But they accumulate into a codebase that's harder to read, harder to maintain, and increasingly full of noise. Every session with an AI agent leaves a little residue.
**Agentic Guardrails** is a set of four workflow files that catch these problems before they hit your commit history.
The Workflows
Four markdown files, designed to be run in sequence. Each focuses on exactly one concern.
| Workflow | Focus | Key Action | |----------|------
Related Skills
GravityGuard
Deterministic guardrails for AI coding agents (Claude Code, Antigravity): blocks leaked secrets, silenced test
Visual Design Kit
A modular design toolkit for AI-assisted brand, web, UX, display and motion projects. Skills, workflows, templ
Agent Skills Engine
Centralized library of modular, deterministic AI agent skills (SKILL.md) with bidirectional hub-and-spoke sync
AI Slop Skill
Catch and fix AI slop in any prose; specific focus on empirical software engineering papers.
AI Slop Checks
Checklists and skills for Claude Code and Codex that catch AI slop in copy and web design
Overscope
Catch AI coding-agent scope creep before you commit. Overscope compares Claude Code and Codex sessions with yo
Related Agents
Slop Detector
Adversarial generic-design hunt with fresh context — finds structural, component, visual, copy, interaction, a
Agentic AI Dev
Expert Agentic AI developer with Python 3.14, LangChain v1.2.8, LangGraph v1.0.7, and FastAPI 0.135.2. Use for
Text Slop Cleaner
This agent should be invoked to remove machine sounding text and unnecessary comments. This includes rewriting