Documentation
¶
Overview ¶
Package skillscan discovers skill definition files under filesystem roots.
Index ¶
Constants ¶
View Source
const ( // SkillFileName is the canonical skill definition filename. SkillFileName = "SKILL.md" // MaxCandidates bounds the number of definitions discovered from one root. MaxCandidates = 300 // MaxEntries bounds the number of filesystem entries visited under one root. MaxEntries = 20_000 )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type DirectoryResult ¶
DirectoryResult is the filesystem discovery result for one root.
func ScanDirectory ¶
func ScanDirectory(root string) (DirectoryResult, error)
ScanDirectory discovers skill definitions below root. It resolves the root itself, never follows nested directory symlinks, and excludes definitions whose resolved path escapes root.
Click to show internal directories.
Click to hide internal directories.