一键导入
simplify
Review changed code for reuse, quality, and efficiency, then fix any issues found.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Review changed code for reuse, quality, and efficiency, then fix any issues found.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Use when writing skills, CLAUDE.md files, agent prompts, or any code/directive that involves shell commands, environment variables, API credentials, file creation, or git operations - prevents secrets leakage into LLM context, unsafe shell patterns, and credential exposure.
Use when writing or revising any instruction Claude will read - skills, CLAUDE.md files, agent prompts, system prompts, hook output. Covers token efficiency, compliance techniques, discovery, and per-format templates.
An independent advisor you shell out to for a second opinion. Use when planning complex changes, debugging across multiple files, making architecture decisions, reviewing your own work, or when a different perspective would help.
Drives the user's running Chrome via the Playwriter CLI. Use when the task needs their browser identity — cookies, logins, open tabs, profile.
| name | simplify |
| description | Review changed code for reuse, quality, and efficiency, then fix any issues found. |
Review all changed files for reuse, quality, and efficiency. Fix any issues found.
Run git diff (or git diff HEAD if there are staged changes) to see what changed. If there are no
git changes, review the most recently modified files that the user mentioned or that you edited
earlier in this conversation.
Use the Agent tool to launch all three agents concurrently in a single message. Pass each agent the full diff so it has the complete context.
For each change:
Review the same changes for hacky patterns:
a ? x : b ? y : ...), nested if/else, or nested switch
3+ levels deep — flatten with early returns, guard clauses, a lookup table, or an if/else-if
cascadeReview the same changes for efficiency:
Wait for all three agents to complete. Aggregate their findings and fix each issue directly. If a finding is a false positive or not worth addressing, note it and move on — do not argue with the finding, just skip it.
When done, briefly summarize what was fixed (or confirm the code was already clean).