Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>PRSniffer Code ReviewNew to Visual Studio Code? Get it now.
PRSniffer Code Review

PRSniffer Code Review

onequbitssoftware

|
7 installs
| (0) | Free
Free code review for your changes. PRSniffer runs the static checks and the AI review.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

PRSniffer Code Review

PRSniffer

PRSniffer reviews the change in front of you before it ships. Static checks cover secrets, dependencies, application code, infrastructure, and containers. The same change is then reviewed by PRSniffer. Findings stay next to the code, and a fix is written only after you accept it.

OneQubitsSoftware India Pvt Limited
www.onequbitssoftware.com · info@onequbitssoftware.com

Install

  • VS Code: Extensions view → search PRSniffer Code Review, or code --install-extension onequbitssoftware.prsniffer.
  • Cursor: Extensions view → search PRSniffer (Open VSX), or install the .vsix with Extensions: Install from VSIX….

Choose your server

By default the extension uses PRSniffer cloud. If your company runs PRSniffer itself, run PRSniffer: Select Server and enter its address (for example https://prsniffer.your-company.com), or set prsniffer.serverUrl in Settings. Each server has its own sign-in.

Sign in

Install the extension and open a project. Run Sign in to PRSniffer. The browser opens the PRSniffer sign-in page. Continue with GitHub or GitLab, allow this editor, and return to the review. The editor does not ask for an API key.

The same extension runs in Cursor. The panel names the editor it is running in.

Review a change

Open PRSniffer in the activity bar. The welcome panel offers two clear paths:

  • Review local changes — uncommitted, committed, or both vs your base branch.
  • Review this PR — detects the open pull request for the current branch in this clone (gh), then lets you load cloud findings and/or re-review the PR diff locally.

You can also run PRSniffer: Review Local Changes or PRSniffer: Review This Pull Request from the Command Palette.

On macOS the shortcut is Cmd+K Cmd+M. On Windows and Linux it is Ctrl+K Ctrl+M.

From a pull request in the PRSniffer web app, Fix in VS Code / Fix in Cursor opens the finding at the right line in this extension. Open your local clone of that repository as the workspace folder first. If the link comes from a different PRSniffer server than the one the editor uses, the extension asks before switching. If the file is not in the open workspace, it offers Open Folder….

A review has three parts:

  1. Static checks run on your machine.
  2. The files in that review are sent to PRSniffer. The service chooses the model. A routine change uses the standard model. A sensitive change, such as authentication, uses a stronger one.
  3. Findings come back to the sidebar and the editor.

Open Finding jumps to the line. Show Diff previews a fix. Apply Fix writes it only after you accept the preview. Dismiss Finding hides a finding you do not want to track.

If git has no changes, the review uses the file you have open.

How the AI review stays honest

The editor never invents a finding locally. The PRSniffer API validates every model result before it reaches the sidebar:

  • Evidence is required. A finding must name a file and a line that exists in the packed diff. Findings on untouched lines are dropped.
  • Confidence is scored. Each finding carries a confidence value. High-severity results below the floor are escalated to the stronger model instead of being posted, so uncertain guesses do not become review noise.
  • Security needs a path. For security findings the model must show attacker-controlled input reaching the sink, or mark it unknown. It cannot claim a dataflow it did not see.
  • Nitpicks never block. Style and naming notes collapse into a Nitpicks section and are excluded from the quality gate.
  • Your plan still applies. A workspace key or the shared platform pool changes who pays for the call, not which tasks the plan allows. Pro-only review and allowance gates stay enforced.

The result is fewer, better findings: the review you see is the review the server could prove from your change.

Write tests for your changes

PRSniffer: Write Tests for Changes finds the functions you changed (since your base branch, including uncommitted work) that no test mentions, and writes tests for them:

  1. PRSniffer reads only what it needs: the changed functions, the lines you added, how to import them, and the imports, setup and one mock from your nearest existing test. The new tests copy that style.
  2. You choose which new test files to create. Existing files are never overwritten.
  3. If you confirm (and the workspace is trusted), each file runs with your project's own runner: Vitest, Jest, Mocha, node:test, pytest, unittest, go test, Maven or Gradle. A failing test is repaired from its failure output and run again, up to prsniffer.testRepairAttempts times.
  4. When a test fails because the code looks wrong for what the change is meant to do, the test is kept and the likely bug is listed in Output → PRSniffer Review.

Supported: TypeScript, JavaScript, Python, Go, Java, Kotlin.

Commands

Search the Command Palette for PRSniffer. A command that needs a finding asks you to choose one.

Command What it does
Sign in to PRSniffer Opens the PRSniffer sign-in page
Sign out Signs this editor out
Open Review Panel Opens the PRSniffer sidebar
PRSniffer: Review Local Changes Reviews local edits (all / committed / uncommitted)
PRSniffer: Review This Pull Request Reviews the open PR for this clone (cloud and/or local diff)
PRSniffer: Stop Review Stops a review that is still running
PRSniffer: Set Review Scope Reviews all changes, committed changes, or uncommitted changes
PRSniffer: Select Base Branch Compares against a branch you choose
PRSniffer: Select Files to Review Limits the review to files you pick
PRSniffer: Set Auto-Review Mode Chooses whether a commit starts another review
PRSniffer: Open Settings Opens PRSniffer settings
Open Finding Jumps to the line
Show Diff Previews a fix
Apply Fix Writes a fix after you accept the preview
Approve Fix Generates a fix and commits it on the pull request (Analyst or Admin role)
Reject Fix Declines a fix and leaves the finding open
Dismiss Finding Hides a finding
Ignore Hides a finding and records that choice
Copy Fix Brief Copies the finding so you can paste it into a ticket
Copy Steps to Reproduce Copies the reproduction steps
PRSniffer: Clear Findings Empties the list
PRSniffer: Select Server Switch between PRSniffer cloud and a self-hosted server
PRSniffer: Run PR Command (@prsniffer …) Post @prsniffer review, fix comments, generate unit tests, … or a question on the open PR (needs the GitHub CLI)
PRSniffer: Write Tests for Changes Writes tests for changed functions that have none, then runs and repairs them on this machine

Settings

Setting Default What it does
prsniffer.serverUrl (PRSniffer cloud) Server for sign-in, reviews and fixes. https required (http only for localhost)
prsniffer.apiUrl (serverUrl + /api/v1) API address when it is on a different host
prsniffer.reviewScope all all, committed or uncommitted. When set explicitly, reviews start without asking
prsniffer.baseBranch (auto) Branch to compare against
prsniffer.severityFilter all Minimum severity shown (static and AI findings)
prsniffer.maxFiles 15 Most files sent to the AI review per run (1–30)
prsniffer.offline false Static checks only, no AI review
prsniffer.autoReviewMode prompt After a commit: disabled, prompt, or auto
prsniffer.autoScanOnSave false Review after saving a file (uses the configured scope, never prompts)
prsniffer.openPanelOnFinding true Reveal the panel after a fix is applied or approved
prsniffer.focusPanelOnStartup false Reveal the panel when the editor starts
prsniffer.runGeneratedTests true Offer to run new test files after Write Tests for Changes (you confirm first)
prsniffer.testRepairAttempts 2 Repairs per failing generated test (0–4)
prsniffer.maxTestTargets 5 Most changed functions per Write Tests run (1–10)

Project instructions

Path instructions in .prsniffer.yaml are applied during the AI review.

path_instructions:
  - path: "src/api/**"
    instruction: "Handlers must validate input and check the caller's role."

What stays on your machine

Static checks for an editor review run locally. Live dependency advisory lookups run when you are online. The AI review sends the files in that review to PRSniffer.

Pull request fixes from the editor

Review This Pull Request loads the findings PRSniffer posted on the open pull request for your branch. Each one opens at the right line in your workspace, even though the server stores repository-relative paths.

  • Approve Fix lets PRSniffer generate the fix for a high-risk finding and commit it to the pull request. It needs the Analyst or Admin role in your PRSniffer workspace.
  • Reject Fix declines it; the finding stays open.
  • Resolve marks the finding fixed and resolves its thread on GitHub.

The editor acts as the person who approved its sign-in, with that person's current role. If you leave the workspace, the editor's sign-in stops working.

Safety

  • Finding text is partly written by a model. Links inside a finding can only run PRSniffer's own commands, and HTML is not rendered.
  • Git is always run without a shell, so a crafted branch name or file path cannot execute commands.
  • A fix is written to disk only after you accept the preview.
  • Generated tests are new files only, and they run only after you confirm in a trusted workspace. The run command comes from your project's test runner, not from the server.

Troubleshooting

Problem Fix
“Sign in to PRSniffer” keeps coming back Run Sign out, then Sign in to PRSniffer again
Approve Fix returns Forbidden Ask a workspace admin for the Analyst role
A cloud finding does not open Open the repository root as the workspace folder
Review This Pull Request finds no PR Install and sign in to the GitHub CLI (gh auth login), or push the branch first
Fix in VS Code / Cursor does nothing Install this extension in that editor, open the repository folder, and click again. The web app shows an install hint if the editor did not open
Signed in but reviews fail with 401 You may be signed in to a different server: run PRSniffer: Select Server, then Sign in to PRSniffer
Generated tests don't run Install the project's dependencies first (npm install, pip install -r requirements.txt, …) so npx vitest, pytest or go test work in a terminal

Publisher

OneQubitsSoftware India Pvt Limited publishes PRSniffer Code Review on the Visual Studio Marketplace.

License

MIT. Copyright (c) 2026 OneQubitsSoftware India Pvt Limited.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft