fix(plugins): repair broken hooks.json + add plugin-validate CI#232
Merged
Conversation
…idate CI
The empty-array hooks.json in private-equity, financial-analysis,
equity-research and wealth-management caused those plugins to fail to
load ("Hook load failed: expected object, received array"). Replace [] with
the minimal valid {"hooks": {}} object in all four.
Add a plugin-validate workflow that runs the official `claude plugin
validate` over the marketplace manifest and every plugin on each PR and
push, so a malformed manifest fails CI instead of reaching users. The
CLI is installed from the official binary channel and cached, keyed on a
pinned version, so a warm cache skips the download entirely.
dsaf-ant
approved these changes
May 18, 2026
This was referenced May 18, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
Four vertical plugins shipped
hooks/hooks.jsonas a bare[], which fails Claude Code's plugin loader:This broke
private-equity,financial-analysis,equity-research, andwealth-management(and generated a large number of duplicate community PRs all reporting the same thing).investment-bankingwas already correct.Fix
[]with the minimal valid{"hooks": {}}in all four affected plugins.plugin-validateGitHub Actions workflow that runs the officialclaude plugin validateover the marketplace manifest and every plugin on each PR/push. A malformed manifest now fails CI instead of reaching users — closing the root cause behind the duplicate-PR flood.CI workflow notes
claude.ai/install.sh, checksum-verified by the installer), pinned to a fixed version for reproducible builds.marketplace.jsonor synced skills).Supersedes the many single-file community PRs reporting this issue (e.g. #230) — this repairs all four broken plugins and prevents recurrence.