From 5fca6662626d7dbc7c5af58ec9e1d4b3d697fd27 Mon Sep 17 00:00:00 2001 From: Filipe Utzig Date: Wed, 6 May 2026 10:46:30 -0300 Subject: [PATCH 1/2] chore: add CI workflow to validate plugin manifest on every PR Adds `.github/workflows/ci.yaml` that installs Claude Code and runs `claude plugin validate` against both plugin.json and marketplace.json on every pull request and push to master. Converts manifest correctness from a reviewer-enforced soft invariant into a hard CI gate. Refs #33 Co-Authored-By: Claude Sonnet 4.6 --- .github/workflows/ci.yaml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .github/workflows/ci.yaml diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml new file mode 100644 index 0000000..f860cc5 --- /dev/null +++ b/.github/workflows/ci.yaml @@ -0,0 +1,27 @@ +name: CI + +on: + pull_request: + branches: + - "*" + push: + branches: + - master + +permissions: + contents: read + +jobs: + validate-plugin: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v6 + + - name: Install Claude Code + run: npm install -g @anthropic-ai/claude-code + + - name: Validate marketplace manifest + run: claude plugin validate .claude-plugin/marketplace.json + + - name: Validate plugin manifest + run: claude plugin validate .claude-plugin/plugin.json From 74a867fe46b9da2d15fdb958a8f65be80f6ca490 Mon Sep 17 00:00:00 2001 From: Filipe Utzig Date: Wed, 6 May 2026 11:07:31 -0300 Subject: [PATCH 2/2] chore: add $schema to manifests and version check to CI - Add $schema to plugin.json and marketplace.json for IDE validation - Add marketplace description (resolves claude plugin validate warning) - Add `claude --version` step to CI for install verification Refs #33 Co-Authored-By: Claude Sonnet 4.6 --- .claude-plugin/marketplace.json | 2 ++ .claude-plugin/plugin.json | 1 + .github/workflows/ci.yaml | 3 +++ 3 files changed, 6 insertions(+) diff --git a/.claude-plugin/marketplace.json b/.claude-plugin/marketplace.json index 928cbe1..864e4a4 100644 --- a/.claude-plugin/marketplace.json +++ b/.claude-plugin/marketplace.json @@ -1,5 +1,7 @@ { + "$schema": "https://json.schemastore.org/claude-code-marketplace.json", "name": "gringolito", + "description": "Plugins by Filipe Utzig", "owner": { "name": "Filipe Utzig", "email": "filipe@gringolito.com" diff --git a/.claude-plugin/plugin.json b/.claude-plugin/plugin.json index 993257d..e076007 100644 --- a/.claude-plugin/plugin.json +++ b/.claude-plugin/plugin.json @@ -1,4 +1,5 @@ { + "$schema": "https://json.schemastore.org/claude-code-plugin-manifest.json", "name": "github-backlog-management", "description": "GitHub-native backlog automation. Manage Issues + Projects v2 with AI-enforced INVEST quality, dependency tracking, and one-command execution.", "version": "0.2.0", diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index f860cc5..5eec63a 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -20,6 +20,9 @@ jobs: - name: Install Claude Code run: npm install -g @anthropic-ai/claude-code + - name: Check Claude Code installed version + run: claude --version + - name: Validate marketplace manifest run: claude plugin validate .claude-plugin/marketplace.json