sniff · git:20260506.a5a5fea · 2026-05-06 · sha256 dd12fd0ac6923b5c
sniff git:20260506.a5a5feaA
Immutable. This exact content is served forever at /api/v1/blob/dd12fd0ac6923b5c.
--- name: sniff description: Scan the current project for bugs. Runs source code analysis (debug statements, dead links, API endpoints, broken imports, placeholder text, hardcoded URLs). If a dev server is running, also checks accessibility, visual regression, and performance. No API key needed. --- # /sniff - Scan this project Run a full quality scan on the current project. ## What to do 1. Use the unified `sniff` MCP tool with: - `mode`: `"run"` - `rootDir`: the current project's absolute path - Do NOT pass `baseUrl` -- sniff auto-detects running dev servers - `headless`: true 2. If the unified `sniff` tool is not available, use legacy `sniff_run`; if that is not available, use `sniff_scan` with just `rootDir` 3. Present the findings to the user grouped by severity: - CRITICAL and HIGH first - Show file path, line number, and the issue - Suggest fixes for the top issues ## Example ``` User: /sniff You: I'll scan your project for issues. [calls sniff with mode=run rootDir=/Users/user/projects/my-app] Found 12 issues: **Critical (1)** - `src/routes.ts:14` - Hardcoded Stripe key in route handler **High (3)** - `src/handler.ts:42` - debugger statement - `README.md:28` - Broken link to ./missing-guide.md - `src/Page.tsx:15` - Lorem ipsum placeholder text **Medium (8)** - ... Want me to fix any of these? ```