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
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Marketplace Pipeline
name: Agentic Marketplace Pipeline
on:
workflow_call:
inputs:
Expand Down Expand Up @@ -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 }}

Expand All @@ -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 }}

Expand All @@ -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 }}
Expand Down
14 changes: 4 additions & 10 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand All @@ -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
Expand Down
10 changes: 5 additions & 5 deletions CLAUDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -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/
Expand Down Expand Up @@ -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
Expand Down
22 changes: 11 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand All @@ -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
Expand Down Expand Up @@ -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:
Expand All @@ -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:
Expand All @@ -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 }}
Expand Down
34 changes: 17 additions & 17 deletions marketplace/README.md → agentic-marketplace/README.md
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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:
Expand All @@ -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:
Expand All @@ -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 }}
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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/
Expand Down Expand Up @@ -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 }}
Expand All @@ -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 }}
Expand All @@ -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
Expand Down
3 changes: 2 additions & 1 deletion test-fixtures/valid/.claude-plugin/generator.config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down