model-onboarding
Onboard a new model generation or sibling into oh-my-hermes: probe router recognition, research the official contract, write…
[omh] Oversized or tangled UI component: behavior-preserving refactor of UI code - preview the full change plan first, apply as a second explicit step, and work impact-ordered from state architecture down to naming polish. Use when the user says: frontend-refactor,
Claude Code
$ npx -y skills add rlaope/oh-my-hermes --skill omh-frontend-refactor --agent claude-code
Codex
$ npx skills add rlaope/oh-my-hermes --skill omh-frontend-refactor -a codex -y
Cursor
$ npx skills add rlaope/oh-my-hermes --skill omh-frontend-refactor -a cursor -y
Gemini CLI
$ npx skills add rlaope/oh-my-hermes --skill omh-frontend-refactor -a gemini-cli -y
GitHub Copilot
$ npx skills add rlaope/oh-my-hermes --skill omh-frontend-refactor -a github-copilot -y
OpenCode
$ npx skills add rlaope/oh-my-hermes --skill omh-frontend-refactor -a opencode -y
Windsurf
$ npx skills add rlaope/oh-my-hermes --skill omh-frontend-refactor -a windsurf -y
name: "omh-frontend-refactor"
description: "[omh] Oversized or tangled UI component: behavior-preserving refactor of UI code - preview the full change plan first, apply as a second explicit step, and work impact-ordered from state architecture down to naming polish. Use when the user says: frontend-refactor, front-refactor, frontend refactor, refactor this component, refactor the component, refactor my component, component refactor, react refactor."
license: MIT
author: "oh-my-hermes maintainers"
metadata:
hermes:
tags: [workflow, oh-my-hermes, maintenance]
category: maintenance
phase: frontend-refactor
role: handoff-guide
quality_tier: behavior-lock-gated
related_skills: [omh-ai-slop-cleaner, omh-frontend, omh-code-review, omh-refactor-plan, ulw-plan]This is a Hermes-native `frontend-refactor` workflow skill.
`frontend-refactor` exists so UI restructuring runs as a previewed, behavior-locked, impact-ordered process instead of ad-hoc rewrites: the plan comes before any edit, state fixes come before polish, and every change carries its safety reason.
Good example:
Bad example:
Use when existing UI code needs restructuring without behavior change - an oversized component, boolean-flag state, effect chains, prop drilling - and the user wants a previewed, pass-ordered refactor plan rather than a new build or a verdict-only review.
Strong routing signals: `frontend-refactor`, `front-refactor`, `frontend refactor`, `refactor this component`, `refactor the component`, `refactor my component`, `component refactor`, `react refactor`, `refactor this hook`, `split this component`, `split the component`, `this component is too big`, `component is too large`, `state management review`, `state management`, `state colocation`, `too many useeffects`, `useeffect cleanup`, `clean up useeffect`, `prop drilling`, `컴포넌트 리팩터링`, `컴포넌트 리팩토링`, `컴포넌트 분리`, `컴포넌트가 너무 커`, `상태 관리 정리`, `상태 관리 리뷰`, `프론트 리팩터링`, `프론트엔드 리팩터링`, `useEffect 정리`, `рефакторинг компонента`, `раздели компонент`, `компонент слишком большой`, `рефакторинг фронта`, `разбей компонент`
Category: `maintenance` Phase: `frontend-refactor` Hermes role: `handoff-guide` Quality tier: `behavior-lock-gated` Reasoning demand: `heavy`
Quality bar:
Onboard a new model generation or sibling into oh-my-hermes: probe router recognition, research the official contract, write…
Review oh-my-hermes pull requests that have not been reviewed at their current head commit. Run manually to sweep the open…
Backfill labels across oh-my-hermes issues and pull requests. Run manually to sweep everything currently unlabeled, or pass a…
[omh] Large multi-part job to run on its own: plan it as a graph of small nodes, run the ready ones in parallel through Hermes'…
[omh] Screen-reader or keyboard accessibility gaps: prepare WCAG, keyboard, focus, screen-reader, target-size, and reflow…
[omh] Hermes badges unlocked and achievement progress: achievements observation: summarize hermes-achievements badges, tiers,…
Use your assigned AgentMail inbox to read email tasks, explicitly send or reply, and check delivery. Provided automatically by…
Create a new Architecture Decision Record with sequential numbering and AgentDB registration