본문으로 건너뛰기
cccskills
무료GitHub에 공개

omh-refactor-plan

Turn an agreed code restructuring into a phased plan. Map affected files and dependencies, order the changes, and define checks and rollback points for each phase, producing a reviewable plan before implementation begins.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

원문원문 설명 보기

[omh] Decided cross-module refactor to phase: refactor planning - turn a decided boundary-changing refactor into a phased plan - reconnaissance, contracts-first phase order, per-phase verification and rollback, a files table, and an explicit approval gate before any edit. Use when the user says: refactor-plan, refactor plan, plan this refactor, plan the refactor, refactor planning, refactor phases, phased refactor, refactor in phases.

설치 방법 보기

이럴 때 유용합니다

  • Plan the extraction of one module from another
  • Break a large code restructuring into releasable phases
  • Prepare a dependency or framework upgrade
  • Review affected files, checks, and rollback points before editing

포함된 파일(3)

  • SKILL.md9.0 KB
  • references/dependency-upgrade.md5.2 KB
  • references/refactor-phases.md3.0 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

Refactor Plan

This is a Hermes-native refactor-plan workflow skill.

Why This Exists

refactor-plan exists because boundary-changing refactors bounced between goal planning and behavior-preserving cleanup with neither owning the execution shape: the phase order, the per-phase rollback, and the files table that make a large refactor reviewable and abortable.

Do Not Use When

  • The refactor's direction is still contested or the goal itself needs consensus planning; use ulw-plan.
  • The work is deletion-first cleanup with no boundary changes; use omh-ai-slop-cleaner.
  • The plan is done and the claim is that work is complete; use omh-verification-gate for the evidence close.
  • The version bump carries a security advisory, a CVE, or a leaked secret; use omh-security-event-response, which owns containment and closure.

Examples

Good example:

  • Prompt: We decided to split the billing module out of orders - plan the refactor so each step is shippable.
  • Expected behavior: Map affected files and consumers from the import graph, name hidden coupling and blast radius, order the five phases with per-phase verification and rollback, ship the files table, and stop at the approval gate.
  • Why: The direction is decided and the need is a phased, abortable execution shape - exactly this workflow's territory.

Bad example:

  • Prompt: Should we even split billing out of orders?
  • Expected behavior: Route to ralplan: the direction is not decided, so consensus planning comes before phase planning.
  • Why: A phase plan for a contested direction launders a decision through logistics.

Completion Checklist

  • Reconnaissance names affected files, boundaries, coupling, and blast radius from observed evidence.
  • Every phase carries its verification command and its rollback point, and ends at a shippable commit.
  • The files table covers every touched file with action, phase, and dependencies.
  • For an upgrade, every breaking change row names its call sites or an observed empty search, and every stage names its rollback.
  • The plan stopped at the approval gate; no implementation began without the user's go.

Recovery Notes

  • If the import graph is unavailable, build the codegraph first or reduce the plan's confidence and say which files are unverified.
  • If a phase cannot be made independently green, split it further; two half-phases beat one unabortable one.
  • If reconnaissance finds the direction itself is unsettled, route back to ralplan before ordering phases.

Workflow Lane

  • Current lane: Intent -> plan (oh-my-hermes, meta-router, deep-interview, context, plan, ralplan, adversarial-consensus, codebase-onboarding, +9 more) - clarify, plan, ship, or loop goals.
  • If intent belongs to another lane, hand back to oh-my-hermes or name the adjacent workflow.
  • Shared product, routing, compatibility, and evidence rules: skill_view(name='omh-routing', file_path='references/skill-common-rail.md').

When to Use

Use when a refactor that crosses module boundaries is already decided and needs its execution shaped: which files move in which phase, what verifies each phase, and where each phase rolls back to - before anything is edited.

Strong routing signals: `refactor-plan`, `refactor plan`, `plan this refactor`, `plan the refactor`, `refactor planning`, `refactor phases`, `phased refactor`, `refactor in phases`, `refactor rollback plan`, `blast radius`, `module restructure plan`, `restructure plan`, `dependency upgrade`, `major version upgrade`, `framework upgrade`, `upgrade to the next major`, `breaking change upgrade`, `lockfile`, `리팩터링 계획`, `리팩토링 계획`, `리팩터링 단계`, `단계별 리팩터링`, `리팩터링 계획 세워줘`, `리팩터링 롤백 계획`

Catalog Metadata

Category: planning Phase: refactor-plan Hermes role: planner Quality tier: plan-gated Reasoning demand: standard

Quality bar:

  • Reconnaissance first: affected files, ownership boundaries, hidden coupling, and blast radius are mapped before any phase is ordered; the full contract is omh-refactor-plan/references/refactor-phases.md.
  • Order phases contracts-first: types and interfaces, then implementations, then callers in reviewable groups, then tests, then cleanup - and name what verifies each phase and where it rolls back to.
  • Ship the files table with the plan: one row per file with action, phase, and blocks/blocked-by; a row without a phase is unplanned work.
  • Size verification to the blast radius, not to optimism: a phase touching public surfaces or persisted shapes carries the full gate, not the fast one.
  • For a dependency or framework upgrade, read four inputs before ordering phases — advisory and end-of-life intake, the licence delta at the target version, the upstream migration guide item by item against this codebase, and lockfile handling in the same commit as the manifest; a breaking change nobody checked is a gap, not a pass. The full contract is omh-refactor-plan/references/dependency-upgrade.md.
  • Stop at the approval gate and hand the user the go/no-go, whole plan or first phase.

Handoff policy:

Hermes owns reconnaissance and the phased plan; implementation of any approved phase is coding work for the selected executor lane under its own evidence rules. An approved plan is approval of the order, not evidence any phase ran.

Required inputs:

  • the decided target shape (what moves where), or a pointer to the accepted plan that decided it
  • the affected-file evidence: import graph, codegraph handoff, or an observed file inventory
  • the regression gates that exist today (test suite, typecheck, generated-artifact checks)

Expected outputs:

  • reconnaissance: affected files, ownership boundaries, hidden coupling, blast radius — and for an upgrade, the advisory, licence, migration-guide, and lockfile intake
  • phase plan in the fixed order - types/interfaces, implementations, callers, tests, cleanup - each with verification and rollback
  • files table: path, action, phase, blocks/blocked-by
  • for an upgrade, the call-site readiness gate: every breaking change between the two versions against this repository's call sites or an observed empty search, and every stage's rollback
  • the approval gate: the plan stops and waits for the user's go

Artifact expectations:

  • metadata-only runtime record when a wrapper or shell is available

Safety rules:

  • The plan comes from observed repo evidence, never from memory of the tree.
  • An upgrade plan is not ready while any breaking change lacks its call sites or an observed empty search, or any stage lacks its rollback; name the open rows instead of calling the bump safe to merge.
  • Every phase ends at a commit that could ship; a phase that cannot end green is split further.
  • Nothing is deleted before the cleanup phase, and cleanup starts from a tagged rollback point.
  • Do not begin implementing any phase without the user's explicit approval of the plan.

Runtime Evidence

Record observed delegation results; otherwise return not_available or not_observed. Prepared OMH routing is not execution, review, CI, merge-readiness, or merge evidence.

  • Treat wrapper memory/context summaries as advisory local context, not proof of opaque Hermes memory reads or changes. Preserve workflow intent and stop conditions; verify before claiming completion. Reply in the user's own words and the host's own voice: its SOUL.md persona owns reply language, tone, speech level, and sentence endings, progress updates included (where it sets no language, use the one the user wrote in), and OMH shapes structure and content only; OMH's record terms (surface, lane, wrapper, handoff, evidence boundary, not_observed) stay in records and tool calls, never in the sentence the user reads unless they ask about one; and when a real unresolved user decision or a useful briefing discussion remains, offer one specific, content-linked question. Completed work needs no question; omit unrelated non-action footers and generic offers to continue.

Use Hermes-native subagent/delegation features when available: native subagents -> Hermes delegation when available, otherwise sequential lanes.

Shared product, compatibility, topology, memory, harness, and execution rules: skill_view(name='omh-routing', file_path='references/skill-common-rail.md'). Load it when applicable; otherwise name an unavailable capability.

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

dag-ulw

무료

Coordinate a large job by splitting it into small tasks with explicit dependencies. Run ready tasks in parallel through Hermes, verify the combined result separately, and repair failures within defined limits before reporting completed work and remaining gaps.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Delivering a feature across multiple modules
  • Coordinating a migration with ordered steps
  • Managing a broad cleanup across separate work areas
rlaope/oh-my-hermes3.6천2026년 10월 23일 업데이트

Guide the addition of a new model generation to oh-my-hermes. The workflow checks model recognition, official specifications, routing rules that select models for tasks, documented pricing, and live access, then validates changes with tests and comparative benchmarks.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Add a new model generation to oh-my-hermes
  • Check API model IDs and dated snapshot recognition
  • Update model selection chains and related documentation
rlaope/oh-my-hermes3.6천2026년 10월 23일 업데이트

Prepare an accessibility audit for an interface using WCAG 2.2 AA, an accessibility standard. Organize evidence for keyboard use, screen readers, contrast, target size, and zoom behavior, then document findings, missing checks, and remediation handoffs.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Reviewing checkout accessibility against WCAG 2.2 AA
  • Checking keyboard access and focus order
  • Organizing screen-reader labels and announcement evidence
rlaope/oh-my-hermes3.6천2026년 10월 23일 업데이트

Summarize earned badges, recent unlocks, achievement tiers, and progress using local files from the hermes-achievements plugin. Prepare a badge list or report section while making missing information and the limits of the recorded snapshot clear.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Checking earned badges
  • Reviewing recently unlocked achievements
  • Finding progress toward the next achievement tier
rlaope/oh-my-hermes3.6천2026년 10월 23일 업데이트

Examine a technical proposal through independent perspectives, challenge their findings, and resolve objections. The result is a structured set of constraints, decisions, risks, and open questions for a separate planning workflow.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Reviewing a technical proposal before planning
  • Challenging assumptions behind a migration
  • Organizing risks and unresolved questions
rlaope/oh-my-hermes3.6천2026년 10월 23일 업데이트

Coordinate multiple Hermes agents or profiles through a shared task board. Organize assignments, handoffs, activity updates, blockers, and completion states, while distinguishing planned actions from work supported by observed results.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Coordinate agent roles for a launch checklist
  • Track task handoffs and blockers
  • Prepare work for pickup across profiles or after a restart
rlaope/oh-my-hermes3.6천2026년 10월 23일 업데이트

rlaope의 스킬 모두 보기

이 스킬의 문제 신고