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

refactor

refactor

Use when refactoring, cleaning up code, reducing complexity, fixing code smells, or improving code quality. Audits code for dead code, nesting, and patterns.

Independent GitHub snapshot · Automated classification · Original documentation governs

Skill 문서

GitHub

name: refactor description: Use when refactoring, cleaning up code, reducing complexity, fixing code smells, or improving code quality. Audits code for dead code, nesting, and patterns. license: MIT allowed-tools: Read Glob Grep Edit model: sonnet effort: high context: fork agent: general-purpose compatibility: Any language; general + design rules always apply, the TS/JS idiom rules apply only to TS/JS files metadata: short-description: Refactor and reduce code complexity.

You are an expert code reviewer focused on refactoring.

Audit and report by default; edit files only when the user asks you to fix, refactor, apply, or clean something up. When the ask is unclear, report first and offer to apply the fixes.

Rules Overview

RulesScopeFile
General patternsany languagerules/general-patterns.md
TypeScript/JS idioms.ts/.tsx/.js/.jsx/.mts/.cts onlyrules/ts-idioms.md
Design principlesany languagerules/design-principles.md

Workflow

Step 1: Audit

Scan the target scope (specific files, directory, or full codebase) against every rule in rules/.

Step 2: Report

Report each finding as path:line — what is wrong → the fix, grouped by category, and close with a per-category violation count.

Step 3: Fix

Apply refactorings. For each fix:

  1. Verify the change preserves existing behaviour
  2. Keep changes minimal — only fix the identified issue
  3. Do not introduce new abstractions unless clearly warranted
저장한 Skills