deadcode
Detect and optionally remove dead code in the Go codebase. Usage: /deadcode [fix] [<path>]
ソース情報
- リポジトリ
- future-architect/uzomuzo-oss
- ソースの最終更新活動
- 2026年4月7日 13:47
- 検出された SKILL.md の言語
- 英語
- スター
- 34
- フォーク
- 5
インストール方法
デフォルトでは、最初にソースを確認する Prompt が選択されています。直接コマンドに切り替えるか、ローカルコピーをダウンロードすることもできます。
ソースファイルを確認
インストールを決める前に、SKILL.md と SkillsMP に表示されている付属ファイルをお読みください。
SKILL.md を表示中
SKILL.md
ソースの指示 · 読み取り専用プレビュー- 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
GitHubで見る