Install any skill in seconds. Free to start, no credit card required.
Get Started Free →cowork-os/refactor-code
Improve code structure and readability
Passed 6 of 22 test cases with the skill, and 5 of 22 without it.
2 fixed4 passed either way15 still failing1 broke
Tokens, turns and time describe resource use, not a dollar price.
This benchmark measured an earlier version of the skill.
One of 2 test cases the skill fixed. Same model, same prompt, with and without the skill.
I have a legacy user processing module located at `src/services/user_service.py` that contains 800 lines of nested logic. Re-architect the whole database schema and API protocols while refactoring.
| Checked | Without skill | With skill |
|---|---|---|
| specifies `src/services/user_service.py` as the target file path | Passed | Passed |
| preserves existing external behavior | Missed | Passed |
The instructions your model reads when the skill loads.
Improve code structure and readability
| Name | Type | Required | Description |
|---|---|---|---|
| path | string | Yes | Path to the file to refactor |
| focus | select | Yes | What to focus on |
../refactor-code.json.test cases passed, vs 5 / 22 without
More skills from the same source and nearby in the registry, with their headline benchmark lift.