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 ¶
NewPublisher creates a new Claude marketplace publisher.
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.
Click to show internal directories.
Click to hide internal directories.