worktree-guard

Community

Enforce read-only protection across worktrees.

Authorespensev
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Protects designated worktree directories from modification to preserve integrity of independent product repos in shared workspaces.

Core Features & Use Cases

  • Protected directories are enforced as READ-ONLY, preventing edits from the current workspace.
  • Permitted operations: read-only analysis of protected data; write access only to analysis scripts/tools, workflow templates, data snapshots, and root-level configs.
  • Verification and governance: a mandatory verification step ensures no protected files were modified before task completion.

Quick Start

Run the Verify-ReadOnly.ps1 script to confirm no protected files were modified before finalizing an edit.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 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: worktree-guard
Download link: https://github.com/espensev/ai-skills/archive/main.zip#worktree-guard

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.