Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
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".`,
},
{
Name: "chunk-sidecar",
Description: `Run build/test/validate on a remote chunk sidecar instead of locally. Use when asked to "validate on the sidecar", "run tests on the sidecar", "sync to sidecar", "check this on the sidecar", or when edits need remote verification. Also covers creating sidecars, snapshots, and env customization.`,
},
}
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.
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 ¶
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 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 ¶
SkillState checks the installation state of a skill for an agent.