sniff-fix
Installation
SKILL.md
/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
-
Use the unified
sniffMCP tool withmode: "scan"and the project'srootDirto get all findings. If the unified tool is not available, use legacysniff_scan. -
For each finding, fix it if safe:
debug-debugger: Remove thedebugger;linedebug-console-log: Removeconsole.log/debug/infolinesplaceholder-lorem: Flag to user (needs manual replacement)hardcoded-localhost: Suggest environment variableapi-hardcoded-secret: Remove the secret and suggest env var
-
Do NOT auto-fix without telling the user what you're changing