Skip to content

Add myron-polish skill for pre-review code polishing#1147

Merged
jwils merged 1 commit intomainfrom
joshuaw/add-myron-polish-skill
Apr 23, 2026
Merged

Add myron-polish skill for pre-review code polishing#1147
jwils merged 1 commit intomainfrom
joshuaw/add-myron-polish-skill

Conversation

@jwils
Copy link
Copy Markdown
Collaborator

@jwils jwils commented Apr 23, 2026

Summary

Test plan

  • Confirm the skill appears under /myron-polish in Claude Code.
  • Run /myron-polish on a branch with known violations and verify the loop terminates and the final report lists the edits.

🤖 Generated with Claude Code

Distills the patterns Myron Marston applies when reviewing merged PRs
(naming at the caller's level of abstraction, respond_to? as a code
smell, wrapper-class DI pattern, load-bearing tests, RBS/YARD hygiene,
etc.) into an edit-first skill.

Invoked as /myron-polish, the skill walks the current branch's diff
against main and applies fixes directly rather than producing review
comments. It loops — re-scan, apply edits, run script/lint --fix /
script/spellcheck -w / script/type_check / script/run_gem_specs — until
a full iteration makes zero edits and every verification command passes.
Capped at 8 iterations.

Source material: Myron's review bodies and inline comments on merged
PRs #974, #973, #1067, #1066, #1108, #1120, #1131, #1134, #1144, #1107.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Copy link
Copy Markdown
Collaborator

@myronmarston myronmarston left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I LOL'd a bit at this. Feels funny to call me out by name in the skill like this. I'll be curious to here how well it works in practice when you use it :).

I also think some of the things here are overly specific--we'll see if those situations arise again.

@jwils jwils merged commit 15144d1 into main Apr 23, 2026
25 checks passed
@jwils jwils deleted the joshuaw/add-myron-polish-skill branch April 23, 2026 15:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants