SpecLock is a tool that prevents AI coding assistants from violating project constraints defined in CLAUDE.md, .cursorrules, and AGENTS.md files. It works with Claude Code, Cursor, Windsurf, Copilot, and other AI tools by running semantic conflict detection before edits are applied. Rather than relying on AI memory alone, SpecLock actively blocks changes that violate locked rules.
The tool operates locally with no account required and includes 51 MCP integrations across 11 platforms. It offers advisory mode for warnings or strict mode for enforcement, plus a project health dashboard showing drift score and lock coverage. Setup takes one command, and it integrates as a Claude Code plugin or Git hook.
Momentum
Daily activity over the last 30 days: upvotes, unique visits, new GitHub stars and Hacker News points.
30 days agotoday
How do we know it's vibe coded?
vibetrend discovered SpecLock automatically. Evidence: GitHub sgroy10/speclock; repo has .cursor, .windsurf, AGENTS.md; Bolt badge in page HTML. View source.