Skip to main content

deadcode

Detect and optionally remove dead code in the Go codebase. Usage: /deadcode [fix] [<path>]

Quellinformationen

Repository
future-architect/uzomuzo-oss
Letzte Quellaktivität
7. April 2026 um 13:47
Erkannte Sprache von SKILL.md
Englisch
Sterne
34
Forks
5

Installationsoptionen

Standardmäßig ist der Prompt ausgewählt, der zuerst die Quelle prüft. Sie können zu einem direkten Befehl wechseln oder eine lokale Kopie herunterladen.

Quelldateien prüfen

Lesen Sie SKILL.md und alle von SkillsMP angezeigten Begleitdateien, bevor Sie sich für eine Installation entscheiden.

SKILL.md wird angezeigt

SKILL.md
Quellanweisungen · Schreibgeschützte Vorschau
name
deadcode
description
Detect and optionally remove dead code in the Go codebase. Usage: /deadcode [fix] [<path>]
# /deadcode — Dead Code Detection & Removal > **Full specification**: See `.github/prompts/deadcode.prompt.md` for the complete > detection procedure, classification rules, output format, and safety rules. ## Quick Reference - **Audit mode** (default): `/deadcode` — detect and report only - **Fix mode**: `/deadcode fix` — detect, remove SAFE items, confirm CAREFUL items - **Scoped**: `/deadcode internal/infrastructure/` — limit to a package path - Detection: `go vet`, `go build`, `deadcode ./...`, `go mod tidy -v`, manual grep - Classify: SAFE / CAREFUL / RISKY - After each removal batch: `go build ./... && go test ./... && go vet ./...` - Never auto-remove `pkg/uzomuzo/` public API or reflect/generate/linkname targets
Auf GitHub ansehen