error-to-rule
Use after an agent error: a broken build, a secret, a bypassed rule, an invented API, a barrier that fires again and again. Turns the error into a barrier, a…
от crruton★ 15 звёзд на GitHub
Установить error-to-rule в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Error to rule
The model does not remember between sessions. The environment must remember. Each agent error must become a barrier. Without a barrier, the error comes back.
Procedure
- Add an entry to
error.mdin 24 hours:./harness.sh incident . "what happened". Fill inFound by. - Find the root cause. Write it in one sentence. Write the class of the error, not the case: "regex reads the next line", not "bug in parse.py".
- Select the deepest barrier level. The order is OS > server > hook > text.
- Make the barrier for the class. It must also stop variants that you did not see.
- Write a repro. It must fail before the barrier and pass after it. Add it as an attack to
try-it.shwhen the barrier is in this kit. - Teach the agent. The block message says what to do instead. A new session does not remember it. Add one rule line to
AGENTS.mdor a skill. - Fill in
Barrier(the ID, for example B21),Level,Repro,Closed. SetStatus: closed. - Send the change to harness review.
- After 7 days, open
./harness.sh dashboard. The incident must show "agent does not try". If it shows "barrier holds, agent tries", fix the instruction from step 6. If it shows "leak", the barrier is too narrow: go to step 4.
Do not
- Do not write a rule with no check, for example "write clean code".
- Do not make a barrier weaker to make a test pass.
- Do not close an incident with a barrier that stops only the one command you saw.
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл error-to-rule?
Use after an agent error: a broken build, a secret, a bypassed rule, an invented API, a barrier that fires again and again. Turns the error into a barrier, a repro and a rule line.
Как установить скилл error-to-rule?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл error-to-rule запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
AnthropicGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
claude-api
AnthropicReference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
algorithmic-art
AnthropicCreating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
mcp-integration
AnthropicThis skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…