@salesforce/b2c-tooling-sdk / skills
skills ​
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,
});Interfaces ​
- CachedArtifact
- DownloadSkillsOptions
- IdeConfig
- IdePaths
- InstallSkillsOptions
- InstallSkillsResult
- ReleaseInfo
- SkillError
- SkillInstallation
- SkillMetadata
- SkillSkipped