← スキル一覧に戻る

cleanup-guide
by chkim-su
⭐ 1🍴 0📅 2026年1月16日
SKILL.md
name: cleanup-guide description: Detect unnecessary files and provide cleanup recommendations allowed-tools: ["Read", "Glob", "Grep", "Bash"]
Cleanup Guide
Detect and clean unnecessary files in plugin/project directories.
File Categories
| Category | Risk | Examples | Action |
|---|---|---|---|
| SENSITIVE | HIGH | .env, *.pem, credentials.json | Immediate gitignore + secret rotation |
| DELETE | MEDIUM | *.log, __pycache__, node_modules | Remove with cleanup commands |
| GITIGNORE | LOW | .DS_Store, .idea/ | Add to .gitignore |
Quick Scan
# Run validation with W036 check
python3 scripts/validate_all.py . 2>&1 | grep -A 50 "W036"
Detailed Patterns
See references/file-patterns.md for complete pattern list.
Auto-Cleanup Commands
After identifying issues, generate cleanup script:
# Logs
rm -f *.log firebase-debug.log npm-debug.log
# Caches
rm -rf __pycache__ .pytest_cache .mypy_cache .cache
# Large dirs (careful!)
rm -rf node_modules
# Update gitignore
cat >> .gitignore << 'EOF'
*.log
__pycache__/
.DS_Store
.env
EOF
Integration
This skill is automatically called by /forge-editor:wizard validate via W036 check.
スコア
総合スコア
60/100
リポジトリの品質指標に基づく評価
✓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
レビュー
💬
レビュー機能は近日公開予定です