Function loadSkillsFromDir

  • Load all skills from a directory. Each skill is a folder in it; an entry whose name starts with a dot, and one that is not a folder, is passed over, and a symbolic link is passed over with a warning.

    Parameters

    • dir: string

      Parent directory containing skill subdirectories. It may be a symbolic link.

    Returns Promise<SkillEntry[]>

    Array of SkillEntry objects