durable-rules
Turn friction from a coding session, or patterns from finished work, into checks, conventions, instruction changes, or skill changes so they don't recur. Use…
от Integralist★ 31 звезда на GitHub
Установить durable-rules в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Look for recurring friction and systemic patterns in a coding session or finished work. Propose durable fixes—checks, conventions, instruction changes, or skill changes. A one-off mistake or waste is not a rule. Read and follow writing-for-agents for any instruction text you propose.
Workflow
- Read the source. When run alone, read the session transcript or logs on
this machine, defaulting to the current session, plus
~/.agents/papercuts.jsonlwhen it exists. Pass--papercutsto triage logged papercuts directly (grouping recurring entries by skill or tool) without reading a full transcript. When called at the end of another skill, use its findings, recent prompts, and the agent's behaviour. Read the source end to end. - Find candidates in every category. If nothing durable surfaced, say so
and stop.
- Automated checks: Read the repo's build and check commands first
(
package.json,Makefile, CI). An existing but unwired or broken check is the top finding. A repo without pre-commit or CI checks for lint, typecheck, and tests has a standing finding. - Conventions and anti-patterns: Judgement calls the agent got wrong or a reviewer had to catch.
- Navigation: Files that took many tool calls to find.
- Context and tool costs: Repeated reads, broad greps, oversized output, redundant exploration with a reusable fix, and always-loaded instructions that do not change behaviour. Token metrics are not needed.
- Information access: Missing feeds that forced guessing, such as dev server logs or read-only third-party access.
- Skill behaviour: A skill that misfired or a repeated workflow with no
skill. For skill regressions or edge cases, also propose adding a fixed
case to
.agents/skills/<skill>/evals/cases.jsonper eval.
- Automated checks: Read the repo's build and check commands first
(
- Choose a destination. Route every candidate using Where things go below. Update an existing file that covers the topic before proposing a new one.
- Confirm before writing. Present proposals ranked by severity, with a
destination for each. Write only after the user confirms. Edit source repos
only—never installed copies (
~/.agents/,~/.claude/) or files with ageneratedbanner. Then regenerate withmake rulesormakein that repo. If triaged from~/.agents/papercuts.jsonl, ask before pruning resolved entries with papercut-log.
Where things go
Keep always-loaded steering short: implementation runs under high context pressure, while review sees a diff and little else. Put detailed standards where they are checked.
- Mechanical rules (syntax, banned APIs, import shape, file paths): linter, pre-commit hook, or CI check.
AGENTS.md: Only what the agents-md skill's rubric allows: why the project exists, where things are, how to build, test, and lint, plus gotchas and conventions the code does not reveal. Keep it under about 200 lines and make changes through the agents-md skill.- Longer standards checked at review: the repo's conventions directory,
CODING_STANDARDS.md(add navigation pointers after about 1,000 lines), or convention skills, with a pointer fromAGENTS.md. docs/: References loaded on demand through pointers.- Skills: Extend one whose scope fits, or propose a skill for a distinct,
repeated workflow, in the project's
.agents/skills/. - Cross-project rules: Put them in the global source repo.
Global source repo
Global skills and conventions live in
https://github.com/Integralist/agent-skills. Find its local clone by checking
these paths:
~/code/agent-skills,~/src/agent-skills,~/projects/agent-skills, and~/dev/agent-skills.readlink ~/.claude/skillsorreadlink ~/.agents/skills.find ~/code ~/src ~/projects -maxdepth 3 -type d -name agent-skills.
Confirm the clone with git -C <path> remote get-url origin. If it is still
missing, ask the user for its path.
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл durable-rules?
Turn friction from a coding session, or patterns from finished work, into checks, conventions, instruction changes, or skill changes so they don't recur. Use when a session ran slow, hit repeated errors, or had tool or context friction; when the user asks what should be codified so it doesn't happen again; or at the end of a plan or piece of work.
Как установить скилл durable-rules?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл durable-rules запускает скрипты?
Нет, скилл состоит только из инструкций (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…