plan-stop-hook

Official

Block edits until the plan is approved.

Authorm2ai-portfolio
Version1.0.0
Installs0

System Documentation

What problem does it solve?

A planning gate prevents premature coding by enforcing a gating step before edits, ensuring plans survive adversarial review.

Core Features & Use Cases

  • Stop gate blocks Edit, Write, and Bash until the planning loop passes.
  • Configurable gate states and transition flow support structured planning and governance.
  • Gate state persistence in .claude/plan-gate.txt enables resumable work and retrospective traceability.

Quick Start

Install the stop hook, configure the gate states, run a planning loop, and approve the gate by writing APPROVED to .claude/plan-gate.txt.

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: plan-stop-hook
Download link: https://github.com/m2ai-portfolio/m2ai-skills-pack/archive/main.zip#plan-stop-hook

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 510,000+ vetted skills library on demand.