Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

correct

БесплатноБез исполняемых скриптовНе проверен

Find the mistakes agents keep repeating in this repo and make each impossible at the highest enforcing level — lint rule, type guard, runtime check, script…

Yeachan-Heoот Yeachan-Heo★ 41 149 звёзд на GitHub

Об этом скилле

Correct

Text instructions decay; structure reruns. This skill converts a repeated agent mistake into an enforcement the mistake cannot survive.

When to use

  • the same class of error appears twice or more (wrong import path, missed codegen step, broken invariant, slop pattern)
  • retrospective findings in .omc/notepads/ or review history name recurring friction

Workflow

  1. Collect. Mine the evidence — resolve OMC's state root first (the checkout's .omc/ by default; OMC_STATE_DIR or a parent .omc-workspace moves it, and a package-subdirectory launch must not read a stray checkout-local .omc): the notepads under <state-root>/notepads/*/problems.md, the verification ledger at <state-root>/state/verification-ledger.tsv, review comments, recent fix commits, and the user's feedback notes in the memory directory (${CLAUDE_CONFIG_DIR:-$HOME/.claude}/projects/<project>/memory/, notes with type: feedback): a note's count field, when present, counts how many times in total the user stated that correction, the first time included. Group by root cause, not by symptom.
  2. Rank. Frequency × cost. Take the top mistakes; one at a time. A feedback note with count 3 or more means the user has stated the same correction at least three times, that is, repeated it at least twice (count counts every statement, the first included: 1 = stated once, 2 = repeated once); read the count as the frequency and rank such a note first. A note without count counts as 1.
  3. Pick the highest enforcement level that works:
    1. linter rule / compiler error — the mistake stops compiling
    2. type-level guard — the mistake stops type-checking
    3. runtime check or assertion — the mistake fails loudly at the boundary
    4. script or codemod — the correct action is one command
    5. project skill text — the last resort; note why every higher level failed
  4. Implement the enforcement with its exception path documented (how a legitimate case opts out).
  5. Prove it fires. Reproduce the mistake deliberately and show the enforcement catching it, with real output. An enforcement you have not seen fire is a hypothesis (an external benchmark-checklist discipline applies).
  6. Record honestly: the ledger verdict matches what the repro actually exercised — a lint rule or type guard firing is enforcement-verified, a runtime check exercised by a test is unit-test-verified, a proof is formally-verified. Never record a stronger verdict than the evidence.

Rules

  • Never weaken an enforcement to make a test pass; the enforcement is the requirement now.
  • Record what was encoded in the state-root ledger (<state-root>/state/verification-ledger.tsv per the collection step) with the verdict the repro actually exercised (see workflow step 6) and the repro command as evidence.
  • Text added at level 5 references this skill, so the next occurrence tries to climb the ladder again.
Полный SKILL.md на GitHub

Установить correct в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл correct?

Find the mistakes agents keep repeating in this repo and make each impossible at the highest enforcing level — lint rule, type guard, runtime check, script, then text — with every enforcement proven to fire.

Как установить скилл correct?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл correct запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить correct с