configure
Enable or disable hookify rules interactively
от smartworldarafath★ 16 звёзд на GitHub
Установить configure в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Configure Hookify Rules
Load hookify:writing-rules skill first to understand rule format.
Enable or disable existing hookify rules using an interactive interface.
Steps
1. Find Existing Rules
Use run_command tool to find all hookify rule files:
pattern: ".claude/hookify.*.local.md"
If no rules found, inform user:
No hookify rules configured yet. Use `/hookify` to create your first rule.
2. view_file Current State
For each rule file:
- view_file the file
- Extract
nameandenabledfields from frontmatter - Build list of rules with current state
3. Ask User Which Rules to Toggle
Use ask_question to let user select rules:
{
"questions": [
{
"question": "Which rules would you like to enable or disable?",
"header": "Configure",
"multiSelect": true,
"options": [
{
"label": "warn-dangerous-rm (currently enabled)",
"description": "Warns about rm -rf commands"
},
{
"label": "warn-console-log (currently disabled)",
"description": "Warns about console.log in code"
},
{
"label": "require-tests (currently enabled)",
"description": "Requires tests before stopping"
}
]
}
]
}
Option format:
- Label:
{rule-name} (currently {enabled|disabled}) - Description: Brief description from rule's message or pattern
4. Parse User Selection
For each selected rule:
- Determine current state from label (enabled/disabled)
- Toggle state: enabled → disabled, disabled → enabled
5. Update Rule Files
For each rule to toggle:
- Use view_file tool to read current content
- Use replace_file_content tool to change
enabled: truetoenabled: false(or vice versa) - Handle both with and without quotes
replace_file_content pattern for enabling:
old_string: "enabled: false"
new_string: "enabled: true"
replace_file_content pattern for disabling:
old_string: "enabled: true"
new_string: "enabled: false"
6. Confirm Changes
Show user what was changed:
## Hookify Rules Updated
**Enabled:**
- warn-console-log
**Disabled:**
- warn-dangerous-rm
**Unchanged:**
- require-tests
Changes apply immediately - no restart needed
Important Notes
- Changes take effect immediately on next tool use
- You can also manually edit .claude/hookify.*.local.md files
- To permanently remove a rule, delete its .local.md file
- Use
/hookify:listto see all configured rules
Edge Cases
No rules to configure:
- Show message about using
/hookifyto create rules first
User selects no rules:
- Inform that no changes were made
File read/write errors:
- Inform user of specific error
- Suggest manual editing as fallback
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл configure?
Enable or disable hookify rules interactively
Как установить скилл configure?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл configure запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
AnthropicToolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
access
AnthropicManage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
configure
AnthropicSet up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
access
AnthropicManage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…