跳到正文
cccskills
免费在 GitHub 公开

refit

Review records across OMC sessions to find recurring obstacles in the agent's working environment. It turns evidence from timelines, logs, and notes into ranked proposals for checks, guidance, tools, or information access, with changes requiring user approval.

中文简介正在准备中。当前显示英语简介。

原文查看原文说明

Cross-session environment retrospective driven by OMC's own instrumentation — trace timelines, friction reports, logs, and plan notepads. Every finding lands on the surface that owns the fix (deterministic check, steering volume, tooling, or information access); nothing is written without user approval.

查看安装方法

适用场景

  • Investigating errors repeated across sessions
  • Reviewing missing or disconnected automated checks
  • Improving access to logs and service state
  • Preparing improvement proposals in an unattended survey

包含的文件(1)

  • SKILL.md5.6 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Refit

Refit surveys the environment the agent worked in — not the code it produced (review and verify own that) and not one launch run's lessons (the sediment pass owns that). Every kind of work leaves friction behind: a ralph loop that kept tripping on the same check, an autopilot run that stalled waiting for a signal, a debugging session where the decisive output was never captured anywhere. OMC instruments all of it. Refit reads the instruments and converts recorded friction into environment changes, so the next run starts in a better yard.

Evidence first

The survey starts from OMC's instruments, not from a checklist. Read before asking the user anything:

  • trace_timeline / trace_summary — where turns stalled, repeated, or fanned out wastefully
  • omc session friction report — friction the session recorded about itself
  • .omc/logs/ and session state — errors, retries, swallowed failures
  • plan notepads .omc/notepads/*/issues.md and problems.md — problems that accumulated across a plan
  • the repo's own check surface (package.json scripts, CI workflows) — read before proposing any new check, because a check that exists but sits unwired or silently broken is the finding, not a reinvention

Findings emerge from what the data shows. An empty survey is a valid result and is stated plainly; an invented finding is the same violation as skipping the survey. A repo with no wired automated checks is itself a finding, not a neutral default.

Four fix-owner surfaces

Every finding names the surface that owns its fix. A finding that fits no surface is declined, explicitly and with the reason.

  1. Deterministic check — the failure was mechanical: a fixed syntactic pattern, a banned API, an import shape, a file-location rule. The fix is a lint rule, hook, or CI job — whichever the repo's existing guardrails make cheapest. Default to building the check over writing the rule.
  2. Steering surface — the failure was a judgement call no guardrail substitutes for: cross-file consistency, matches-surrounding-style. The fix lands in the matching docs/standards/ volume, or in CLAUDE.md/AGENTS.md within the thin-entry budget the launch sediment pass defines. Navigation pointers over prose.
  3. Tool surface — the drag was tooling itself: expensive or token-inefficient MCP calls, missing automation, checks too slow to be run when they matter. The fix lands in .mcp.json, scripts/, hooks, or OMC config.
  4. Information surface — the agent needed a signal it could not reach: dev-server logs, service state, third-party readonly access. The fix tees the log, exposes the state, or documents the access path.

The split rests on where enforcement pressure lives: implementation contexts carry the most of it (exploration, writing, and debugging all at once); review contexts receive a diff with none of it. Standards therefore belong to reviewers and checks — never to more instructions loaded onto the implementer.

Proposal and landing

  1. Present findings ranked by severity, each as finding → surface → intended change, with one line of instrument evidence (which instrument, what it showed).
  2. Stop for user approval. Each line is individually approvable or vetoable.
  3. Write approved findings to their surfaces. Before writing any steering prose, call the Skill tool with agent-doc-discipline and pass its verification checklist. A newly installed deterministic check must be proven to bite before it counts as landed: run it clean once, then demonstrate it failing on a deliberately introduced violation, then revert the violation. A check that cannot be shown failing goes back to the proposal — a guardrail nobody has seen fire is decoration, not protection.
  4. Record where each finding landed — one file location per line — so the next refit starts from the record, not from memory. A refit on a launch-run session starts from that run's sediment list; a launch run may defer a lesson to a later refit by naming it.

Headless refit (unattended invocation)

Refit is user-invoked, but its survey does not need the user at the keyboard to run — only to dispose. A host scheduler (cron, CI timer, an automation tool) may start a headless agent session that invokes this skill; the survey runs to its natural boundary under the same contract:

  • The survey reads the same instruments and lands nothing anywhere: headless refit produces the proposal list only — finding → surface → intended change, each with one line of instrument evidence — written to .omc/refit/pending-proposals.md and, when a notification channel is configured (configure-notifications), summarized there so the user learns a survey is waiting.
  • Nothing reaches a surface without the user's approval, exactly as in an interactive refit: proposals wait ranked, each independently vetoable, and the next interactive refit starts from the pending list instead of re-running the survey.
  • An empty survey is stated plainly ("no findings"), never padded — inventing findings is the same violation as skipping the survey.

Output

  • Findings ranked by severity, each with evidence, surface, and intended change — every line independently decidable
  • After approval: what landed and where
  • Declined findings, with reasons

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Write or revise instructions, specifications, tickets, and skill files so an agent can act without prior chat history. Make rules checkable, explain their reasons, define completion criteria, and keep authoritative information in one place.

中文简介正在准备中。当前显示英语简介。

  • Clarifying instructions in CLAUDE.md
  • Making specifications and tickets actionable
  • Adding completion criteria to skill procedures
Yeachan-Heo/oh-my-claudecode4万2026年10月21日 更新

Simplify bloated AI-generated code by removing dead code, duplicated logic, and unnecessary layers while checking that existing behavior stays intact. Use a limited cleanup scope, verify changes with relevant checks, or request a review without edits.

中文简介正在准备中。当前显示英语简介。

  • Removing duplicate logic and unused code
  • Simplifying unnecessary wrappers without changing behavior
  • Cleaning up only a specified set of changed files
Yeachan-Heo/oh-my-claudecode4万2026年10月21日 更新

Review module relationships and change history to identify structural improvements in a codebase. Receive ranked candidates with file references, suggested changes, and risks, plus a recommendation for where to start, without modifying code.

中文简介正在准备中。当前显示英语简介。

  • Reviewing architecture after a batch of changes
  • Investigating changes that touch too many files
  • Prioritizing structural improvements
Yeachan-Heo/oh-my-claudecode4万2026年10月21日 更新

ask

免费

Send questions, review requests, or implementation tasks to a supported local AI command-line tool through one shared command. The wrapper handles provider-specific options and saves the result as a Markdown file for later reference.

中文简介正在准备中。当前显示英语简介。

  • Requesting a security review of a patch
  • Seeking UX suggestions for a user flow
  • Drafting an implementation plan for an issue
Yeachan-Heo/oh-my-claudecode4万2026年10月21日 更新

Turn an unclear idea into linked decision tickets on a repository’s issue tracker. Work through one decision per session, record outcomes and dependencies, and prepare a brief defining the objective, scope, and exclusions for delivery.

中文简介正在准备中。当前显示英语简介。

  • Clarifying the destination of an early idea
  • Mapping decisions and their dependencies
  • Resuming unresolved decisions across sessions
Yeachan-Heo/oh-my-claudecode4万2026年10月21日 更新

autopilot

免费

Turn a short product idea into working code through requirements analysis, technical planning, implementation, testing, and review. It coordinates agents across these stages, fixes detected problems, and reports assumptions that still need a human decision.

中文简介正在准备中。当前显示英语简介。

  • Building a product from a short idea
  • Creating a bookstore inventory API
  • Developing a habit-tracking command-line tool
Yeachan-Heo/oh-my-claudecode4万2026年10月21日 更新

查看 Yeachan-Heo 的全部技能

报告此技能的问题