writing-deny-allow-rules
CommunityAuthor auditable Claude Code rules fast
Software Engineering#claude code#permissions#yaml frontmatter#policy rules#allow deny#path globs#bash regex
Authorrocklambros
Version1.0.0
Installs0
System Documentation
What problem does it solve?
It turns ad hoc permission decisions into reviewable rule files so Claude Code can consistently allow, deny, or ask before important actions.
Core Features & Use Cases
- One-rule-per-file policy authoring for user, project, or plugin scope.
- Precise matchers for Bash commands and path-based write controls, including force-push blocking and sensitive directory protection.
- Clear precedence guidance so narrower rules override broader ones when multiple files apply.
- A built-in rationale pattern for audits, code review, and future maintainers.
- Use it to separate declarative policy from runtime hooks and to document why a rule exists.
Quick Start
Ask Claude to help you write a reviewable rule file for the action you want to allow, deny, or prompt on, and specify the scope, tool, matcher, severity, and rationale in plain language.
Dependency Matrix
Required Modules
None requiredComponents
references
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: writing-deny-allow-rules Download link: https://github.com/rocklambros/rcs/archive/main.zip#writing-deny-allow-rules Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 537,000+ vetted skills library on demand.