github

package
v0.13.0 Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

Package github provides a compiled skill for GitHub operations.

Index

Constants

View Source
const (
	// SkillName is the name of the GitHub skill.
	SkillName = "github"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	// Token is the GitHub personal access token.
	// If empty, uses GITHUB_TOKEN or GH_TOKEN environment variable.
	Token string

	// BaseURL is the GitHub API base URL.
	// If empty, uses the public GitHub API.
	BaseURL string
}

Config configures the GitHub skill.

type Skill

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

Skill implements compiled.Skill for GitHub operations.

func NewSkill

func NewSkill(cfg Config) *Skill

NewSkill creates a new GitHub skill.

func (*Skill) Close

func (s *Skill) Close() error

Close implements compiled.Skill.

func (*Skill) Description

func (s *Skill) Description() string

Description implements compiled.Skill.

func (*Skill) Init

func (s *Skill) Init(ctx context.Context) error

Init implements compiled.Skill.

func (*Skill) Name

func (s *Skill) Name() string

Name implements compiled.Skill.

func (*Skill) Tools

func (s *Skill) Tools() []skill.Tool

Tools implements compiled.Skill.

Jump to

Keyboard shortcuts

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