Files
holocron/plugins/kyberforge/skills/plugin-create/assets/plugin-template/hooks/README.md
Defame1297 9d0e8eb220 chore: rename create-plugin skill to plugin-create, add project settings
Renames plugins/kyberforge/skills/create-plugin/ to plugin-create/ to match
the directory-based skill name Claude Code uses for slash commands. Adds
.claude/settings.json with kyberforge plugin enabled. Gitignores
.claude/settings.local.json (machine-local MCP permissions).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-20 18:15:56 +00:00

654 B

hooks/

Claude Code only. Hook definitions that run in response to Claude Code events.

The hooks.json in this directory is read by Claude Code. Structure:

{
  "hooks": {
    "PostToolUse": [
      {
        "matcher": "Bash",
        "hooks": [
          { "type": "command", "command": "echo 'tool used'" }
        ]
      }
    ]
  }
}

Supported events: PreToolUse, PostToolUse, Notification, Stop.

Use ${CLAUDE_PLUGIN_ROOT} to reference scripts inside this plugin — the plugin runs from a cache path after install, not its original repo location.

For GitHub Copilot CLI hooks, see hooks.json at the plugin root.