ワンクリックで
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 職業分類に基づく
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.
| 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: