promote-rule
Propose to turn a lasting principle the user states into a rule, at the correct level, and write it only after the user agrees. Use when the user says "from…
от felipeam86★ 25 звёзд на GitHub
Установить promote-rule в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Promote rule
Propose a rule only for a principle that outlives the current work. A decision for one piece of work goes in its issue or its code, not in a rule file.
Choose the level by scope:
- Every project:
~/.claude/CLAUDE.md. - One repository: the
CLAUDE.mdat its root. - One repeated workflow: the skill that runs it.
Read the target file first. When a rule there already covers the principle, sharpen or replace it instead of adding one.
Propose at most one rule per turn, in one message: the exact line, the file, and why that level fits. For example: "I suggest that we promote this as a rule: . It goes in the repository CLAUDE.md, because it holds only for this repository. What do you think?"
Write only after a yes, in the user's words when they change yours. After a no, do not propose it again in this session. An explicit request to record a rule is the yes.
Write the rule in at most two lines, in the present tense, with its reason, next to the rules it belongs with.
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл promote-rule?
Propose to turn a lasting principle the user states into a rule, at the correct level, and write it only after the user agrees. Use when the user says "from now on", "always", "never", "add that rule", "record this", or "remember this", or states a principle that outlives the current work.
Как установить скилл promote-rule?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл promote-rule запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
doc-coauthoring
AnthropicGuide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
academy-guide
AnthropicStop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
internal-comms
AnthropicA set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
skill-development
AnthropicThis skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…