원클릭으로
refactor
Scan the project for refactoring opportunities, then fix them. No behavior/visual changes.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Scan the project for refactoring opportunities, then fix them. No behavior/visual changes.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
| name | refactor |
| description | Scan the project for refactoring opportunities, then fix them. No behavior/visual changes. |
Identify and fix code quality issues across the project without changing behavior, visuals, or public API.
pnpm check after all changes to verify no type errors were introducedLaunch an Explore agent to scan src/ for issues in these categories:
.svelte files > 300 lines that mix unrelated concerns and could be split (skip files with a // NOTE: Large file by design comment — these have been reviewed and deemed unsplittable)$state that duplicates or could be $derived from other stateSkip lines marked with // REFACTOR-OK: <reason> — these have been reviewed and intentionally kept as-is.
Output a numbered list of findings with file paths and line numbers, sorted by severity (high → low). Do NOT fix anything yet.
Present the findings list to the user. Ask which items to fix (e.g. "all", specific numbers, or "skip"). Wait for the user to respond before proceeding.
Fix only approved items, one at a time. After all fixes, run pnpm check to verify.
Briefly summarize what was changed.
Bump version, generate changelog draft, tag, and deploy a release.
Create a feature branch, commit changes, push, and open a PR to main.
Check docs/ai/ spec files and ADRs for inconsistencies with the actual codebase. Report only, no modifications.
Check docs/ai/ spec files and ADRs for inconsistencies with the codebase, then fix all discrepancies.
Scan the codebase for security vulnerabilities. Check OWASP top 10, input validation, auth, crypto, and known BACKLOG security items.
Create a new Architecture Decision Record (ADR) for a proposed feature or design change.