check_before_suggesting
Verifies imports, methods, and patterns in code suggestions to prevent AI hallucinations and ensure accuracy before proposing solutions.
Instructions
CRITICAL: AI must use this before suggesting any code to prevent hallucinations
Input Schema
Name | Required | Description | Default |
---|---|---|---|
imports | Yes | List of imports to verify (e.g., ["react", "useState from react"]) | |
methods | Yes | List of methods to verify (e.g., ["Array.prototype.findLast", "String.prototype.replaceAll"]) | |
patterns | Yes | List of patterns to verify (e.g., ["async/await", "error boundaries"]) |