Aller au contenu
Skillpedia
Agents41k · #7019

refit

Ce qu’il fait

Cette compétence examine la façon dont la configuration de travail a fonctionné au fil des sessions, par exemple des contrôles qui échouent sans cesse ou des exécutions bloquées. Elle s'adresse aux personnes qui veulent que leur environnement devienne plus fluide avec le temps.

Quand l’utiliser

  • ✓Quand le même contrôle ou la même étape échoue au fil de plusieurs sessions.
  • ✓Quand des exécutions automatisées se bloquent sans cesse ou répètent les mêmes étapes inutiles.
  • ✓Quand vous voulez un examen périodique de votre environnement de travail et de ses problèmes.

Lien du skill

https://github.com/Yeachan-Heo/oh-my-claudecode/blob/main/skills/refit/SKILL.md

Copiez-le et collez-le dans votre IA (Claude, ChatGPT ou Cursor) en lui demandant de suivre les instructions.

Comment l’utiliser

Le plus simple : copiez le message et collez-le dans votre IA. Elle lit le skill et suit les instructions.

Message prêt à coller

Utilise ce skill pour m’aider : https://github.com/Yeachan-Heo/oh-my-claudecode/blob/main/skills/refit/SKILL.md Lis le fichier SKILL.md de ce lien et suis ses instructions pour ma tâche.
Envie que votre IA trouve seule des skills comme celui-ci ?Installez le MCP gratuit de Skillpedia : une ligne, et elle cherche parmi 15 000+ skills avant chaque tâche.Installer en 1 minute →

Exemple de demande à votre IA

“Reprends nos sessions récentes et dis-moi quels problèmes répétés de notre configuration nous ralentissent.”

5 nouveaux skills par semaine. 1 minute de lecture.

Comment ça marche

L'agent lit les chronologies de session, les rapports de friction, les journaux et les notes de planification que oh-my-claudecode enregistre. Il classe chaque constat selon l'endroit où doit se trouver la correction et propose des modifications, mais n'écrit rien avant votre approbation.

Contenu technique (SKILL.md original)

Texte original de l’auteur, en anglais, directement depuis GitHub.

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
Questions fréquentes

Modifie-t-il quoi que ce soit sans demander ?

Non. Rien n'est écrit sans votre approbation.

Que se passe-t-il si aucun problème n'est trouvé ?

La compétence le dit clairement, car un résultat vide est une issue valable.

Examine-t-elle le code lui-même ?

Non. La revue de code et la vérification s'occupent du code, alors que cette compétence regarde l'environnement qui entoure le travail.

Détails

Description originale de l’auteur

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.

repo: Yeachan-Heo/oh-my-claudecode

Popularité

Étoiles GitHub
41k
Position au classement
#7019
Licence
MIT
Mis à jour
02/11/2026

Ce skill vous est-il utile ?

0

Connectez-vous pour voter.

Commentaires

  • …

Autres skills de ce dépôt

Skills similaires