vibeguard

Prevent LLM code generation hallucinations with a seven-layer defense framework.

37|6|Updated Feb 14, 2026
One-click install
npx skills add https://github.com/majiayu000/vibeguard --skill vibeguard
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: vibeguard
Source: https://github.com/majiayu000/vibeguard/tree/main/skills/vibeguard
Command: npx skills add https://github.com/majiayu000/vibeguard --skill vibeguard

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill addresses the common failure modes in AI-generated code, such as inventing non-existent APIs, duplicating existing functionality, hardcoding data, and over-engineering solutions, by providing a systematic framework to prevent these issues.

Core Features & Use Cases

  • AI-Assisted Development Framework: Implements a seven-layer defense architecture to systematically prevent LLM code generation failures.
  • Real-time Interception & Scanning: Utilizes hooks for immediate blocking of dangerous commands and provides on-demand scanning tools.
  • Use Case: Before starting a new coding task, use /vibeguard:preflight to explore the project and generate constraints, ensuring the AI's output aligns with existing patterns and requirements.

Quick Start

Run /vibeguard:preflight to explore the project and generate constraints before starting a new task.

Frequently Asked Questions about vibeguard

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I prevent AI code generation from inventing non-existent APIs and hardcoding data?

A seven-layer defense architecture prevents AI code generation from inventing APIs and hardcoding data by injecting constraints, using real-time hooks for interception, and deploying specialized agents for review, testing, and fixing.

What is the best way to add guardrails for LLM code generation in my development framework?

Adding guardrails for LLM code generation involves implementing a framework with real-time interception hooks and on-demand scanning tools to block dangerous commands and enforce coding constraints before execution.

How do I run a preflight check to explore project constraints before AI generates code?

To run a preflight check for project constraints before AI generates code, execute the `/vibeguard:preflight` command to explore the project structure and generate constraints ensuring output aligns with existing patterns.

Does this AI code review framework work without external dependencies?

Yes, this AI code review framework operates without external dependencies, utilizing specialized agents and MCP tools to perform on-demand scanning, real-time interception, and rule injection independently.

How does real-time interception stop dangerous commands during AI-assisted development?

Real-time interception stops dangerous commands during AI-assisted development by utilizing hooks for immediate blocking, ensuring dangerous LLM code generation outputs are caught before execution.