인터페이스는 현지화되어 있으며, Skill 소개와 설명 문서는 선택한 언어로 AI가 자동 번역합니다. 코드·명령어·경로·전문 용어는 원문을 유지하며 원작자 문서가 우선합니다.
Skills 둘러보기
개발 및 엔지니어링 · SKILL.md

simplify

simplify

Review all changed files for reuse, quality, and efficiency, then fix any issues found. Spawns three parallel review agents and aggregates findings into actionable fixes.

Independent GitHub snapshot · Automated classification · Original documentation governs

Skill 문서

GitHub

name: simplify description: Review all changed files for reuse, quality, and efficiency, then fix any issues found. Spawns three parallel review agents and aggregates findings into actionable fixes.

Simplify: Code Review and Cleanup

Overview

Review all changed files for reuse, quality, and efficiency. Fix any issues found.

Core principle: Identify changes -> Spawn three review agents in parallel -> Fix issues.

Announce at start: "I'm using the simplify skill to review changed code for reuse, quality, and efficiency."

Prerequisites

  • A git repository with uncommitted or recently committed changes.

Workflow

Phase 1: Identify Changes

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 were edited earlier in this conversation.

Save the full diff output — it will be passed to each review agent.

Phase 2: Spawn Three Review Agents in Parallel

Launch all three agents concurrently in a single message. Pass each agent the full diff as context.

AgentRole
code-reuse-reviewerFinds duplicated logic and missed existing utilities
code-quality-reviewerFinds hacky patterns that hurt maintainability
code-efficiency-reviewerFinds performance and resource issues

For Codex, if the Spellbook reviewer agent roles are available, use the namespaced role names:

Codex Agent RoleRole
spellbook-code-reuse-reviewerFinds duplicated logic and missed existing utilities
spellbook-code-quality-reviewerFinds hacky patterns that hurt maintainability
spellbook-code-efficiency-reviewerFinds performance and resource issues

Invocation example (Claude Code):

Use the Agent tool three times in a single message, each with the corresponding subagent_type:

  • code-reuse-reviewer
  • code-quality-reviewer
  • code-efficiency-reviewer

Pass each agent a prompt like:

Review the following diff for [reuse/quality/efficiency] issues.

<full diff here>

Invocation example (Codex):

If the namespaced role names are available in the spawn_agent tool, launch all three agents concurrently with the corresponding agent_type:

  • spellbook-code-reuse-reviewer
  • spellbook-code-quality-reviewer
  • spellbook-code-efficiency-reviewer

Pass each agent the same full diff.

For platforms without named agent support: run the three reviews sequentially using each agent's checklist from their definitions.

Phase 3: Fix Issues

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.

Phase 4: Summary

Briefly summarize what was fixed (or confirm the code was already clean).

Notes

  • This is a cleanup pass, not a formal code review. After this skill, use a dedicated review skill or process when merge readiness needs to be judged.
  • Keep fixes small and local — preserve behavior exactly.
  • Run the narrowest practical verification for the touched area when possible.
저장한 Skills