skills

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2026 License: MIT Imports: 10 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Module

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

func New

func New(db *sql.DB, root string) (*Module, error)

New opens the library at root on the store's database; it is off until the first Apply.

func (*Module) Apply added in v0.2.0

func (m *Module) Apply(_ context.Context, cfg setup.Config) error

Apply shows or hides the skill tools and applies the library settings.

func (*Module) Close

func (m *Module) Close() error

func (*Module) DraftProposal added in v0.2.1

func (m *Module) DraftProposal(ctx context.Context, proposal core.SkillProposal) (string, error)

DraftProposal files a session review's skill as a quarantined draft tagged learned, and update-of-<id> when it rewrites a skill.

func (*Module) ID

func (m *Module) ID() string

func (*Module) ReviewSettings added in v0.2.1

func (m *Module) ReviewSettings() core.SessionReviewSettings

ReviewSettings are the session review's settings from setup.json.

func (*Module) ReviewedSkills added in v0.2.1

func (m *Module) ReviewedSkills(ctx context.Context, sessionID string) ([]core.ReviewedSkill, error)

ReviewedSkills are the skills the session activated, with their instructions.

func (*Module) Service

func (m *Module) Service() *coreskills.Service

func (*Module) SkillsPromptContext

func (m *Module) SkillsPromptContext(ctx context.Context, req core.SkillsPromptContextRequest) string

func (*Module) Status added in v0.2.0

func (m *Module) Status(context.Context) modules.Status

func (*Module) Tools added in v0.2.0

func (m *Module) Tools() []tools.Executor

Jump to

Keyboard shortcuts

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