Skip to content

fix(web): show provider skills in slash menu#2650

Open
delusionofgrandeur wants to merge 2 commits into
pingdotgg:mainfrom
delusionofgrandeur:fix/slash-menu-provider-skills
Open

fix(web): show provider skills in slash menu#2650
delusionofgrandeur wants to merge 2 commits into
pingdotgg:mainfrom
delusionofgrandeur:fix/slash-menu-provider-skills

Conversation

@delusionofgrandeur
Copy link
Copy Markdown

@delusionofgrandeur delusionofgrandeur commented May 11, 2026

Summary

  • include provider skills when the composer slash-command menu opens
  • keep selection behavior inserting the existing $skill token format
  • add browser coverage for selecting a Codex skill from /

Scope

This partially addresses #2637 by surfacing detected Codex/provider skills from the / menu. It does not add Codex CLI-only slash commands such as /help or /status, which do not appear to be exposed through the current provider status shape.

Verification

px --yes bun@1.3.11 run fmt

px --yes bun@1.3.11 run --bun lint (passes with pre-existing warnings)

px --yes bun@1.3.11 run --bun typecheck

px --yes bun@1.3.11 run test:browser -- src/components/ChatView.browser.tsx from �pps/web (76 passed)

px --yes bun@1.3.11 run --bun test -- src/components/chat/MessagesTimeline.test.tsx from �pps/web (6 passed)

Full-suite note

px --yes bun@1.3.11 run --bun test hit unrelated 5s timeout flakes locally under load. First run timed out in @t3tools/oxlint-plugin-t3code; second run timed out in effect-acp; --concurrency=1 later timed out in MessagesTimeline.test.tsx, which passed in isolation.


Note

Low Risk
Low risk UI/menu behavior change limited to chat composer command suggestions and grouping; main risk is minor UX regressions in command ordering/filtering.

Overview
The chat composer / menu now also surfaces provider skills (in addition to built-in and provider slash commands), using provider-skill search and keeping insertion behavior as the existing $skill-name token.

The command menu grouping logic is updated to include a Skills section when opened via /, and a browser test is added to verify selecting a skill from the slash menu inserts the expected token.

Reviewed by Cursor Bugbot for commit 847b12a. Bugbot is set up for automated code reviews on this repo. Configure here.

Note

Show provider skills in the slash-command menu of ChatComposer

  • Adds provider skills to the slash-command (/) menu in ChatComposer.tsx, both with and without a search query, alongside existing built-in and provider slash-command items.
  • Introduces a toSkillComposerCommandItem helper to build standardized ComposerCommandItem objects for provider skills.
  • Updates ComposerCommandMenu.tsx to render a separate "Skills" group when slash-command grouping is active and skill items are present.
  • Adds a browser test in ChatView.browser.tsx verifying that typing / surfaces a provider skill and inserts the correct token into the composer.

Macroscope summarized 847b12a.

Include provider skills alongside slash commands when users open the composer / menu, and keep selection behavior inserting the existing $skill token format.
@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented May 11, 2026

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro

Run ID: 26f671a4-67f2-4fe2-b8ea-01a16965b382

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Tip

💬 Introducing Slack Agent: The best way for teams to turn conversations into code.

Slack Agent is built on CodeRabbit's deep understanding of your code, so your team can collaborate across the entire SDLC without losing context.

  • Generate code and open pull requests
  • Plan features and break down work
  • Investigate incidents and troubleshoot customer tickets together
  • Automate recurring tasks and respond to alerts with triggers
  • Summarize progress and report instantly

Built for teams:

  • Shared memory across your entire org—no repeating context
  • Per-thread sandboxes to safely plan and execute work
  • Governance built-in—scoped access, auditability, and budget controls

One agent for your entire SDLC. Right inside Slack.

👉 Get started


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@github-actions github-actions Bot added vouch:unvouched PR author is not yet trusted in the VOUCHED list. size:S 10-29 changed lines (additions + deletions). labels May 11, 2026
Copy link
Copy Markdown
Contributor

@cursor cursor Bot left a comment

Choose a reason for hiding this comment

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

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 2f1ba85. Configure here.

Comment thread apps/web/src/components/chat/ChatComposer.tsx
macroscopeapp[bot]
macroscopeapp Bot previously approved these changes May 11, 2026
@macroscopeapp
Copy link
Copy Markdown
Contributor

macroscopeapp Bot commented May 11, 2026

Approvability

Verdict: Approved

This is a low-risk UI enhancement that surfaces existing provider skills in the slash command menu. The changes are self-contained to the chat composer, include a helper function extraction (refactor), and add test coverage for the new behavior.

You can customize Macroscope's approvability policy. Learn more.

Extract provider skill menu item formatting so slash-command and skill triggers share the same ComposerCommandItem shape.
@macroscopeapp macroscopeapp Bot dismissed their stale review May 12, 2026 09:15

Dismissing prior approval to re-evaluate 847b12a

@github-actions github-actions Bot added size:M 30-99 changed lines (additions + deletions). and removed size:S 10-29 changed lines (additions + deletions). labels May 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:M 30-99 changed lines (additions + deletions). vouch:unvouched PR author is not yet trusted in the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant