avoiding-false-positives

Verify execution paths and framework behavior before flagging code issues.

129|15|Updated Oct 21, 2025
One-click install
npx skills add https://github.com/bitwarden/ai-plugins --skill avoiding-false-positives
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: avoiding-false-positives
Source: https://github.com/bitwarden/ai-plugins/tree/main/plugins/bitwarden-code-review/skills/avoiding-false-positives
Command: npx skills add https://github.com/bitwarden/ai-plugins --skill avoiding-false-positives

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Prevents false positive findings by recognizing framework patterns, codebase conventions, and common non-issues. Use when uncertain whether something is a real issue.

Core Features & Use Cases

  • Pattern recognition: Identifies intentional simplicity, framework conventions, and test code as not needing flags.
  • Context-aware reviews: Prevents unnecessary noise by aligning with project conventions.

Quick Start

Before flagging anything, verify ALL three criteria:

  1. Can you trace the execution path showing incorrect behavior?
  2. Is this handled elsewhere (error boundaries, middleware, validators)?
  3. Are you certain about framework behavior and language semantics? If you cannot confidently answer all three, DO NOT create the finding.

Frequently Asked Questions about avoiding-false-positives

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I reduce false positives in code review and automated analysis?

Reduce false positives by verifying three criteria before flagging: trace the execution path showing incorrect behavior, confirm the issue isn't handled elsewhere, and verify correct framework behavior and language semantics. This prevents unnecessary noise from intentional simplicity, framework conventions, and test code.

What patterns should I recognize to avoid flagging non-issues?

Recognize framework conventions, intentional simplicity, test code, generated code, and copied patterns as non-issues. Before creating a finding, check whether the pattern aligns with project conventions and framework design rather than indicating a real problem.

When should I not flag something during code review?

Don't flag if you cannot trace an execution path showing actual incorrect behavior, if error handling exists elsewhere like middleware or validators, or if you're uncertain about framework behavior and API contracts. Uncertainty about any criterion means do not create the finding.

How do I verify an issue is actually a problem before reporting it?

Verify by checking three things: can you trace execution showing the bug occurs, is the issue already handled by error boundaries or validators, and are you certain about framework behavior and language semantics. All three must be confirmed to flag safely.

Why do framework conventions matter in code review?

Framework conventions define expected behavior and API contracts. Understanding them prevents flagging correct implementations as issues, reducing noise and preserving focus on genuine problems that violate those conventions or codebase standards.

Can I use this approach with my existing code review process?

Yes, apply this during both manual code review and automated analysis. The three-criterion verification—execution path tracing, checking alternate handling, confirming framework semantics—integrates into any review workflow to align findings with project conventions.