@W-20898700 Add setup skills command for IDE skill installation#57
Merged
@W-20898700 Add setup skills command for IDE skill installation#57
Conversation
- Add @inquirer/prompts for interactive multi-select prompts - Change skillset selection to multi-select (can install both b2c and b2c-cli) - Rename github-copilot IDE to vscode for clarity - Add docsUrl to IDE configs and show documentation links after installation - Use direct GitHub download URLs instead of API to avoid rate limiting - Update documentation with new IDE names and flag options
yhsieh1
reviewed
Jan 20, 2026
yhsieh1
approved these changes
Jan 20, 2026
yhsieh1
reviewed
Jan 20, 2026
| export function getCacheDir(): string { | ||
| const xdgCache = process.env.XDG_CACHE_HOME; | ||
| const baseCache = xdgCache || path.join(os.homedir(), '.cache'); | ||
| return path.join(baseCache, 'b2c-cli', 'skills'); |
Contributor
There was a problem hiding this comment.
Do we support various OS including Windows?
Collaborator
Author
There was a problem hiding this comment.
os.homedir() should work on windows. We have another ticket for explicit windows compatibility (and testing!) support: W-20937015
amit-kumar8-sf
pushed a commit
that referenced
this pull request
Jan 21, 2026
* initial skills * documentation * improve setup skills command UX and fix rate limiting - Add @inquirer/prompts for interactive multi-select prompts - Change skillset selection to multi-select (can install both b2c and b2c-cli) - Rename github-copilot IDE to vscode for clarity - Add docsUrl to IDE configs and show documentation links after installation - Use direct GitHub download URLs instead of API to avoid rate limiting - Update documentation with new IDE names and flag options
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds a new
b2c setup skillscommand that downloads and installs agent skills from GitHub releases to AI-powered IDE configurations.Features
SDK Skills Module (
@salesforce/b2c-tooling-sdk/skills)CLI Command (
b2c setup skills)--forcefor CI/CDCI/CD Integration
b2c-skills.zipandb2c-cli-skills.zipon stable releasesSupported IDEs
.claude/skills/~/.claude/skills/.cursor/skills/~/.cursor/skills/.windsurf/skills/~/.codeium/windsurf/skills/.github/skills/~/.copilot/skills/.codex/skills/~/.codex/skills/.opencode/skills/~/.config/opencode/skills/Example Usage
Test plan
--globalflag for user-level installation--updateflag for overwriting existing skills