refactor

Guides a refactor, cleanup, or restructure with the right decomposition. Use when the user asks to refactor, simplify, extract, or modernize code.

by code-yeongyu 69k GitHub stars Other Updated Sep 21, 2026
↑ GrowingActive Frontend CodexCursorOpenCode ⚠ No license
refactor skill by code-yeongyu
refactor — Frontend skill by code-yeongyu

Overview

refactor is an open-source frontend skill for Claude Code and compatible agents, published by code-yeongyu. Its author describes it as: “Guides a refactor, cleanup, or restructure with the right decomposition. Use when the user asks to refactor, simplify, extract, or modernize code.”. The project has 69k stars on GitHub and ships custom license terms, so review them before reuse. Add it to your setup with `git clone https://github.com/code-yeongyu/oh-my-openagent ~/.claude/skills/refactor`.

What refactor does

export const REFACTOR_TEMPLATE = `# Intelligent Refactor Command

What’s inside

The SKILL.md for refactor is organised into these sections:

  • Usage
  • What This Command Does
  • Step 0.1: Parse Request Type
  • Step 0.2: Validate Understanding
  • Step 0.3: Create Initial Todos
  • 1.1: Launch Parallel Explore Agents (BACKGROUND)
  • 1.2: Direct Tool Exploration (WHILE AGENTS RUN)
  • LSP Tools for Precise Analysis:
  • AST-Grep Skill for Pattern Analysis:
  • Grep for Text Patterns:
  • 1.3: Collect Background Results
  • 2.1: Construct Definitive Codemap

Installation

Add refactor to your agent with:

git clone https://github.com/code-yeongyu/oh-my-openagent ~/.claude/skills/refactor

Review a skill’s source before installing it — skills can instruct your agent to run commands. This command comes from the skill’s public repository, which is the source of truth for setup steps. New to skills? Read how to install Claude Code skills.

Supported agents

  • Codex — declared in the repository topics
  • Cursor — declared in the repository topics
  • OpenCode — declared in the repository topics

License

code-yeongyu has not declared a standard open-source license for this repository (Other). Confirm the terms with the author before reusing it.

Strengths

  • Ships in code-yeongyu/oh-my-openagent, an established project with 69,248 GitHub stars
  • Works with Codex, Cursor, OpenCode
  • Actively maintained — repository updated in the last 30 days
  • Its repository gained 2,357 GitHub stars over the last 52 days

Things to check

  • No license declared — confirm terms with the author before reuse

Author

code-yeongyu 49 skills in the catalog · GitHub profile ↗
View skills

Topics

Need a skill like this, tailored to your team?Build a custom skill →

Frequently asked questions

What does refactor do?
Guides a refactor, cleanup, or restructure with the right decomposition. Use when the user asks to refactor, simplify, extract, or modernize code.
How do I install refactor?
Run git clone https://github.com/code-yeongyu/oh-my-openagent ~/.claude/skills/refactor in your agent, then reload your skills. Review the source at https://github.com/code-yeongyu/oh-my-openagent before installing.
Is refactor free to use?
refactor is publicly available on GitHub, but code-yeongyu has not declared a standard open-source license (Other). Confirm the terms with the author before reusing it.
Which agents does refactor work with?
refactor lists Codex, Cursor, and OpenCode — named in its SKILL.md, its plugin marketplace or its repository topics. Skills use the portable SKILL.md format, so other agents that read that format may load it too.
Where does refactor come from?
refactor ships inside code-yeongyu/oh-my-openagent, a repository that contains 49 catalogued skills in total. The repository's 69,248 GitHub stars apply to that whole collection, not to this skill on its own.

QA the omo Codex Light edition (lazycodex / packages/omo-codex) itself, in strict isolation so ONLY our plugin is exercised, never the user's real ~/.codex. The first-party method drives the real `codex app-server` against an isolated CODEX_HOME plus a LOCAL mock model (no real API call), and proves a plugin hook fired by asserting hook/started + hook/completed notifications. Also: isolated install verification, per-component hook probes, a tmux TUI smoke, and runtime log observation (RUST_LOG / logs SQLite / /debug-config). Ships tested helper scripts each with a --self-test. Use whenever someone changes anything under packages/omo-codex or wants to QA, smoke-test, verify, or debug the Codex plugin, its hooks/components, the installer/config.toml, the app-server flow, or the Codex TUI. Triggers: codex qa, qa codex, codex-qa, test codex plugin, verify codex hook, codex app-server, lazycodex qa, isolated CODEX_HOME, prove codex hook fired, codex tui test.

↑ GrowingActive CodexCursorOpenCode
69k GitHub stars Other Updated Sep 21, 2026 Free

Read-only GitHub triage for issues AND PRs. 1 item = 1 background task (category: quick). Analyzes all open items and writes evidence-backed reports to /tmp/{datetime}/. Every claim requires a GitHub permalink as proof. NEVER takes any action on GitHub - no comments, no merges, no closes, no labels. Reports only. Triggers: 'triage', 'triage issues', 'triage PRs', 'github triage'.

↑ GrowingActive CodexCursorOpenCode
69k GitHub stars Other Updated Sep 21, 2026 Free

Create a high-signal bug issue or PR in the repo that owns the defect. Use this whenever the user asks to report, file, open, or triage a LazyCodex, lazycodex-ai, omo-codex, Codex plugin, or upstream Codex CLI bug, especially when they need source-backed root cause, reproduction steps, fix guidance, and GitHub routing.

↑ GrowingActive CodexCursorOpenCode
69k GitHub stars Other Updated Sep 21, 2026 Free

Explains any senpi tip in depth, including Tip: lines in the TUI. Use when the user asks about a tip, what a tipped feature does, or which tips they can see.

↑ GrowingActive CodexCursorOpenCode
69k GitHub stars Other Updated Sep 21, 2026 Free

Builds, styles, and polishes web UI and UX. Use for any frontend, page, component, styling, layout, animation, or visual-quality task, or when asked to make an interface look or feel a certain way.

↑ GrowingActive CodexCursorOpenCode
69k GitHub stars Other Updated Sep 21, 2026 Free