sniff-fix SKILL.md skillA

sniff-fix from aboudjem/sniff is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add aboudjem/sniff/sniff-fix@git:20260902.2fe78a5

Pins git:20260902.2fe78a5 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
aboudjem/sniff
Path
skills/sniff-fix/SKILL.md
Versions recorded
4
Latest version
git:20260902.2fe78a5, committed Sep 2, 2026
First version recorded
Apr 17, 2026
Size
1,726 bytes
Repository stars
4
License
Apache-2.0

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

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# /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
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add aboudjem/sniff/sniff-fix@sha256:164a2b6402874b66

The line at the top of this page pins the label git:20260902.2fe78a5, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_mfgsbl352eeuj2im.svg)](https://markdownregistry.com/a/art_mfgsbl352eeuj2im)

3 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 4 versions of this file, between Apr 17, 2026 and Sep 2, 2026, about one every 46 days.

versioncommittedcommitsizeaudit
git:20260902.2fe78a5 latest2026-09-02 2fe78a5 1,726 BA view · diff
git:20260530.255cca02026-05-30 255cca0 1,446 BA view · diff
git:20260506.a5a5fea2026-05-06 a5a5fea 1,424 BA view · diff
git:20260417.5e089222026-04-17 5e08922 1,311 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (1726 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

aboudjem/sniff · 4 stars · license Apache-2.0 · pushed 2026-09-06 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_mfgsbl352eeuj2im
GET https://markdownregistry.com/api/v1/resolve?ref=aboudjem/sniff/sniff-fix
GET https://markdownregistry.com/api/v1/blob/164a2b6402874b66976630ff2e1a2c947e5d6a5edab2619bdc49e767dace64ea

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from aboudjem/sniff

AGENTS.md AGENTS.md file
aboudjem/sniff · AGENTS.md
git:20260529.738a05b · audit A · 4 stars
CLAUDE.md CLAUDE.md file
aboudjem/sniff · CLAUDE.md
git:20260902.eaf2f3a · audit A · 4 stars
llms.txt llms.txt file
aboudjem/sniff · llms.txt
git:20260904.a0e389c · audit A · 4 stars
sniff-report SKILL.md skill
aboudjem/sniff · skills/sniff-report/SKILL.md · Show the results from the last sniff scan.
git:20260902.2fe78a5 · audit A · 4 stars
sniff SKILL.md skill
aboudjem/sniff · skills/sniff/SKILL.md · Use when the user types /sniff, or asks to "scan this project for bugs", "find bugs in my app", "QA my site", or "walk…
git:20260530.e3585ca · audit A · 4 stars

Every file in aboudjem/sniff

Browse by kind, by grade A, or by owner.