JordanGunn/nunchuck / skills/sniff/sniff-abusers
sniff-abusers
VerifiedDetect object-oriented abusers smells (Switch Statements) using deterministic heuristics and append findings to `.sniff/findings.jsonl`.
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 583 B |
| references/00_ROUTER.md | markdown | 522 B |
| references/01_SUMMARY.md | markdown | 669 B |
| references/02_TRIGGERS.md | markdown | 282 B |
| references/03_ALWAYS.md | markdown | 269 B |
| references/04_NEVER.md | markdown | 221 B |
| references/05_PROCEDURE.md | markdown | 363 B |
| references/06_FAILURES.md | markdown | 268 B |
| scripts/include/sniff_common.py | script | 5.2 KB |
| scripts/include/sniff_scan.py | script | 12.4 KB |
| scripts/include/sniff_scan_cli.py | script | 3.3 KB |
| scripts/skill.ps1 | script | 1.4 KB |
| scripts/skill.shexecutable | script | 1.2 KB |
scripts/skill.ps1
View on GitHub$ErrorActionPreference = "Stop"
$ScriptDir = Split-Path -Parent $MyInvocation.MyCommand.Path
$IncludeDir = Join-Path $ScriptDir "include"
function Show-Help {
Push-Location $IncludeDir
try {
& uv run python sniff_scan_cli.py help
} finally {
Pop-Location
}
}
function Invoke-Validate {
$errors = 0
if (-not (Get-Command uv -ErrorAction SilentlyContinue)) {
Write-Error "error: uv not found. Install from https://docs.astral.sh/uv/"
$errors++
}
if (-not (Get-Command git -ErrorAction SilentlyContinue)) {
Write-Error "error: git not found"
$errors++
}
$pyproject = Join-Path $IncludeDir "pyproject.toml"
if (-not (Test-Path $pyproject)) {
Write-Error "error: missing $pyproject"
$errors++
}
if ($errors -gt 0) {
exit 1
}
Write-Output "ok: sniff-abusers skill is runnable"
}
function Invoke-Dispatch {
param([string[]]$Arguments)
Push-Location $IncludeDir
try {
& uv run python sniff_scan_cli.py @Arguments
} finally {
Pop-Location
}
}
$command = if ($args.Count -gt 0) { $args[0] } else { "help" }
switch ($command) {
"help" { Show-Help }
"validate" { Invoke-Validate }
{ $_ -in @("scan", "clean") } { Invoke-Dispatch -Arguments $args }
default {
Write-Error "error: unknown command '$command'"
Write-Output "run 'sniff-oo-abusers help' for usage"
exit 1
}
}
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack." | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |