Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
58 changes: 58 additions & 0 deletions .github/workflows/plugin-validate.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
name: plugin-validate

# Runs the official Claude Code plugin linter over every plugin and the
# marketplace manifest. Catches malformed manifests (e.g. hooks.json as a
# bare [] instead of {"hooks": {}}) before they reach users.

on:
pull_request:
push:
branches: [main]

permissions:
contents: read

env:
# Pinned for reproducible builds + a stable cache key. Bump by setting this
# to a newer version from https://downloads.claude.ai/claude-code-releases/stable
CLAUDE_VERSION: 2.1.133

jobs:
validate:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Cache Claude Code CLI
id: cli-cache
uses: actions/cache@v4
with:
path: ~/.local/bin/claude
key: claude-cli-${{ runner.os }}-${{ env.CLAUDE_VERSION }}

- name: Install Claude Code CLI
if: steps.cli-cache.outputs.cache-hit != 'true'
run: curl -fsSL https://claude.ai/install.sh | bash -s "$CLAUDE_VERSION"

- name: Validate marketplace + every plugin
run: |
set -euo pipefail
export PATH="$HOME/.local/bin:$PATH"
claude --version
fail=0

echo "::group::marketplace"
claude plugin validate .claude-plugin/marketplace.json || fail=1
echo "::endgroup::"

while IFS= read -r manifest; do
plugin_dir="$(dirname "$(dirname "$manifest")")"
echo "::group::$plugin_dir"
claude plugin validate "$plugin_dir" || fail=1
echo "::endgroup::"
done < <(find plugins -path '*/.claude-plugin/plugin.json' | sort)

if [ "$fail" -ne 0 ]; then
echo "::error::plugin validation failed — see grouped logs above"
exit 1
fi
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "equity-research",
"version": "0.1.0",
"version": "0.1.1",
"description": "Equity research tools: earnings analysis, initiating coverage reports, and research workflows",
"author": {
"name": "Anthropic FSI"
Expand Down
4 changes: 3 additions & 1 deletion plugins/vertical-plugins/equity-research/hooks/hooks.json
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
[]
{
"hooks": {}
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "financial-analysis",
"version": "0.1.0",
"version": "0.1.1",
"description": "Core financial modeling and analysis tools: DCF, comps, LBO, 3-statement models, competitive analysis, and deck QC",
"author": {
"name": "Anthropic FSI"
Expand Down
4 changes: 3 additions & 1 deletion plugins/vertical-plugins/financial-analysis/hooks/hooks.json
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
[]
{
"hooks": {}
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "private-equity",
"version": "0.1.0",
"version": "0.1.1",
"description": "Private equity deal sourcing and workflow tools: company discovery, CRM integration, and founder outreach",
"author": {
"name": "Anthropic FSI"
Expand Down
4 changes: 3 additions & 1 deletion plugins/vertical-plugins/private-equity/hooks/hooks.json
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
[]
{
"hooks": {}
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "wealth-management",
"version": "0.1.0",
"version": "0.1.1",
"description": "Wealth management and financial advisory tools: client reviews, financial planning, portfolio analysis, and client reporting",
"author": {
"name": "Anthropic FSI"
Expand Down
4 changes: 3 additions & 1 deletion plugins/vertical-plugins/wealth-management/hooks/hooks.json
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
[]
{
"hooks": {}
}
Loading