access-control
CommunityAutomatically protect critical files and enforce safe workflows.
Software Engineering#security#git workflow#access control#file protection#automated guardrails#bash safety
AuthorM2AI-jp
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill prevents accidental or unauthorized modifications to critical system files, dangerous Git operations on main branches, and risky Bash commands that could break your project.
Core Features & Use Cases
- File Protection: Blocks edits to HARD_BLOCK files like CLAUDE.md and protected-files.txt
- Branch Safety: Prevents direct work on main/master branches to maintain clean Git history
- Command Validation: Blocks dangerous Bash commands and enforces playbook-based execution rules
- Use Case: When working on a team project, this Skill ensures no one accidentally pushes to main or deletes critical configuration files, maintaining project integrity automatically.
Quick Start
The access-control skill automatically activates when you try to edit protected files or run risky commands, providing immediate safety warnings and preventing potential damage.
Dependency Matrix
Required Modules
jq
Components
scripts
💻 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: access-control Download link: https://github.com/M2AI-jp/thanks4claudecode-fresh/archive/main.zip#access-control Please download this .zip file, extract it, and install it in the .claude/skills/ directory.