
Description
orch-refine-code is an agent skill from the ECC collection by affaan-m, listed on skills.sh. It orchestrates a behaviour-preserving refactor: it confirms the tests are green, restructures the code without changing what it does, keeps the tests green throughout, reviews the result, and makes a gated commit. It is a thin wrapper over the shared orch-pipeline engine, which delegates each phase to matching ECC agents and commands rather than doing the work itself. It applies when the goal is better structure with the same behaviour, such as extracting modules, removing duplication, deleting dead code, reducing nesting, or renaming for clarity. The skill is explicit about its boundary: if the behaviour is meant to change at all, it is the wrong skill, and the work belongs to orch-change-feature or orch-fix-defect. A skill is a SKILL.md file of instructions that an AI agent loads when a task calls for it. It is free and open source, and the skills.sh listing shows all three security audits passing.…
Highlights
- Confirms tests are green before starting
- Restructures without changing behaviour
- Keeps tests green throughout
- Review and gated commit
Ratings & Reviews
No ratings yet
Be the first to rate orch-refine-code.
People also visit
orch-refine-code FAQ
What does the orch-refine-code skill do?
It runs a refactor that keeps behaviour the same, checking the tests before and after and ending with a review and gated commit.
What kinds of refactoring does it cover?
Extracting modules, removing duplication and dead code, reducing nesting and renaming for clarity.
When is it the wrong skill?
When behaviour is meant to change. Use orch-change-feature for intended changes, or orch-fix-defect for bugs.
How do I install it?
Run: npx skills add https://github.com/affaan-m/ecc --skill orch-refine-code
Is it free?
Yes. It is free and open source.
Are there security findings?
The skills.sh listing shows Gen Agent Trust Hub, Socket and Snyk all passing.
What are the best orch-refine-code alternatives?
Popular alternatives to orch-refine-code include orch-change-feature, orch-add-feature and orch-pipeline. See all orch-refine-code alternatives

