Skip to content

Conversation

@noahzweben
Copy link
Collaborator

Summary

  • Add a GitHub Actions CI workflow that validates marketplace.json is well-formed JSON with a plugins array whenever PRs modify .claude-plugin/marketplace.json
  • Add a Bun-based validation script (.github/scripts/validate-marketplace.ts) that parses the JSON and checks structure
  • Add unit tests (.github/workflows/test-marketplace-check.js) covering scenarios like new plugin additions, source changes, and metadata-only updates

Test plan

  • Run node .github/workflows/test-marketplace-check.js to verify all unit tests pass
  • Run bun .github/scripts/validate-marketplace.ts .claude-plugin/marketplace.json to validate the current marketplace.json
  • Create a test PR that modifies marketplace.json and verify the CI workflow triggers
  • Intentionally break marketplace.json (e.g., invalid JSON) and verify the workflow fails

Changelog

🤖 Generated with Claude Code (0% 4-shotted by claude-opus-4-6)

Add a GitHub Actions workflow that validates marketplace.json is
well-formed JSON with a plugins array whenever PRs modify it. Includes:
- validate-marketplace.ts: Bun script that parses and validates the JSON
- validate-marketplace.yml: GH Actions workflow triggered on PR changes
- test-marketplace-check.js: Unit tests for the validation logic

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@noahzweben noahzweben requested a review from a team February 6, 2026 19:59
@noahzweben noahzweben changed the base branch from noahz/initial_scaffold to main February 6, 2026 20:01
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