Skip to content

feat(web): skills join the composer / menu and commands read as pills - #169

Merged
badcuban merged 2 commits into
mainfrom
worktree-composer-slash-skills
Aug 22, 2026
Merged

badcuban merged 2 commits into
mainfrom
worktree-composer-slash-skills

Conversation

@badcuban

Copy link
Copy Markdown
Collaborator

Skills were only reachable through the Codex-native $ trigger, recognized slash commands got a bare color tint instead of the chip treatment other tokens get, and a $skill chip kept looking healthy after switching the thread to a provider that can't resolve it — the token was then sent as literal words.

  • The / menu now lists Codex workspace skills in a labeled Skills section; selecting one inserts the same $skill chip as the $ trigger, and Codex still receives the structured skill turn input.
  • Recognized leading command tokens (built-ins plus the selected provider's commands, including namespaced ones like /plugin:skill) render as a pill. Still an editable TextNode serializing as plain text — CSS and recognized-set change only.
  • Skill chips compute availability at render time from a context (ComposerSkillAvailability); when the selected provider's skill list is authoritative and missing the name, the chip turns amber with an explanatory tooltip. No warning flash while Codex's list is loading, no change to the send path.
  • Menu sections are labeled with the provider's display name, plugin skills (:-namespaced) get their own section, and headings stay visible while filtering. The flat keyboard-navigation order is partitioned with the same predicate as the section split, fixing a latent highlight-jump for namespaced commands.

Gates: vp fmt, vp lint, vp run typecheck, web unit tests, and the web browser suite (476 tests) all green. New browser tests cover namespaced-command recognition (prompt stays plain text) and the stale-chip transition. Pill, chips, and menu grouping were pixel-reviewed in dark and light mode.

Typing / in a Codex thread now lists workspace skills in their own menu
section; picking one inserts the same $skill token as the $ shortcut.
Recognized leading commands (built-ins plus the provider's own) render
as an editable pill instead of a bare color tint. Skill chips turn amber
with an explanatory tooltip when the selected provider cannot resolve
them, instead of silently sending literal text. Menu sections are now
labeled by provider, split out plugin skills, and stay visible while
filtering, with keyboard order matching the visible section order.
@vercel

vercel Bot commented Aug 22, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Actions Updated (UTC)
threadlines Skipped Skipped Aug 22, 2026 6:00am

Request Review

@github-actions github-actions Bot added vouch:trusted PR author is trusted by repo permissions or the VOUCHED list. size:L labels Aug 22, 2026
@badcuban
badcuban merged commit 0b3ae2d into main Aug 22, 2026
15 checks passed
@badcuban
badcuban deleted the worktree-composer-slash-skills branch August 22, 2026 06:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:L vouch:trusted PR author is trusted by repo permissions or the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant