Skip to content

Conversation

@mcascone
Copy link

@mcascone mcascone commented Feb 3, 2026

Summary

  • Adds new "Disabling Hooks" subsection explaining that hooks are loaded from the plugin manifest, not auto-discovered by file presence
  • Adds warning to DON'T best practices list

Context

Discovered through real usage: renaming or deleting a hook script file doesn't disable it - Claude Code still tries to load the hook from the manifest and fails with a missing file error. The correct approach is to remove the hook entry from plugin.json/config.json.

Test plan

  • Verified information matches actual Claude Code behavior
  • Review renders correctly in skill documentation

🤖 Generated with Claude Code

Hooks are loaded from the plugin manifest, not auto-discovered by file
presence. Renaming or deleting a hook file doesn't disable it - you must
remove the hook entry from plugin.json/config.json.

Adds:
- New "Disabling Hooks" subsection with correct procedure
- Warning in DON'T best practices list

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@github-actions
Copy link

github-actions bot commented Feb 3, 2026

Thanks for your interest! This repo only accepts contributions from Anthropic team members. If you'd like to submit a plugin to the marketplace, please submit your plugin here.

@github-actions github-actions bot closed this Feb 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant