Light review + cleanup with optional Codex cross-check, slop removal, and test audit. Use when user mentions 整理して, きれいにして, コード整理, slop除去, ポリッシュ, テスト整理, テスト監査, クロスチェック, crosscheck, Codex レビュー. Do NOT use for deep multi-reviewer audits (use /audit).
From shipnpx claudepluginhub thkt/dotclaude --plugin toolkitThis skill is limited to using the following tools:
Provides UI/UX resources: 50+ styles, color palettes, font pairings, guidelines, charts for web/mobile across React, Next.js, Vue, Svelte, Tailwind, React Native, Flutter. Aids planning, building, reviewing interfaces.
Fetches up-to-date documentation from Context7 for libraries and frameworks like React, Next.js, Prisma. Use for setup questions, API references, and code examples.
Calculates TAM/SAM/SOM using top-down, bottom-up, and value theory methodologies for market sizing, revenue estimation, and startup validation.
Structural review (simplify) + optional Codex cross-check + code cleanup + test audit. All fixes applied directly in foreground.
$1 (optional)$1 is empty → analyze git diff HEAD (staged + unstaged changes)Skill("simplify", args: "$1") — parallel review agents (reuse, quality,
efficiency) find and fix structural issues.
Skip entirely if which codex fails.
| Step | Action |
|---|---|
| 1 | Detect mode: git status --porcelain → uncommitted or base |
| 2 | Run codex review with detected mode (single pass) |
| 3 | Triage: extract P1/P2 with file:line. Drop P3, skip out-of-scope |
| 4 | Fix surviving findings (high first, then medium) |
| 5 | Detect test command and validate. git stash fix on test failure |
| Condition | Mode | Command |
|---|---|---|
| Uncommitted changes | uncommitted | codex review --uncommitted |
| Commits vs base, no uncommitted | base | codex review --base main |
If both uncommitted and committed changes: use uncommitted mode.
Apply code-simplifier rules directly on the current diff (foreground).
Rules: agents/enhancers/code-simplifier.md
| Target | Scope |
|---|---|
| AI slop | Redundant comments, defensive excess, over-engineering |
| Test audit | Vague names, copy-paste, over-mocking, trivial tests |
Preservation rules in code-simplifier apply — when in doubt, keep.
Phase 1 (simplify): <summary>
Phase 2 (codex): <fixed N / skipped N with reasons / not available>
Phase 3 (cleanup):
Code: <changes with file:line>
Tests: <changes with file:line>
Skipped: <files not audited, with reason>
| Error | Action |
|---|---|
| No changes in diff | Report "Nothing to polish" |
| /simplify fails | Log warning, proceed to Phase 2 |
| codex not installed | Skip Phase 2, proceed to Phase 3 |
| codex review fails | Log warning, proceed to Phase 3 |
| Fix causes test fail | git stash the fix, skip finding |