AI Guardrails & Rules

0•

Enforces safety protocols and usage boundaries by checking actions against user-defined guardrails before execution.

The Rules skill provides a robust safety layer for Claude Code by managing and enforcing AI guardrails within the aman ecosystem. It automatically scans for 'Never' rules—such as preventing file deletion or unauthorized production pushes—using keyword-overlap matching or MCP-based logic. By supporting both primary multi-tenant paths and legacy configuration files, it ensures that Claude remains within strict operational boundaries, proactively asking for explicit permission before performing potentially risky actions like accessing external APIs or exposing sensitive credentials.

Key Features

01Proactive keyword-overlap matching for 'Never' rule enforcement
020 GitHub stars
03Automatic path discovery for primary and legacy rule files
04Multi-tenant guardrail management via .arules configuration
05Interactive rule initialization and modification prompts
06Seamless integration with aman-mcp for production-grade rule checking

Use Cases

01Preventing accidental deletion of critical project files or data
02Securing credentials by preventing accidental exposure to external services
03Enforcing branching strategies by blocking direct pushes to main branches