Documentation
¶
Overview ¶
Package skillcontent reads embedded skill content from an injected fs.FS rooted at the skill list (entries like "lark-calendar/SKILL.md").
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type DirEntry ¶
DirEntry.Path is skill-prefixed (e.g. "lark-doc/references/x.md") so it can be fed straight back into `read`.
type Reader ¶
type Reader struct {
// contains filtered or unexported fields
}
func (*Reader) ListPath ¶
ListPath lists one directory layer (no recursion) under "<name>" or "<name>/<sub>", returning the entries and the cleaned path listed.
func (*Reader) ReadReference ¶
ReadReference returns the bytes of <name>/<relpath> and the cleaned path.
Click to show internal directories.
Click to hide internal directories.