publish

package
v0.9.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 2, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package publish provides publishers for submitting plugins to AI assistant marketplaces.

Supported marketplaces:

  • Claude Code: anthropics/claude-plugins-official

Example usage:

package main

import (
    "context"
    "fmt"
    "os"

    "github.com/agentplexus/assistantkit/publish"
    "github.com/agentplexus/assistantkit/publish/claude"
)

func main() {
    token := os.Getenv("GITHUB_TOKEN")
    publisher := claude.NewPublisher(token)

    result, err := publisher.Publish(context.Background(), publish.PublishOptions{
        PluginDir:  "./plugins/claude",
        PluginName: "my-plugin",
    })
    if err != nil {
        panic(err)
    }

    fmt.Printf("PR created: %s\n", result.PRURL)
}

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthError

type AuthError = core.AuthError

Re-export error types.

type BranchError

type BranchError = core.BranchError

Re-export error types.

type CommitError

type CommitError = core.CommitError

Re-export error types.

type ForkError

type ForkError = core.ForkError

Re-export error types.

type MarketplaceConfig

type MarketplaceConfig = core.MarketplaceConfig

Re-export core types for convenience.

type PRError

type PRError = core.PRError

Re-export error types.

type PublishOptions

type PublishOptions = core.PublishOptions

Re-export core types for convenience.

type PublishResult

type PublishResult = core.PublishResult

Re-export core types for convenience.

type Publisher

type Publisher = core.Publisher

Re-export core types for convenience.

type ValidationError

type ValidationError = core.ValidationError

Re-export error types.

Directories

Path Synopsis
Package claude provides a publisher for the Claude Code official marketplace.
Package claude provides a publisher for the Claude Code official marketplace.
Package core provides the Publisher interface for marketplace submissions.
Package core provides the Publisher interface for marketplace submissions.
Package github provides GitHub API utilities for marketplace submissions.
Package github provides GitHub API utilities for marketplace submissions.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL