Refactor code

From CoWork-OS/CoWork-OS · View interactive version

Refactor code is an AI agent skill from the GitHub repository CoWork-OS/CoWork-OS. Improve code structure and readability

How to use this skill

Skill file

Refactor Code

Purpose

Improve code structure and readability

Routing

Trigger Examples

Positive

Negative

Parameters

| Name | Type | Required | Description |

| ----- | ------ | -------- | ---------------------------- |

| path | string | Yes | Path to the file to refactor |

| focus | select | Yes | What to focus on |

Runtime Prompt

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.