skills

package
v0.7.12 Latest Latest
Warning

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

Go to latest
Published: Apr 6, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var All = []Skill{
	{
		Name:        "chunk-testing-gaps",
		Description: `Use when asked to "find testing gaps", "chunk testing-gaps", "mutation test", "mutate this code", or "find surviving mutants". Runs a 4-stage mutation testing process.`,
	},
	{
		Name:        "chunk-review",
		Description: `Use when asked to "review recent changes", "chunk review", "review my diff", "review this PR", or "review my changes". Applies team-specific review standards from .chunk/review-prompt.md.`,
	},
	{
		Name:        "debug-ci-failures",
		Description: `Debug CircleCI build failures, analyze test results, and identify flaky tests. Use when asked to "debug CI", "why is CI failing", "fix CI failures", "find flaky tests", or "check CircleCI".`,
	},
}

All is the ordered list of bundled skills.

Functions

This section is empty.

Types

type Agent

type Agent struct {
	Name      string
	ConfigDir string // parent config dir (must exist for install)
	SkillsDir string // where skill subdirectories live
}

Agent represents a target agent with its config directories.

func Agents

func Agents(homeDir string) []Agent

Agents returns the list of supported agents for the given home directory.

type AgentInstallResult

type AgentInstallResult struct {
	Agent     string
	Skipped   bool     // true when agent config dir doesn't exist
	Installed []string // newly installed skill names
	Updated   []string // updated (outdated -> current) skill names
}

AgentInstallResult reports what happened for one agent during install.

func Install

func Install(homeDir string) []AgentInstallResult

Install installs all embedded skills for agents whose config dirs exist. Agents with missing config dirs are skipped.

type AgentSkillStatus

type AgentSkillStatus struct {
	Name        string
	Description string
	State       State
}

AgentSkillStatus describes the state of a single skill for an agent.

type AgentStatus

type AgentStatus struct {
	Agent     string
	Available bool // false when agent config dir doesn't exist
	Skills    []AgentSkillStatus
}

AgentStatus describes per-agent availability and skill states.

func Status

func Status(homeDir string) []AgentStatus

Status returns per-agent, per-skill installation state without modifying anything.

type Skill

type Skill struct {
	Name        string
	Description string
}

Skill defines an embedded skill with its metadata.

type State

type State string

State describes the installation state of a skill for a specific agent.

const (
	StateMissing  State = "missing"
	StateCurrent  State = "current"
	StateOutdated State = "outdated"
)

Skill installation states.

func SkillState

func SkillState(skillsDir string, s Skill) State

SkillState checks the installation state of a skill for an agent.

Jump to

Keyboard shortcuts

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