/** * Skills management module for downloading and installing agent skills. * * This module provides functionality to: * - Download skills artifacts from GitHub releases * - Detect installed IDEs * - Install skills to various IDE configurations * - Manage skills cache * * @example * ```typescript * import { * downloadSkillsArtifact, * scanSkills, * installSkills, * detectInstalledIdes, * } from '@salesforce/b2c-tooling-sdk/skills'; * * // Download and extract skills * const skillsDir = await downloadSkillsArtifact('b2c'); * * // Scan for available skills * const skills = await scanSkills(skillsDir, 'b2c'); * * // Detect installed IDEs * const ides = await detectInstalledIdes(); * * // Install skills * const result = await installSkills(skills, skillsDir, { * ides: ['cursor'], * global: true, * update: false, * }); * ``` * * @module skills */ export type { IdeType, SkillSet, SkillSourceConfig, IdePaths, IdeConfig, SkillMetadata, ReleaseInfo, DownloadSkillsOptions, InstallSkillsOptions, SkillInstallation, SkillSkipped, SkillError, InstallSkillsResult, CachedArtifact, } from './types.js'; export { SKILL_SOURCES, getSkillSource, ALL_SKILL_SETS } from './sources.js'; export { IDE_CONFIGS, ALL_IDE_TYPES, detectInstalledIdes, getSkillInstallPath, getIdeDisplayName, getIdeDocsUrl, } from './agents.js'; export { getCacheDir, getRelease, listReleases, getCachedArtifact, downloadSkillsArtifact, clearCache, } from './github.js'; export { parseSkillFrontmatter, scanSkills, filterSkillsByName, findSkillsByName } from './parser.js'; export { isSkillInstalled, installSkills, removeSkill } from './installer.js';