chenglin1112/vibeguard
The safety net for vibe coding — auto-snapshot, architecture guard, and smart recovery for AI-assisted development.
Platform-specific configuration:
{
"mcpServers": {
"vibeguard": {
"command": "npx",
"args": [
"-y",
"vibeguard"
]
}
}
}Add the config above to .claude/settings.json under the mcpServers key.
> The safety net for vibe coding. Vibe code fearlessly.
[](https://www.npmjs.com/package/vibeguard-core) [](LICENSE) []()
Auto-snapshot your project before AI changes break things. Enforce architecture rules. Rescue messy codebases.
AI coding tools generate code fast, but they also break things fast. One bad prompt can silently introduce circular dependencies, god files, or hardcoded secrets. Non-developers building with AI don't know git. Even experienced developers lose track of what changed three prompts ago. Projects built with vibe coding spiral into unmaintainable messes with no easy way back.
VibeGuard sits between you and disaster. It automatically snapshots your project before every AI change, enforces architecture rules in real time, and when things do go wrong, it analyzes the damage and generates a step-by-step recovery plan.
npx vibeguard init
npx vibeguard watch
# AI breaks something?
npx vibeguard rollbackAutomatic, git-backed checkpoints every time your files change. No git knowledge required. VibeGuard watches your project directory, creates snapshots at configurable intervals, and lets you roll back to any previous state with a single command.
Key commands: init, watch, snapshot, list, diff, rollback
10 built-in rules that catch structural problems before they compound. Detects circular dependencies, god files, hardcoded secrets, excessive complexity, deep nesting, naming inconsistencies, cross-layer imports, duplicate logic, single-responsibility violations, and incorrect dependency direction.
Choose from 4 presets (generic, react-app, api-server, minimal) or define custom rules in your config.
Key commands:
Loading reviews...