·guardrail
</>

guardrail

Generate custom lint rules from architectural patterns. ESLint local plugins (JS/TS) or ast-grep YAML rules (Python/Go/Rust/any). Invoke when: codifying an import boundary, enforcing API conventions, blocking deprecated patterns, or any "always/never" constraint.

8Installs·0Trend·@phrazzld

Installation

$npx skills add https://github.com/phrazzld/claude-config --skill guardrail

How to Install guardrail

Quickly install guardrail AI skill to your development environment via command line

  1. Open Terminal: Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.)
  2. Run Installation Command: Copy and run this command: npx skills add https://github.com/phrazzld/claude-config --skill guardrail
  3. Verify Installation: Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code, Cursor, or OpenClaw

Source: phrazzld/claude-config.

SKILL.md

View raw

Generate custom lint rules that enforce architectural decisions at edit time.

Lint rules are the highest-leverage codification target. They're cheaper than hooks (no custom Python), more durable than CLAUDE.md (automated, not advisory), and work in CI too (not just Claude Code). A lint rule catches violations the moment code is written — and fast-feedback.py surfaces the error immediately so Claude self-corrects.

| Language | JS/TS only | Any (Python, Go, Rust, etc.) | | Fixable | Yes (auto-fix) | Yes (rewrite) | | Testing | RuleTester built-in | YAML snapshot tests | | Config | Flat config plugin | sgconfig.yml | | Speed | Fast | Very fast |

Generate custom lint rules from architectural patterns. ESLint local plugins (JS/TS) or ast-grep YAML rules (Python/Go/Rust/any). Invoke when: codifying an import boundary, enforcing API conventions, blocking deprecated patterns, or any "always/never" constraint. Source: phrazzld/claude-config.

Facts (cite-ready)

Stable fields and commands for AI/search citations.

Install command
npx skills add https://github.com/phrazzld/claude-config --skill guardrail
Category
</>Dev Tools
Verified
First Seen
2026-03-01
Updated
2026-03-11

Browse more skills from phrazzld/claude-config

Quick answers

What is guardrail?

Generate custom lint rules from architectural patterns. ESLint local plugins (JS/TS) or ast-grep YAML rules (Python/Go/Rust/any). Invoke when: codifying an import boundary, enforcing API conventions, blocking deprecated patterns, or any "always/never" constraint. Source: phrazzld/claude-config.

How do I install guardrail?

Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.) Copy and run this command: npx skills add https://github.com/phrazzld/claude-config --skill guardrail Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code, Cursor, or OpenClaw

Where is the source repository?

https://github.com/phrazzld/claude-config