Skip to content

fix: correct hooks.json schema for plugin validation#141

Open
dineshsuthar31 wants to merge 1 commit intoanthropics:mainfrom
dineshsuthar31:fix-hooks-json-schema
Open

fix: correct hooks.json schema for plugin validation#141
dineshsuthar31 wants to merge 1 commit intoanthropics:mainfrom
dineshsuthar31:fix-hooks-json-schema

Conversation

@dineshsuthar31
Copy link
Copy Markdown

Summary

Fixes invalid hooks/hooks.json schema in multiple vertical plugins.

The affected plugins shipped with:

[]

However, Claude Code expects the hooks file to follow the object schema:
{
"hooks": {}
}

This caused plugin load failures during post-install validation.

Updated Plugins

  • financial-analysis
  • equity-research
  • private-equity
  • wealth-management

Changes

Replaced invalid array-based hook placeholders with the expected object schema:
{
"hooks": {}
}

This matches the existing structure already used in the investment-banking plugin.

Result

Plugins now pass hook validation successfully during installation.

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