スキル一覧に戻る
pevd950

code-janitor

by pevd950

0🍴 0📅 2026年1月25日
GitHubで見るManusで実行

SKILL.md


name: code-janitor description: "Clean up codebases by removing dead code, simplifying logic, and reducing tech debt; use when asked to refactor for simplicity, delete unused code, or tidy dependencies (trigger keywords: cleanup, refactor, tech debt, simplify, remove unused)."

Code Janitor

What this skill does

  • Eliminates dead code, redundant logic, and unnecessary abstractions.
  • Simplifies control flow and reduces tech debt with minimal, safe diffs.

When to use it

  • Trigger phrases: "cleanup", "refactor", "tech debt", "simplify", "remove unused".
  • Use when the goal is to reduce complexity or remove unused code safely.

Step-by-step workflow

  1. Identify unused code, dead branches, and duplicate logic; confirm intent.
  2. Remove or consolidate with minimal diffs; avoid scope creep.
  3. Simplify control flow (flatten conditionals, inline single-use helpers).
  4. Prune unused dependencies and redundant config only when safe.
  5. Update or remove stale comments and docs tied to removed code.
  6. Run focused tests or checks to validate behavior.

Expected outputs / formatting

  • List of removals and simplifications with file references.
  • Tests run and any remaining risks.
  • Notes on follow-ups if larger refactors are deferred.

Example prompts

  • "Clean up unused code in this module."
  • "Simplify this workflow and remove dead branches."
  • "Remove unused dependencies and tidy the config."

スコア

総合スコア

50/100

リポジトリの品質指標に基づく評価

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

0/10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

0/5

レビュー

💬

レビュー機能は近日公開予定です