Skip to content

fix(prompts): require API verification before flagging hallucinated APIs - #7

Merged
Mearman merged 1 commit into
mainfrom
fix/review-api-verification
Feb 15, 2026
Merged

Mearman merged 1 commit into
mainfrom
fix/review-api-verification

Conversation

@Mearman

@Mearman Mearman commented Feb 15, 2026

Copy link
Copy Markdown
Member

Requires verification before flagging hallucinated APIs to reduce false positives. Adds WebFetch tool to review mode for checking package docs.

Changes:

  • Instructs reviewers to verify against actual packages before commenting on missing APIs
  • Adds WebFetch to review mode toolset
  • Updates red flags section with verification instructions

Add WebFetch to review mode tools and update prompts to instruct the
reviewer to check node_modules, lockfiles, or official docs before
claiming an API doesn't exist. Training data may be stale for newer
dependency versions.

@claude claude Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes look good. The addition of verification guidance addresses a real problem — false positives about hallucinated APIs waste review time. The prompts are clear and actionable, and the WebFetch tool addition enables the verification workflow.

@Mearman
Mearman merged commit 0278704 into main Feb 15, 2026
2 checks passed
@Mearman
Mearman deleted the fix/review-api-verification branch February 15, 2026 10:27
@github-actions

github-actions Bot commented Sep 3, 2026

Copy link
Copy Markdown

🎉 This PR is included in version 1.0.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant