From hookify
hookify ルールを新規作成する。会話内の問題行動を分析してルール化、または明示的指示に基づいてルールを作成する。Use when hookify ルールの作成、フックルールの追加、行動防止ルールの設定を求められた際に使用する。
How this skill is triggered — by the user, by Claude, or both
Slash command
/hookify:hookifyThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
hookify ルールを新規作成する。会話分析モードと明示的指示モードの 2 つがある。
hookify ルールを新規作成する。会話分析モードと明示的指示モードの 2 つがある。
ルール構文の詳細は ${CLAUDE_PLUGIN_ROOT}/skills/hookify/references/rule-syntax.md を Read で参照する。
conversation-analyzer エージェントを Task ツールで起動し、現在の会話から防止すべき行動パターンを分析する。
エージェントが構造化された結果を返す。
提案されたルールごとに AskUserQuestion で確認する:
${CLAUDE_PLUGIN_ROOT}/skills/hookify/references/rule-syntax.md を Read で読み込み、ルール形式を参照する。
ユーザーの説明から以下を特定する:
YAML frontmatter 付きのマークダウンファイルとしてルールを下書きする。
AskUserQuestion でユーザーに確認する:
~/.claude/hooks-rules/) またはプロジェクト (.claude/hooks-rules/)対象ディレクトリが存在しない場合は作成する。
選択された場所にルールファイルを書き込む:
~/.claude/hooks-rules/{name}.md.claude/hooks-rules/{name}.mdルールの作成完了を報告し、テスト方法を説明する。
---
name: {name}
enabled: true
event: {event}
action: {action}
{tool_matcher 行 (必要な場合)}
{pattern または conditions}
---
{メッセージ本文}
npx claudepluginhub ronnnnn/cc --plugin hookifyCreates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.