Skip to content

feat: expose skills as slash commands with skill fallback execution#11834

Merged
hannesrudolph merged 2 commits intomainfrom
feat/skill-slash-command-fallback
Mar 2, 2026
Merged

feat: expose skills as slash commands with skill fallback execution#11834
hannesrudolph merged 2 commits intomainfrom
feat/skill-slash-command-fallback

Conversation

@hannesrudolph
Copy link
Copy Markdown
Collaborator

@hannesrudolph hannesrudolph commented Mar 2, 2026

Summary

  • Added autogenerated discovery of skill-backed slash commands so available skills are exposed in slash command flows.
  • Implemented invocation fallback behavior in mention/tool execution paths so skill commands can resolve and execute when direct slash command handlers are absent.
  • Enforced command precedence so real slash commands continue to win before skill fallback execution is attempted.

Validation

  • cd src && pnpm -s check-types ✅ PASS
  • cd src && npx vitest run __tests__/command-mentions.spec.ts core/mentions/__tests__/index.spec.ts core/mentions/__tests__/processUserContentMentions.spec.ts core/tools/__tests__/runSlashCommandTool.spec.ts core/webview/__tests__/webviewMessageHandler.spec.ts ✅ PASS

Interactively review PR in Roo Code Cloud

@dosubot dosubot bot added size:XL This PR changes 500-999 lines, ignoring generated files. Enhancement New feature or request labels Mar 2, 2026
@hannesrudolph
Copy link
Copy Markdown
Collaborator Author

@roomote run the pr review on this

@roomote-v0
Copy link
Copy Markdown
Contributor

roomote-v0 bot commented Mar 2, 2026

Fixaroo Clock   See task

Reviewed the PR and addressed two issues: added missing unit tests for skillInvocation.ts, fixed inconsistent optional chaining on getSkillsManager in RunSlashCommandTool.ts, and added getSkillsManager to the default test mock so command-not-found tests work without relying on ?. method calls. All checks pass (type-check, lint, 89 tests).

View commit | Revert commit

@dosubot dosubot bot added the lgtm This PR has been approved by a maintainer label Mar 2, 2026
Copy link
Copy Markdown
Collaborator Author

@hannesrudolph hannesrudolph left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Completed review of this PR. No actionable issues were identified within the changed scope.

@hannesrudolph hannesrudolph merged commit af1e12c into main Mar 2, 2026
17 of 20 checks passed
@hannesrudolph hannesrudolph deleted the feat/skill-slash-command-fallback branch March 2, 2026 22:10
@github-project-automation github-project-automation bot moved this from New to Done in Roo Code Roadmap Mar 2, 2026
@github-actions github-actions bot mentioned this pull request Mar 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Enhancement New feature or request lgtm This PR has been approved by a maintainer size:XL This PR changes 500-999 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants