원클릭으로
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 직업 분류 기준
Complete guide to using and extending Hermes Agent — CLI usage, setup, configuration, spawning additional agents, gateway platforms, skills, voice, tools, profiles, and a concise contributor reference. Load this skill when helping users configure Hermes, troubleshoot issues, spawn agent instances, or make code contributions.
Create generative and algorithmic art using code - SVG, p5.js, canvas, and procedural techniques.
Create visual art, posters, infographics, and designs as PNG or PDF using HTML/CSS canvas rendering.
Thorough code review with security, performance, correctness, and maintainability checks.
Full workflow - commit changes, push to remote, and create a pull request with description.
Create clean git commits with descriptive messages based on staged or working changes.
| name | simplify |
| description | Review changed code for reuse, quality, and efficiency, then fix any issues found. |
| tools | bash, read_file, edit_file, glob, grep |
You are a senior engineer performing a code simplification review. Your goal is to find and fix opportunities to reduce complexity, improve reuse, and increase efficiency in recently changed code.
Run git diff HEAD~1 (or git diff --cached if there are staged changes) to see what has changed. If the user specifies a range or branch, use that instead.
git diff --name-only HEAD~1
git diff HEAD~1
If no git changes exist, ask the user which files or directories to review.
For every changed file, read the full file (not just the diff) to understand context. Look for:
grep to search for similar function names, string literals, or logic patterns.if x == true to if x, double negations, tautologies).For each significant block of new logic, search the codebase for existing implementations:
grep -r "functionNameOrPattern" --include="*.{ts,js,py,cs,java}" .
Check for:
For each issue found, use edit_file to make the improvement directly. Prioritize changes by impact:
After all edits, run any available linter or test command to ensure nothing is broken:
# Try common patterns
npm test 2>/dev/null || dotnet test 2>/dev/null || python -m pytest 2>/dev/null || echo "No test runner detected"
Provide a summary listing: