Skip to content

feat: add Scalekit Skills installation to setup wizard#19

Merged
saif-at-scalekit merged 9 commits into
mainfrom
add-skills-phase
May 20, 2026
Merged

feat: add Scalekit Skills installation to setup wizard#19
saif-at-scalekit merged 9 commits into
mainfrom
add-skills-phase

Conversation

@saif-at-scalekit
Copy link
Copy Markdown
Contributor

Summary

Adds Scalekit Skills as an option in the scalekit setup wizard, so users can install agent skills for coding agents beyond the four with dedicated stacks (Cursor, Claude, Codex, Copilot).

What changed

  • New src/core/skills.tsinstallSkills(interactive) function that spawns npx skills add scalekit-inc/skills (with --yes in non-interactive mode)
  • Updated src/commands/setup.ts — "Other agents" option appears in the multiselect alongside coding agent stacks. When selected, user chooses between:
    • Install now — CLI runs npx skills add --yes automatically
    • I'll do it myself — prints the command for the user to run manually with the interactive wizard
  • New --skip-skills flag — explicit escape hatch to skip skills entirely
  • Version bump to 0.3.7

Behavior by mode

Mode Behavior
Interactive (default) "Other agents" in multiselect → choose auto-install or show command
--yes Auto-installs skills with --yes
--skip-skills Hides the option entirely

Testing

  • 126/126 tests passing
  • Skills module mocked in unit tests
  • E2E snapshot updated for new --skip-skills flag

Fixes SK-384

After installing editor stacks, setup now offers to install Scalekit
skills via Vercel's skills CLI.

- Interactive mode: prompts user, then hands off to skills wizard
  so developers can pick which skills/agents they want
- Non-interactive (--yes): runs npx skills add --all automatically
- New --skip-skills flag to opt out entirely
- Graceful error handling with fallback instructions
Instead of a separate confirm prompt after editors, 'Scalekit Skills'
now appears as a selectable option in the same multiselect picker.
One screen, one decision.
When 'Other agents' is selected, presents two options:
- Install now: runs npx skills add --yes automatically
- I'll do it myself: prints the command to run manually
9 new tests covering:
- --yes installs skills automatically
- --yes --skip-skills skips skills
- --dry-run skips skills even when selected
- Interactive: 'Install now' runs installSkills
- Interactive: 'I'll do it myself' shows the command
- Interactive: not selecting skills skips installation
- Multiselect includes 'Other agents' option
- --skip-skills hides skills from multiselect
- Handles skills installation failure gracefully
… outro

- Extract runSkillsInstall() helper — removes duplicated try/catch
- Remove dead 'interactive' param from installSkills() — always uses --all
- --dry-run now previews 'Would run: npx skills add ...' for skills
- Outro counts skills in total: '2 components installed' not '1 stack'
- Skills-only selection shows '1 component installed' not '0 stacks'
- Export SKILLS_CMD constant for consistent command references
- Bump version to 0.3.8
- 11 skills tests (2 new: outro counting, skills-only)
@saif-at-scalekit saif-at-scalekit merged commit 57e91f7 into main May 20, 2026
1 check passed
@saif-at-scalekit saif-at-scalekit deleted the add-skills-phase branch May 20, 2026 11:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants