hallucination-guard

Official

Prevent AI code hallucinations.

AuthorRune-kit
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill prevents AI-generated code from including non-existent imports, packages, functions, or API calls, thereby reducing bugs and security risks.

Core Features & Use Cases

  • Import Verification: Checks if imported modules and files actually exist in the project.
  • Package Validation: Ensures external packages are listed in the project's manifest and exist on registries.
  • API Signature Check: Verifies that API calls and function signatures match documentation.
  • Slopsquatting Defense: Detects and flags potentially malicious package names that mimic popular ones.
  • Use Case: After an AI generates new code for a feature, this skill runs automatically to ensure all its dependencies and references are valid before committing, preventing runtime errors and security vulnerabilities.

Quick Start

Run the hallucination-guard skill to verify all imports in the recently changed files.

Dependency Matrix

Required Modules

None required

Components

scriptsreferences

💻 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: hallucination-guard
Download link: https://github.com/Rune-kit/rune/archive/main.zip#hallucination-guard

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