Skip to main content

refactor-dead-code

Remove unused or unreachable code with safe reference checks.

ソース情報

リポジトリ
sunpar/agentic_development
ソースの最終更新活動
2026年5月22日 15:56
検出された SKILL.md の言語
英語
スター
0
フォーク
0

インストール方法

デフォルトでは、最初にソースを確認する Prompt が選択されています。直接コマンドに切り替えるか、ローカルコピーをダウンロードすることもできます。

ソースファイルを確認

インストールを決める前に、SKILL.md と SkillsMP に表示されている付属ファイルをお読みください。

SKILL.md を表示中

SKILL.md
ソースの指示 · 読み取り専用プレビュー
name
refactor-dead-code
description
Remove unused or unreachable code with safe reference checks.
# Refactor Dead Code ## Trigger Use when code appears unused and safe to delete. ## Inputs - Static search results or lints indicating dead symbols. ## Outputs - Deletions of obsolete symbols and updated references. ## Procedure 1. Confirm usage across repository. 2. Remove dead symbols and imports. 3. Run tests and targeted checks. ## Guardrails - Do not remove extension points without explicit confirmation. - Keep public API surfaces unless user approves. ## Success criteria - No remaining references and tests pass. ## Prefer Superpowers - Use `test-driven-development` for added safety checks. ## Avoid scope creep - Keep deletion scope tied to explicit task write set.
GitHubで見る