Skip to content
Back to skills

Sniff Fix

ASecurity

Scan the project and auto-fix safe issues (remove debugger statements, console.log calls, and other auto-fixable problems).

  • 211 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added September 21, 2026
ai-agentsapi

Works with

  • claude code
  • api
  • mcp

Security analysis

A100/100

Pro scans all 13 files and shows the line behind each finding

Scanned September 21, 2026

npx -y skills add NeverSight/skills_feed --skill sniff-fix --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Sniff Fix?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Sniff Fix
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/neversight-sniff-fix/badge)](https://www.skillsdirectory.com/skills/neversight-sniff-fix)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: sniff-fix
description: Scan the project and auto-fix safe issues (remove debugger statements, console.log calls, and other auto-fixable problems).
user-invocable: false
---

# /sniff-fix - Scan and fix issues

Scan the project, then automatically fix safe issues.

This skill is invoked by the `sniff` skill's own flow, not on its own. The `user-invocable: false` frontmatter key is honored by Claude Code only, so in other agents this file may show up as a standalone command; treat it as a step inside a sniff run rather than an entry point.

## What to do

1. Use the unified `sniff` MCP tool with `mode: "scan"` and the project's `rootDir` to get all findings. If the unified tool is not available, use legacy `sniff_scan`.

2. For each finding, fix it if safe:
   - `debug-debugger`: Remove the `debugger;` line
   - `debug-console-log`: Remove `console.log/debug/info` lines
   - `placeholder-lorem`: Flag to user (needs manual replacement)
   - `hardcoded-localhost`: Suggest environment variable
   - `api-hardcoded-secret`: Remove the secret and suggest env var

3. Do NOT auto-fix without telling the user what you're changing

4. After fixing, re-run unified `sniff` with `mode: "scan"` to verify issues are resolved

## Example

```
User: /sniff-fix
You: I'll scan and fix what I can.

Found 8 issues. Auto-fixing 4:

- Removed `debugger` from src/handler.ts:42
- Removed `console.log` from src/api.ts:8
- Removed `console.log` from src/api.ts:15
- Removed `console.debug` from src/utils.ts:3

4 issues need manual attention:
- src/config.ts:8 - Hardcoded localhost URL (replace with env var)
- README.md:28 - Broken link to ./missing-guide.md
- ...

Re-scanning... 4 issues remaining (down from 8).
```

Files in this skill

  • SKILL.md1.7 KB
  • description_ar.txt233 B
  • description_cn.txt123 B
  • description_de.txt170 B
  • description_en.txt124 B
  • description_es.txt161 B
  • description_fr.txt206 B
  • description_it.txt172 B
  • description_ja.txt212 B
  • description_ko.txt178 B
  • description_ru.txt286 B
  • description_tw.txt128 B
  • stats.json68 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…