check_before_suggesting
Verify imports, methods, and patterns to ensure AI-generated code suggestions are accurate and free from errors, enhancing reliability and precision.
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"]) |