← Back to list

deslop
by toku345
toku345's dotfiles
⭐ 0🍴 0📅 Jan 9, 2026
SKILL.md
name: deslop description: > Remove AI-generated code slop from current branch. Identifies and removes inconsistent comments, over-defensive code patterns, and style mismatches introduced by AI. Use when: cleaning up AI-generated code, before committing AI changes, after code generation session. user-invocable: true allowed-tools:
- Read
- Edit
- Bash
- Glob
- Grep
Remove AI Code Slop
デフォルトブランチとの差分を確認し、このブランチで導入された AI 特有の冗長な記述を削除してください。
削除対象
- ファイル内の他のコードと整合性のないコメント
- コードベースの慣習にそぐわない防衛的コード(既存コードで同様のパターンがガードなしで動作している場合の過剰な nil チェック、不要な try/catch)
- ファイル全体のスタイルと矛盾する記述
手順
- デフォルトブランチを特定:
git symbolic-ref refs/remotes/origin/HEAD 2>/dev/null | sed 's@^refs/remotes/origin/@@'(失敗時は main を使用) git diff <default-branch>...HEADで変更箇所を把握- 各ファイルの既存スタイルを確認し、基準に基づき修正
- 変更内容を1〜3文で要約報告
Score
Total Score
60/100
Based on repository quality metrics
✓SKILL.md
SKILL.mdファイルが含まれている
+20
✓LICENSE
ライセンスが設定されている
+10
○説明文
100文字以上の説明がある
0/10
○人気
GitHub Stars 100以上
0/15
○最近の活動
3ヶ月以内に更新がある
0/10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
✓言語
プログラミング言語が設定されている
+5
○タグ
1つ以上のタグが設定されている
0/5
Reviews
💬
Reviews coming soon