/refine is a skill that helps agents take the step from “make it work” to “make it right”.
Download
/refineat https://github.com/thehale/skills
The skill directs the agent to work with you in three phases
- Align on domain terminology and public APIs (highly collaborative)
- Refine the code architecture (mix of collaboration/automation)
- Refine each layer of the implementation to avoid multiple common code smells (largely automated)
- Loop until no more refinement opportunities are found
It’s synthesized from hundreds of my own points of feedback to coding agents, Jorge Manrubia’s Code I Like series, and a few other refactoring guides I really like1.
The results have been excellent for me. It’s easily the most robust way I’ve developed so far for turning a slop grenade into something that resembles the quality I strived for in my handcrafted code.