A universal behavior and guardrail layer for AI coding agents that enforces engineering discipline, prevents scope creep, and guarantees production-viable code quality.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install dev-guardrails
Copy the skill folder to one of these locations
~/.openclaw/skills/ <project>/skills/ Priority: Workspace > Local > Bundled
Copy this prompt to OpenClaw to install it automatically.
Help me install dev-guardrails using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
Dev Guardrails is a critical behavioral and constraint layer designed for AI coding assistants like Claude Code, Codex, and Gemini CLI. Acting as a Senior Principal Engineer with a conscience, this skill establishes a robust, multi-layered defense mechanism to prevent blind compliance, hallucinations, code degradation, and out-of-control scope creep during development sessions.
By integrating this tool into your Openclaw Skills workspace, you elevate your AI agents from simple code generators into disciplined, self-monitoring software engineers. The system maintains a dynamic Project Contract, tracks cumulative changes via a Scope Dashboard, runs automated regression/iteration gates, and enforces strict quality audits to ensure every line of code generated is production-ready, secure, and aligned with your design architecture.
To deploy Dev Guardrails within your Openclaw Skills ecosystem, configure your workspace directory to include the behavioral configuration and boundary rules:
mkdir -p .claw/skills/dev-guardrails
cp SKILL.md .claw/skills/dev-guardrails/
mkdir -p .claw/references
cat << 'EOF' > .claw/references/boundaries.md
# Capability Boundaries
| Within Capability | Refuse/Red Line |
|---|---|
| Lightweight IM (<10k users) | Nation-scale platforms |
| Regional e-commerce | Database kernels / OS |
| Enterprise RAG + AI | General LLM training |
EOF
This skill maintains a series of mental registers and file-change audits to track development consistency across multi-turn sessions. The system organizes its data and telemetry as follows:
| Registry Name | Structure | Tracking Strategy |
|---|---|---|
| Project Contract | Scope, Architecture, Exclusions, Constraints, Milestones | Frozen upon initial confirmation (Principle 5) |
| Scope Dashboard | Cumulative additions (%), total feature count, architecture drift | Updated after each completed task request |
| Churn Tracker | Initial direction, log of direction changes, wasted LOC / turns | Incremented upon each architectural or focus shift |
| Guardrail Activity Log | Turn number, layer triggered, violation type, resolution outcome | Append-only log for cross-layer audit trails |
The system maintains a strict mapping of session file diffs:
src/path/file.ext -> Classed as REQUESTED or NOT REQUESTED (triggers SF-L1 to SF-L4 audits to prevent over-engineering)tests/path/test.ext -> Evaluated via the Regression Gate and Necessity Test to isolate side-effectsLoading
An executable toolkit modeled on Rick Rubin's creative philosophy to help creators overcome blocks, tune into inspiration, and cultivate a creative mindset.

An executable AI-driven toolkit based on Twyla Tharp's philosophy to transform creativity from a mystical whim into a repeatable daily discipline.

A portable, deterministic health checking framework to audit OpenClaw scheduled tasks and system crons safely without modifying system states.

An executable crowd psychology agent skill based on Gustave Le Bon's classic study, designed to analyze group behavior, collective dynamics, and leader influence.

An OpenClaw workflow skill that enables AI agents to coordinate screen captures, OCR, screen recordings, and annotations using the CleanShot Tool plugin.

An opinionated tool designed to audit, polish, and optimize existing AI agent SKILL.md files against the agentskills.io standard.








































