ワンクリックで
cleanup
Identifies and suggests cleanup opportunities including unused code, dependencies, and optimization possibilities
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Identifies and suggests cleanup opportunities including unused code, dependencies, and optimization possibilities
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Use when the user asks to commit, write a commit message, generate a conventional commit, or invokes /conventional-commit. Also use when staged changes need a commitlint-compliant message, when the user asks to commit and push (or passes --push), when unstaged or untracked files exist and staging scope must be confirmed, or when agent-attribution trailers must be avoided on commits. Handles git commit and git push flags when the user passes them.
Use when the user asks to create, open, or raise a GitHub pull request, submit changes for review. Also when staged, committed, or unpushed work needs a PR via gh CLI and required PR metadata is missing (base branch, draft vs ready, reviewers, labels, linked issues, test plan).
Use when the task is multi-constraint, ambiguous, architectural, or needs a design/algorithm choice before answering. Skip for trivial lookups and one-line edits.
Use when the user explicitly asks to audit, critic, or verify a generated solution or answer (e.g. /verifying-solutions, "audit this", "critic this") — not for routine completion claims or pre-answer design.
Use when staging, formatting, or creating git commits for code changes in a Git repository.
Analyzes error logs, stack traces, and provides systematic debugging strategies and solutions
| name | cleanup |
| description | Identifies and suggests cleanup opportunities including unused code, dependencies, and optimization possibilities |
Perform a comprehensive cleanup analysis based on the user's request.
question tool for EVERY user interaction — never ask questions as plain texttest -f package.json && npm ls --depth=0 2>/dev/null | grep -E "extraneous|UNMET" || echo "No package.json found"npm outdated 2>/dev/null || echo "npm not available"find . -type d -empty -not -path "./.git/*" 2>/dev/null | head -10find . -type f -size +1M -not -path "./.git/*" -not -path "./node_modules/*" 2>/dev/null | head -10git rev-list --objects --all | git cat-file --batch-check='%(objecttype) %(objectname) %(objectsize) %(rest)' | sed -n 's/^blob //p' | sort --numeric-sort --key=2 | tail -10git branch --merged | grep -v "main|master|develop" | head -10git for-each-ref --format='%(refname:short) %(committerdate:relative)' refs/heads | sort -k2 | head -10For each category, provide:
Provide a comprehensive cleanup plan with prioritized recommendations and safe execution steps.