sgroy10/speclock

25 stars · Last commit 2026-08-18

Action guardrails for AI coding agents — native Claude Code enforcement, MCP integrations, and Git/CI checks.

README preview

<p align="center">
  <img src="https://img.shields.io/badge/🔒-SpecLock-000000?style=for-the-badge&labelColor=000000&color=4F46E5" alt="SpecLock" height="40" />
</p>

<h2 align="center">Rules files tell AI what not to change.<br/>SpecLock enforces them.</h2>

<p align="center">
  Stop Claude Code, Cursor, Codex, Windsurf, and other AI coding tools from crossing project constraints you already wrote in <code>CLAUDE.md</code>, <code>AGENTS.md</code>, and <code>.cursorrules</code>.
</p>

<p align="center">
  <a href="https://www.npmjs.com/package/speclock"><img src="https://img.shields.io/npm/v/speclock.svg?style=flat-square&color=4F46E5" alt="npm version" /></a>
  <a href="https://www.npmjs.com/package/speclock"><img src="https://img.shields.io/npm/dm/speclock.svg?style=flat-square&color=22C55E" alt="npm downloads" /></a>
  <a href="https://github.com/sgroy10/speclock/actions/workflows/ci.yml"><img src="https://github.com/sgroy10/speclock/actions/workflows/ci.yml/badge.svg" alt="CI" /></a>
  <a href="https://opensource.org/licenses/MIT"><img src="https://img.shields.io/badge/license-MIT-blue.svg?style=flat-square" alt="MIT License" /></a>
  <a href="https://modelcontextprotocol.io"><img src="https://img.shields.io/badge/MCP-51%20tools-green.svg?style=flat-square" alt="MCP 51 tools" /></a>
</p>

<p align="center">
  <a href="#60-second-setup"><strong>Install</strong></a> ·

View full repository on GitHub →