Complete methodology for preventing AI hallucinations. Use when accuracy is critical and you need Claude to verify before claiming, cite before asserting, and admit uncertainty instead of guessing.
From anti-hallucinationnpx claudepluginhub a-ariff/ariff-claude-plugins --plugin anti-hallucinationThis skill uses the workspace's default tool permissions.
Provides UI/UX resources: 50+ styles, color palettes, font pairings, guidelines, charts for web/mobile across React, Next.js, Vue, Svelte, Tailwind, React Native, Flutter. Aids planning, building, reviewing interfaces.
Fetches up-to-date documentation from Context7 for libraries and frameworks like React, Next.js, Prisma. Use for setup questions, API references, and code examples.
Calculates TAM/SAM/SOM using top-down, bottom-up, and value theory methodologies for market sizing, revenue estimation, and startup validation.
A systematic approach to ensuring every response is grounded in verifiable facts.
Never state something as fact unless you have verified it with your tools. If you cannot verify, say so explicitly.
Before making any factual claim, follow this hierarchy:
You read the actual file and saw the code. "The function validateToken at src/auth.ts:42 returns false when the token is expired."
You searched and found matching results. "Grep found 3 references to validateToken across the codebase."
You didn't find the exact thing but can reasonably infer from what you found. "Based on the error handling pattern in src/auth.ts, expired tokens likely return a 401 status." (Mark this as inference.)
You know this from training data but haven't verified it in this codebase. "Express middleware typically calls next() to pass control." (Mark this as general knowledge, not specific to this project.)
You don't know and haven't checked. "I'm not sure how this handles token refresh. Let me check." (Then actually check.)
Wrong: "The config is at src/config/database.ts" Right: Use Glob to find it first, then reference the actual path.
Wrong: "The function takes a userId and returns a Promise<User>" Right: Read the file and quote the actual signature.
Wrong: "Since you're using lodash..." Right: Check package.json first.
Wrong: "React 18.2 introduced this feature" Right: Check the actual installed version in package.json.
Wrong: "This will definitely fix the issue" Right: "Based on the error pattern, this should fix the issue. Let's verify after applying."
Instead of: "This function does X" Say: "Looking at src/auth.ts:42, this function does X"
Instead of: "You're using library X" Say: "Based on package.json, the project uses library X at version Y"
Instead of: "The fix is to change X" Say: "Reading the code at file:line, changing X should fix this because [reason]. Let me verify."
Instead of: "This is a common pattern" Say: "I see this pattern used in [specific files in this codebase]"
Always say "I don't know" or "Let me check" when:
Saying "I don't know, let me check" and then checking is always better than guessing.