sniff-qa 0.5.1 → 0.6.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.claude-plugin/plugin.json +2 -2
- package/CHANGELOG.md +66 -0
- package/README.md +219 -347
- package/SECURITY.md +3 -3
- package/dist/chunk-LJYT4MD5.js +1246 -0
- package/dist/chunk-LJYT4MD5.js.map +1 -0
- package/dist/cli/index.js +41 -12
- package/dist/cli/index.js.map +1 -1
- package/dist/crawl-666NLYDC.js +11 -0
- package/dist/crawl-666NLYDC.js.map +1 -0
- package/dist/crawl-command-3OB4IUBU.js +54 -0
- package/dist/crawl-command-3OB4IUBU.js.map +1 -0
- package/dist/{discover-ENPRVN5A.js → discover-Q363YJ5X.js} +2 -2
- package/dist/{domain-UQ34YE4B.js → domain-NNL2PPRK.js} +1 -1
- package/dist/index.d.ts +94 -1
- package/dist/index.js +9 -1
- package/dist/index.js.map +1 -1
- package/dist/mcp/server.js +76 -6
- package/dist/mcp/server.js.map +1 -1
- package/dist/{model-X5J2JR5U.js → model-2DTSAX7T.js} +1 -1
- package/dist/{quality-run-6SXCN5CD.js → quality-run-LLBZZI7X.js} +2 -2
- package/dist/{repo-analyzer-4OURSITY.js → repo-analyzer-WK5WP7NT.js} +1 -1
- package/dist/{report-OAHSB56I.js → report-IKRVVIW4.js} +2 -2
- package/dist/{unified-SKXQQX3Y.js → unified-67Z6YA64.js} +4 -4
- package/package.json +3 -2
- package/skills/sniff/SKILL.md +20 -25
- /package/dist/{discover-ENPRVN5A.js.map → discover-Q363YJ5X.js.map} +0 -0
- /package/dist/{domain-UQ34YE4B.js.map → domain-NNL2PPRK.js.map} +0 -0
- /package/dist/{model-X5J2JR5U.js.map → model-2DTSAX7T.js.map} +0 -0
- /package/dist/{quality-run-6SXCN5CD.js.map → quality-run-LLBZZI7X.js.map} +0 -0
- /package/dist/{repo-analyzer-4OURSITY.js.map → repo-analyzer-WK5WP7NT.js.map} +0 -0
- /package/dist/{report-OAHSB56I.js.map → report-IKRVVIW4.js.map} +0 -0
- /package/dist/{unified-SKXQQX3Y.js.map → unified-67Z6YA64.js.map} +0 -0
package/skills/sniff/SKILL.md
CHANGED
|
@@ -1,47 +1,42 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: sniff
|
|
3
|
-
description:
|
|
3
|
+
description: Use when the user types /sniff, or asks to "scan this project for bugs", "find bugs in my app", "QA my site", or "walk my app and tell me what's broken". For a running web app, finds real, reproducible issues — broken pages/links, console & network errors, broken forms, empty/placeholder data, state-loss, bad loading/error states, responsive and accessibility problems — each with reproduction proof, severity, confidence, and a fix. No API key needed.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
# /sniff
|
|
7
|
-
|
|
8
|
-
Run a full quality scan on the current project.
|
|
6
|
+
# /sniff — find real bugs in this project
|
|
9
7
|
|
|
10
8
|
## What to do
|
|
11
9
|
|
|
12
|
-
1.
|
|
13
|
-
- `mode`: `"
|
|
10
|
+
1. Call the unified `sniff` MCP tool with:
|
|
11
|
+
- `mode`: `"walk"` — the autonomous flow-walk that drives a real browser and finds runtime bugs (this is the one that matters; `"scan"` is source-only)
|
|
14
12
|
- `rootDir`: the current project's absolute path
|
|
15
|
-
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
3. Present the findings to the user grouped by severity:
|
|
21
|
-
- CRITICAL and HIGH first
|
|
22
|
-
- Show file path, line number, and the issue
|
|
23
|
-
- Suggest fixes for the top issues
|
|
13
|
+
- omit `baseUrl` to auto-detect the running dev server, or pass it if the user gives a URL
|
|
14
|
+
2. If the response is `{ needsSetup: "playwright-browsers" }`, call the `sniff_install` tool, then retry the walk.
|
|
15
|
+
3. If no app is running, sniff returns a note + a source-only scan. Tell the user to start their dev server (or pass a URL) for the full flow-walk that finds the real runtime bugs.
|
|
16
|
+
4. Present findings grouped by severity (CRITICAL and HIGH first). For each, show the **route**, the **reproduction steps**, the **confidence** (confirmed / likely / uncertain), and the **suggested fix**. Mention any finding marked `needsOutOfBandVerification` (e.g. "submitted but no success shown — confirm the email/job actually ran"). Offer `/sniff-fix` for the safe, auto-fixable ones.
|
|
24
17
|
|
|
25
18
|
## Example
|
|
26
19
|
|
|
27
20
|
```
|
|
28
21
|
User: /sniff
|
|
29
|
-
You:
|
|
22
|
+
You: Walking your running app for real bugs…
|
|
30
23
|
|
|
31
|
-
[calls sniff with mode=
|
|
24
|
+
[calls sniff with mode="walk", rootDir=/Users/user/projects/my-app]
|
|
32
25
|
|
|
33
|
-
Found 12
|
|
26
|
+
Found 9 real issues (0 false positives) across 12 pages:
|
|
34
27
|
|
|
35
28
|
**Critical (1)**
|
|
36
|
-
-
|
|
29
|
+
- /checkout — Page returns HTTP 500 (crash screen shown to the user)
|
|
37
30
|
|
|
38
31
|
**High (3)**
|
|
39
|
-
-
|
|
40
|
-
-
|
|
41
|
-
-
|
|
32
|
+
- / — Broken link → /pricing-old (HTTP 404)
|
|
33
|
+
- /dashboard — Uncaught exception: cannot read 'map' of undefined
|
|
34
|
+
- /signup — Submit button does nothing (no request, no message, no change)
|
|
42
35
|
|
|
43
|
-
**Medium (
|
|
44
|
-
-
|
|
36
|
+
**Medium (5)**
|
|
37
|
+
- /orders — Empty table with no empty-state ("Your Orders")
|
|
38
|
+
- /profile — Placeholder data shipped (test@test.com)
|
|
39
|
+
- …each with reproduction steps + a screenshot + a fix.
|
|
45
40
|
|
|
46
|
-
Want me to fix
|
|
41
|
+
Want me to fix the safe ones with /sniff-fix?
|
|
47
42
|
```
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|