claude

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: 6 Imported by: 0

Documentation

Overview

Package claude provides a publisher for the Claude Code official marketplace.

Index

Constants

View Source
const (
	// MarketplaceOwner is the GitHub org that owns the official marketplace.
	MarketplaceOwner = "anthropics"

	// MarketplaceRepo is the repository name.
	MarketplaceRepo = "claude-plugins-official"

	// ExternalPluginsPath is the directory for third-party plugins.
	ExternalPluginsPath = "external_plugins"

	// DefaultBaseBranch is the default branch to target.
	DefaultBaseBranch = "main"
)

Variables

View Source
var RequiredFiles = []string{
	".claude-plugin/plugin.json",
	"README.md",
}

RequiredFiles lists files that must exist in a plugin.

Functions

This section is empty.

Types

type Publisher

type Publisher struct {
	// contains filtered or unexported fields
}

Publisher submits plugins to the Claude Code official marketplace.

func NewPublisher

func NewPublisher(token string) *Publisher

NewPublisher creates a new Claude marketplace publisher.

func (*Publisher) Name

func (p *Publisher) Name() string

Name returns the marketplace identifier.

func (*Publisher) Publish

func (p *Publisher) Publish(ctx context.Context, opts core.PublishOptions) (*core.PublishResult, error)

Publish submits the plugin to the Claude Code marketplace.

func (*Publisher) Validate

func (p *Publisher) Validate(pluginDir string) error

Validate checks if the plugin directory has all required files.

Jump to

Keyboard shortcuts

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