一键导入
simplify
Review changed code for reuse, quality, and efficiency, then fix any issues found. Understands before touching, guards against over-simplification.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Review changed code for reuse, quality, and efficiency, then fix any issues found. Understands before touching, guards against over-simplification.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Exercise software as real consumer would — docs-first walkthrough, full public surface coverage, adversarial misuse — producing a ranked friction report. Works for any software type (library, CLI, server/API, web UI, TUI). Use when user says "dogfood", "exercise as a consumer/user", "friction report", "consumer trial", "try it like a real user", or as harden skill Phase 1 (Exercise → friction). Re-eval mode re-runs a prior report for a resolved/still-live delta.
Iterative refinement loop for taking a change to a high quality bar. Sequences exercise→friction, grill→decide, TDD slices, then review→soundness→simplify→architecture→test-health→docs passes — repeating until a full round finds nothing significant — under fixed discipline (authority docs sacred, commit per slice, verify every slice, reverse your own calls on evidence, capture decisions durably). Use when the user wants to build or refine something "properly", harden a change, run a multi-pass quality loop, evaluate an API as a real consumer, or asks to "harden", "do this properly", "full quality pass", "refine loop", "keep going until clean", or "production-grade" work. Gated — stops for the user's call at authority conflicts, fix decisions, architecture do/decline, and irreversible actions.
MUST be used for every git commit. Formats Conventional Commit messages, checks for breaking changes, and stages files atomically.
Collaborative specification refinement through codebase analysis, discovery interviews, and iterative red-teaming. Use when user wants to write a spec, refine requirements, design a feature, or mentions "spec", "requirements", "PRD", or "specification".
Break a plan or spec into vertical-slice tasks. Use when user wants to break down work into tasks, slice a spec into implementable pieces, or mentions "to-tasks", "break down", "task breakdown", or "slice".
Audit and improve a user-facing entry doc (README, docs-site landing, man-page intro, getting-started guide) for factual accuracy and for three reader audiences — evaluator, newcomer, returner. Use when asked to "improve/proofread/audit the readme (or docs)", "is my readme any good", "make the docs clearer / more motivating", or to check docs for stale/inaccurate information.
| name | simplify |
| description | Review changed code for reuse, quality, and efficiency, then fix any issues found. Understands before touching, guards against over-simplification. |
Review changed code for reuse, quality, efficiency; fix findings. Metric is comprehension speed, not line count: "Would a new team member understand this faster than the original?" For module-level structural work (seams, ports, depth) use /improve-architecture instead.
Read CONTEXT.md / CLAUDE.md / project conventions if present, then study the diff. For each non-obvious changed piece, know its responsibility, callers/callees, edge cases, and why it might be written that way (perf? platform constraint? history?). Use git blame when something looks wrong but might be intentional. If intent unclear, ask the user before simplifying.
git diff (or git diff HEAD if staged changes exist). No git changes → review files the user mentioned or you edited this conversation.
Launch concurrently in a single message, each with the full diff:
Wait for all three, aggregate, fix each directly. False positive or not worth it → note and skip; don't argue with the finding.
Any check fails → revert that simplification. Briefly summarize fixes (or confirm code already clean).