원클릭으로
refactoring
Change the shape of code without changing behavior — safely, in small steps, preserving the project's layers and public contracts.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Change the shape of code without changing behavior — safely, in small steps, preserving the project's layers and public contracts.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Guard the project's architecture invariants. Use to evaluate any change affecting layers, boundaries, lifecycles, or contracts, and to decide whether an ADR is required.
Senior-level code review for the agent platform — architecture and boundaries first, then correctness, security, testability, and simplicity. Outputs a structured review.
Keep the repository's documentation accurate, honest, and synchronized with the code. Use when editing docs, README, AGENTS.md, or ADRs.
Work safely with Git — keep changes scoped and reviewable, never overwrite the user's work, and produce clear history. Use before editing, branching, staging, or committing.
Working on Python plugin tools, MCP server connections, tool invocation, or tool tracing. Primary task is tasks/0007-mcp-tools-and-permissions.md.
Foundational rules and layout for the declarative agent platform. Read this before any change, regardless of area; it anchors every other skill.
| name | refactoring |
| description | Change the shape of code without changing behavior — safely, in small steps, preserving the project's layers and public contracts. |
| generated | true |
| source | .ai/skills/refactoring.md |
Change the shape of code without changing its behavior, safely and in small steps, while preserving the project's layers and public contracts.
AGENTS.md (boundaries and "no large uncontrolled rewrites")..ai/skills/architecture-review.md (invariants you must preserve).make test after each meaningful step.make check; diff should be structure-only.make check passes.State: the goal of the refactor and its scope; the safety net used (existing or
added tests); the small steps taken; confirmation that public behavior/contracts
are unchanged and layers are intact; any renamed concepts and where they were
updated; and the make check result.