ワンクリックで
simplify
Behavior-preserving cleanup of recently changed code for reuse, clarity, consistency, and efficiency.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Behavior-preserving cleanup of recently changed code for reuse, clarity, consistency, and efficiency.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Build a threat model for a codebase — map assets, entry points, trust boundaries, and the threats that matter — and write THREAT_MODEL.md to focus later scanning and triage.
Explore an existing codebase, design a concrete feature architecture, implement in small phases, and verify with focused tests.
Verify, deduplicate, rank, and route raw security findings from VULN-FINDINGS.json, scanner output, or a markdown report, then write TRIAGE.json and TRIAGE.md.
Static source-code vulnerability scan that maps focus areas, fans out read-only security agents, and writes VULN-FINDINGS.json plus VULN-FINDINGS.md for triage.
High-precision review of code changes for real bugs, security regressions, and explicit project-guideline violations, with independent verification before reporting.
Generate minimal, behavior-preserving fixes for verified security findings, then verify each fix builds, passes tests, and closes the root cause.
| name | simplify |
| description | Behavior-preserving cleanup of recently changed code for reuse, clarity, consistency, and efficiency. |
| when-to-use | After completing code changes, to clean up and improve code quality before committing. |
Review all changed files for reuse, quality, and efficiency, then fix what's worth fixing. This is a quality pass, not a bug hunt — use /code-review for correctness.
Preserve behavior exactly. Every change here must leave functionality, outputs, and public contracts identical — you are changing how the code reads, never what it does. Prefer clear, explicit code over clever or maximally compact code; readability wins over fewer lines.
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.
Launch all three as code-reviewer agents concurrently in a single message. Pass each the full diff so it has complete context. These discovery agents are read-only; you make the edits after aggregating their findings.
For each change:
Review the same changes for hacky patterns:
Review 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).