원클릭으로
simplify
Review recent changes for unnecessary complexity, then fix
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Review recent changes for unnecessary complexity, then fix
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Guided git commit workflow — review changes, draft message, stage, commit
Manage context pressure during large codebase work without losing critical state.
Create a pull request with structured summary and test plan
Interactive debugging — reproduce, isolate, trace, fix
Explore a codebase or directory to understand its structure and purpose
Implement a requested code change end-to-end with scoped edits and verification.
| name | simplify |
| description | Review recent changes for unnecessary complexity, then fix |
| when_to_use | After completing a task, to clean up and simplify before delivery |
| required_tools | ["bash","symbol_search"] |
| tags | ["quality","refactor"] |
| activation | {"input_patterns":["(?i)(simplif|clean.?up|refactor|优化|简化)"]} |
${ARGS}
Run git diff to see recent changes. For each changed region: could this be simpler without losing correctness?
Abstractions that serve only one call site. Error handling for conditions that cannot occur. Comments restating the code. Defensive checks the type system already prevents. Variables used once on the next line. Wrapper functions adding no logic. Copy-paste that should be a loop or shared function.
Apply each simplification as a minimal, targeted edit. One concern per change. Verify the simplified code compiles and passes tests.
List what was simplified and why. If something looked complex but was justified, say so — not every pattern needs simplifying.