원클릭으로
refactor
Safely refactor code while maintaining all tests and type safety (Daniel Okoye's workflow)
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Safely refactor code while maintaining all tests and type safety (Daniel Okoye's workflow)
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Add a new implementation of the primary protocol/interface (Alex Rivera's workflow)
Add a new API endpoint following all project standards
Plan and implement a complete feature end-to-end across all layers
Full codebase audit — dead code, layer violations, concurrency, observability, code quality
Set up or update GitHub Actions CI/CD pipeline (Marcus Chen's workflow)
Remove dead code, unused imports, stale files, and fix code quality issues found by /audit
| name | refactor |
| description | Safely refactor code while maintaining all tests and type safety (Daniel Okoye's workflow) |
| disable-model-invocation | true |
Refactor: $ARGUMENTS
Follow Daniel Okoye's architecture standards:
Baseline: Run the test and type-check commands (see project config) BEFORE making any changes. If either fails, fix existing issues first — never refactor on a broken baseline.
Analyze: Read the code to be refactored and all its callers
Refactor rules:
If splitting files:
__init__.py exports if neededIf renaming:
Verify: Run the test and type-check commands again. All tests MUST still pass. No new type errors. No regressions.