Uh oh!
There was an error while loading. Please reload this page.
fix(web): match skill chip icons to file chips and add sent-message tooltips - #9090
fix(web): match skill chip icons to file chips and add sent-message tooltips#9090Mnigos wants to merge 2 commits into
Conversation
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes using high effort and found 2 potential issues.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Want fixes drafted automatically? Bugbot Autofix can create code changes for findings. A team admin can enable Autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 26e4a23. Configure here.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
ApprovabilityVerdict: Approved at Macroscope's review found this PR approvable — This is a narrowly scoped web UI polish change that aligns existing skill chips and adds optional descriptions through the existing tooltip component. Its runtime impact is limited to presentation and hover behavior, with focused tests and no schema, workflow, deployment, or sensitive-data changes. You can add or adjust custom eligibility rules. Learn more. |
26e4a23 to
ea6bcb9Compareea6bcb9 to
0ab5367CompareUh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
c9252d4 to
717738aCompareUh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
746f184 to
3e62bb3CompareUh oh!
There was an error while loading. Please reload this page.
7c2c8e2 to
2a63fd0Compare2a63fd0 to
4a6e378CompareUh oh!
There was an error while loading. Please reload this page.
Dismissing prior approval to re-evaluate 01313dd
…ooltips The package glyph fills its viewBox edge-to-edge, unlike the file-type icons that carry intrinsic padding, so skill chips render their icon one step smaller to sit at the same optical size. Sent-message chips gain the description tooltip the composer already shows; the InlineSkill prop type carries the description fields through MessagesTimeline and ChatMarkdown, which previously narrowed them away.
01313dd to
dab755eCompareDismissing prior approval to re-evaluate dab755e

Two small skill chip fixes that came out of testing workspace skill discovery. The skill icon now renders at the same optical size as file-chip icons (the package glyph fills its viewBox edge to edge, file-type icons carry intrinsic padding). And sent-message chips get the description tooltip the composer already had, with the InlineSkill prop type carrying the description fields through MessagesTimeline and ChatMarkdown, which previously narrowed them away.
Also documents the workspace-scoped skill behavior that #8778 and #9210 shipped in
docs/user/composer.md, since neither added docs.Earlier revisions of this PR carried the workspace discovery itself; that landed piecewise through #8778 by @UtkarshUsername and #9210 by @anirudhsama (based on the approach from #4031 by @D3OXY), so this PR is down to the chip polish. Chip rendering has 7 focused tests.
Demo
Screen.Recording.2026-09-02.at.00.57.59.mov
Screenshots
Implemented with Claude Code (Claude Fable 5).
Note
Medium Risk
New RPC spawns Codex app-server processes per workspace lookup (mitigated by timeout and cache); cwd resolution touches orchestration projection data but stays read-only with ownership checks.
Overview
Fixes the
$skill picker and sent-message$namechips using skills from the open project/worktree instead of the server’s startup directory.Adds
provider.listWorkspaceSkills(read-scoped RPC) with contracts for input/result/source: workspace | snapshot. The server resolves cwd fromthread.worktreePath ?? project.workspaceRoot, validates thread ownership, and calls an optionallistSkillsForCwdon provider instances—with a 30s TTL cache per(instanceId, cwd)that does not mutate provider snapshots. Codex spawns a short-lived app-server in the workspace and callsskills/list; Claude usesdiscoverClaudeSkillsfor the resolved cwd; other drivers returnsource: "snapshot"so clients keep snapshot skills.On the web,
useWorkspaceSkillsfetches the workspace catalog for the composer ($menu, slash skills) and the timeline so chips survive sending. Skill chip UI is aligned (shared wrapper class, smaller skill icon) and timeline chips get description tooltips like the composer.Reviewed by Cursor Bugbot for commit 26e4a23f392d6c6c72e285dbb3fd001aee61177a. Configure here.
Note
Fix skill chip icon styling and add description tooltips to sent message skill chips
SkillChipto use the sharedINLINE_CHIP_WRAPPER_CLASS_NAMEand dedicatedSKILL_CHIP_ICON_CLASS_NAMEso sent-message skill chips match file chip stylingresolveInlineSkillDescriptionwhich prefers trimmedshortDescriptionoverdescription- Refactors skill shape to the shared exportedInlineSkilltype acrossChatMarkdown,MessagesTimeline, andSkillInlineTextto carry description fieldsComposerSkillDecoratorto useSKILL_CHIP_ICON_CLASS_NAMEfor icon sizingMacroscope summarized dab755e.