원클릭으로
refine
My process of "refining" code — making code readable, tested and pointed to the goal.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
My process of "refining" code — making code readable, tested and pointed to the goal.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
| name | refine |
| description | My process of "refining" code — making code readable, tested and pointed to the goal. |
This skill should be used after writing a medium/large PRs. The ultimate goal of this skill is to produce code that looks like it was written by me, rather than a random developer.
Please review the guidelines detailed below and apply them to changes in the working copy (only those related to the current change).
Where possible, I like to follow the YAYNI (You aren't going to need it) princible. In short, we shouldn't add functionality until deemed necessary.
For example:
Look for these patterns in the files we touched and address them:
False starts: Code that was written as part of an abandoned approach
Experimental remnants:
Duplicated logic:
Naming inconsistencies:
Dead code should be deleted. The working approach should be consolidatd into clean, readable code. Files should be renamed to reflect their purpose. The final implementation should follow project conventions.
inspectorType: "field"/"section") should become enumsWriting tests is an important part of the software development process. Please write tests for any bug fixes or new features.
@see comment to mention the issue.All changes should follow my code style practices detailed in my global AGENTS.md file (or CLAUDE.md if you're a Claude agent).
Remember to run Laravel Pint when its installed: ./vendor/bin/pint
Report back with:
Commit, push and pull request a small fix in one go.
Makes the same change across multiple repositories.
Generate a changelog for a release
Write pull request descriptions that sound like they were written by Duncan.
Review a GitHub pull request with a code review mindset. Use when the user provides a PR number to review, asks to review a pull request, or wants inline code review of a PR's changes. If no PR number is given, detects it from the current branch.
Sync recent commits from "statamic/statamic" and config changes from "statamic/cms" into the boilerplate statamic/statamic application.