diff --git a/.github/workflows/marketplace.yml b/.github/workflows/agentic-marketplace.yml similarity index 86% rename from .github/workflows/marketplace.yml rename to .github/workflows/agentic-marketplace.yml index 7e47761..a112e95 100644 --- a/.github/workflows/marketplace.yml +++ b/.github/workflows/agentic-marketplace.yml @@ -1,4 +1,4 @@ -name: Marketplace Pipeline +name: Agentic Marketplace Pipeline on: workflow_call: inputs: @@ -33,7 +33,7 @@ jobs: - name: Discover components id: discover - uses: bitcomplete/bc-github-actions/marketplace/discover@v1 + uses: bitcomplete/bc-github-actions/agentic-marketplace/discover@v1 with: config-path: ${{ inputs.config-path }} @@ -47,7 +47,7 @@ jobs: uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 - name: Validate components - uses: bitcomplete/bc-github-actions/marketplace/validate@v1 + uses: bitcomplete/bc-github-actions/agentic-marketplace/validate@v1 with: config-path: ${{ inputs.config-path }} @@ -63,7 +63,7 @@ jobs: uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 - name: Generate marketplace files - uses: bitcomplete/bc-github-actions/marketplace/generate@v1 + uses: bitcomplete/bc-github-actions/agentic-marketplace/generate@v1 with: config-path: ${{ inputs.config-path }} github-token: ${{ secrets.token }} diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 1ca1dfa..c272e3a 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -40,18 +40,15 @@ jobs: test-discover-action: runs-on: ubuntu-latest - defaults: - run: - working-directory: test-fixtures/valid steps: - name: Checkout code uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 - name: Test discover action id: discover - uses: ./marketplace/discover + uses: ./agentic-marketplace/discover with: - config-path: '.claude-plugin/generator.config.toml' + config-path: 'test-fixtures/valid/.claude-plugin/generator.config.toml' - name: Verify discovery output run: | @@ -60,17 +57,14 @@ jobs: test-validate-action: runs-on: ubuntu-latest - defaults: - run: - working-directory: test-fixtures/valid steps: - name: Checkout code uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 - name: Test validate action - uses: ./marketplace/validate + uses: ./agentic-marketplace/validate with: - config-path: '.claude-plugin/generator.config.toml' + config-path: 'test-fixtures/valid/.claude-plugin/generator.config.toml' test-end-to-end: runs-on: ubuntu-latest diff --git a/CLAUDE.md b/CLAUDE.md index 6fdee0e..c2615b4 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -27,8 +27,8 @@ bc-github-actions/ │ └── workflows/ │ ├── test.yml # Self-tests │ ├── release.yml # Version tagging automation -│ └── marketplace.yml # REUSABLE WORKFLOW -├── marketplace/ +│ └── agentic-marketplace.yml # REUSABLE WORKFLOW +├── agentic-marketplace/ │ ├── discover/ │ │ └── action.yml # Composite action │ ├── validate/ @@ -62,12 +62,12 @@ bc-github-actions/ ### 1. Hybrid Approach: Composite Actions + Reusable Workflow -**Reusable workflow** (`.github/workflows/marketplace.yml`) for: -- Full marketplace pipelines (orchestrating steps) +**Reusable workflow** (`.github/workflows/agentic-marketplace.yml`) for: +- Full agentic marketplace pipelines (orchestrating steps) - Operations requiring secrets (GitHub token for PRs) - Job-level parallelism -**Composite actions** (`marketplace/*/action.yml`) for: +**Composite actions** (`agentic-marketplace/*/action.yml`) for: - Single-purpose operations (discover, validate, generate) - Maximum composability - Can be used standalone or via workflow diff --git a/README.md b/README.md index dda440b..351c46b 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ Reusable GitHub Actions workflows for Claude Code development and Platform Engin ## Actions -### Marketplace Automation +### Agentic Marketplace Automation Automates Claude Code plugin marketplace management through auto-discovery, validation, and synchronization. @@ -14,11 +14,11 @@ Automates Claude Code plugin marketplace management through auto-discovery, vali - Automatic marketplace.json generation - PR-based workflow with optional auto-merge -[View marketplace action documentation →](marketplace/README.md) +[View agentic-marketplace action documentation →](agentic-marketplace/README.md) -## Basic Marketplace Publish Workflow +## Basic Agentic Marketplace Publish Workflow -When you push changes to a marketplace repository, the workflow automatically discovers, validates, and updates your marketplace.json: +When you push changes to an agentic marketplace repository, the workflow automatically discovers, validates, and updates your marketplace.json: ```mermaid graph LR @@ -52,12 +52,12 @@ This happens automatically on every push to your main branch. No manual JSON edi ## Quick Start -### Using Marketplace Automation +### Using Agentic Marketplace Automation -Add this to `.github/workflows/marketplace.yml` in your marketplace repository: +Add this to `.github/workflows/agentic-marketplace.yml` in your marketplace repository: ```yaml -name: Update Marketplace +name: Update Agentic Marketplace on: push: @@ -67,7 +67,7 @@ on: jobs: update: - uses: bitcomplete/bc-github-actions/.github/workflows/marketplace.yml@v1 + uses: bitcomplete/bc-github-actions/.github/workflows/agentic-marketplace.yml@v1 with: config-path: .claude-plugin/generator.config.toml secrets: @@ -77,15 +77,15 @@ jobs: Or use individual actions in your own workflow: ```yaml -- uses: bitcomplete/bc-github-actions/marketplace/discover@v1 +- uses: bitcomplete/bc-github-actions/agentic-marketplace/discover@v1 with: config-path: .claude-plugin/generator.config.toml -- uses: bitcomplete/bc-github-actions/marketplace/validate@v1 +- uses: bitcomplete/bc-github-actions/agentic-marketplace/validate@v1 with: config-path: .claude-plugin/generator.config.toml -- uses: bitcomplete/bc-github-actions/marketplace/generate@v1 +- uses: bitcomplete/bc-github-actions/agentic-marketplace/generate@v1 with: config-path: .claude-plugin/generator.config.toml github-token: ${{ secrets.GITHUB_TOKEN }} diff --git a/marketplace/README.md b/agentic-marketplace/README.md similarity index 88% rename from marketplace/README.md rename to agentic-marketplace/README.md index 5ffccb6..2429837 100644 --- a/marketplace/README.md +++ b/agentic-marketplace/README.md @@ -1,10 +1,10 @@ -# Marketplace Automation +# Agentic Marketplace Automation Automates Claude Code plugin marketplace management through auto-discovery, validation, and synchronization. ## Overview -The marketplace action provides three composable actions that work together to manage your Claude Code plugin marketplace: +The agentic-marketplace action provides three composable actions that work together to manage your Claude Code plugin marketplace: 1. **discover** - Finds plugins, commands, agents, skills, hooks, and MCP servers 2. **validate** - Validates component structure, naming, and metadata @@ -14,10 +14,10 @@ The marketplace action provides three composable actions that work together to m ### Using the Reusable Workflow (Recommended) -Add `.github/workflows/marketplace.yml` to your marketplace repository: +Add `.github/workflows/agentic-marketplace.yml` to your marketplace repository: ```yaml -name: Update Marketplace +name: Update Agentic Marketplace on: push: @@ -27,7 +27,7 @@ on: jobs: update: - uses: bitcomplete/bc-github-actions/.github/workflows/marketplace.yml@v1 + uses: bitcomplete/bc-github-actions/.github/workflows/agentic-marketplace.yml@v1 with: config-path: .claude-plugin/generator.config.toml secrets: @@ -39,32 +39,32 @@ jobs: For custom workflows, use the actions individually: ```yaml -name: Custom Marketplace Workflow +name: Custom Agentic Marketplace Workflow on: push: branches: [main] jobs: - marketplace: + agentic-marketplace: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - name: Discover components id: discover - uses: bitcomplete/bc-github-actions/marketplace/discover@v1 + uses: bitcomplete/bc-github-actions/agentic-marketplace/discover@v1 with: config-path: .claude-plugin/generator.config.toml - name: Validate components - uses: bitcomplete/bc-github-actions/marketplace/validate@v1 + uses: bitcomplete/bc-github-actions/agentic-marketplace/validate@v1 with: config-path: .claude-plugin/generator.config.toml fail-on-error: true - name: Generate marketplace files - uses: bitcomplete/bc-github-actions/marketplace/generate@v1 + uses: bitcomplete/bc-github-actions/agentic-marketplace/generate@v1 with: config-path: .claude-plugin/generator.config.toml github-token: ${{ secrets.GITHUB_TOKEN }} @@ -86,7 +86,7 @@ Scans your repository for Claude Code components based on your configuration fil **Example:** ```yaml -- uses: bitcomplete/bc-github-actions/marketplace/discover@v1 +- uses: bitcomplete/bc-github-actions/agentic-marketplace/discover@v1 id: discover with: config-path: .claude-plugin/generator.config.toml @@ -115,7 +115,7 @@ Validates discovered components against marketplace standards defined in your co **Example:** ```yaml -- uses: bitcomplete/bc-github-actions/marketplace/validate@v1 +- uses: bitcomplete/bc-github-actions/agentic-marketplace/validate@v1 id: validate with: config-path: .claude-plugin/generator.config.toml @@ -148,7 +148,7 @@ Generates marketplace.json and plugin.json files, then creates a pull request wi **Example:** ```yaml -- uses: bitcomplete/bc-github-actions/marketplace/generate@v1 +- uses: bitcomplete/bc-github-actions/agentic-marketplace/generate@v1 id: generate with: config-path: .claude-plugin/generator.config.toml @@ -204,7 +204,7 @@ your-marketplace/ │ └── generator.config.toml # Your configuration ├── .github/ │ └── workflows/ -│ └── marketplace.yml # Workflow file +│ └── agentic-marketplace.yml # Workflow file ├── code/ # Category directory │ └── my-plugin/ # Plugin directory │ ├── .claude-plugin/ @@ -297,7 +297,7 @@ Check that: Preview changes without creating a PR: ```yaml -- uses: bitcomplete/bc-github-actions/marketplace/generate@v1 +- uses: bitcomplete/bc-github-actions/agentic-marketplace/generate@v1 with: config-path: .claude-plugin/generator.config.toml github-token: ${{ secrets.GITHUB_TOKEN }} @@ -309,7 +309,7 @@ Preview changes without creating a PR: Disable auto-merge to review changes before merging: ```yaml -- uses: bitcomplete/bc-github-actions/marketplace/generate@v1 +- uses: bitcomplete/bc-github-actions/agentic-marketplace/generate@v1 with: config-path: .claude-plugin/generator.config.toml github-token: ${{ secrets.GITHUB_TOKEN }} @@ -321,7 +321,7 @@ Disable auto-merge to review changes before merging: Use validation output to implement custom logic: ```yaml -- uses: bitcomplete/bc-github-actions/marketplace/validate@v1 +- uses: bitcomplete/bc-github-actions/agentic-marketplace/validate@v1 id: validate with: fail-on-error: false diff --git a/marketplace/discover/action.yml b/agentic-marketplace/discover/action.yml similarity index 100% rename from marketplace/discover/action.yml rename to agentic-marketplace/discover/action.yml diff --git a/marketplace/generate/action.yml b/agentic-marketplace/generate/action.yml similarity index 100% rename from marketplace/generate/action.yml rename to agentic-marketplace/generate/action.yml diff --git a/marketplace/validate/action.yml b/agentic-marketplace/validate/action.yml similarity index 100% rename from marketplace/validate/action.yml rename to agentic-marketplace/validate/action.yml diff --git a/test-fixtures/valid/.claude-plugin/generator.config.toml b/test-fixtures/valid/.claude-plugin/generator.config.toml index 52a8052..e0de71a 100644 --- a/test-fixtures/valid/.claude-plugin/generator.config.toml +++ b/test-fixtures/valid/.claude-plugin/generator.config.toml @@ -9,7 +9,8 @@ name = "Test Owner" email = "test@example.com" [discovery] -excludeDirs = [".git", "node_modules", ".github", ".claude", "templates", "test-components"] +pluginCategories = ["analysis/**"] +excludeDirs = [".git", "node_modules", ".github", ".claude", "templates", "test-components", "docs"] excludePatterns = ["**/template/**", "**/*template*/**"] maxDepth = 10 skillFilename = "SKILL.md"