Documentation
¶
Overview ¶
Package kiro provides the Kiro CLI skill adapter for steering files.
Index ¶
- Constants
- type Adapter
- func (a *Adapter) DefaultDir() string
- func (a *Adapter) Marshal(skill *core.Skill) ([]byte, error)
- func (a *Adapter) Name() string
- func (a *Adapter) Parse(data []byte) (*core.Skill, error)
- func (a *Adapter) ReadFile(path string) (*core.Skill, error)
- func (a *Adapter) SkillFileName() string
- func (a *Adapter) WriteFile(skill *core.Skill, path string) error
- func (a *Adapter) WriteSkillDir(skill *core.Skill, baseDir string) error
Constants ¶
View Source
const ( // AdapterName is the identifier for this adapter. AdapterName = "kiro" // SteeringDir is the default steering directory name. SteeringDir = "steering" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Adapter ¶
type Adapter struct{}
Adapter converts between canonical Skill and Kiro CLI steering file format.
func (*Adapter) DefaultDir ¶
DefaultDir returns the default directory name for Kiro steering files.
func (*Adapter) SkillFileName ¶
SkillFileName returns the skill definition filename. For Kiro, steering files are named <skill-name>.md directly.
Click to show internal directories.
Click to hide internal directories.