Skip to main content

deadcode

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

Source facts

Repository
future-architect/uzomuzo-oss
Last source activity
April 7, 2026 at 13:47
Detected SKILL.md language
English
Stars
42
Forks
5

Install options

The review-first prompt is selected by default. You can switch to a direct command or download a local copy.

Review the source files

Read SKILL.md and any companion files shown by SkillsMP before deciding whether to install.

Showing SKILL.md

SKILL.md
Source instructions · Read-only preview
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
View on GitHub