Repository navigation
Description
Problem
A quick action is { id, label, prompt, enabled } (infrastructure/config/services/AIExperienceConfigService.ts:13-18), a stored prompt that gets sent to the model on click. The defaults are Commit and Create PR (:65-71).
It has exactly one entry point: a menu inside SessionFilesBadge, the file-change badge in the session header (SessionFilesBadge.tsx:824-829). There is no / command, no @ mention and no shortcut. Clicking one sends the prompt immediately through FlowChatManager.sendMessage (:712-722) instead of filling the composer.
Skills are also a prepared prompt, and they have three entry points: the / picker, $ inline anywhere in the text (utils/slashCommand.ts:21-32), and @ through the context picker (ChatContextPicker.tsx:915-918).
So the general-purpose user-defined prompt is the hardest thing to invoke, and the instruction packs are available everywhere.
Finding your configured actions means clicking a file-changes indicator and looking at the bottom of a review menu. I configured actions in Settings under Automation then could not reach them from the composer. The naming also overpromises: Settings presents these as general quick actions with free-form prompts, while the only surface is post-coding. An action unrelated to committing still appears only in the file-change menu, and only after files changed.
The / picker merges five sources, acpCommands, actions, externalCommands, mcpPrompts and skills (ChatInput.tsx:3625-3629), but getFilteredActions() returns only the seven built-in slash actions, btw, review, goal, usage, reload, compact and init (utils/slashActionSelection.ts:3-10). Quick actions are not among them.
| Entry points | What it does | |
|---|---|---|
| Quick action | One menu item inside the file badge | Sends a stored prompt |
| Skill | /, $, @ |
Injects a stored instruction, and the model may also pick it |
One difference is real and worth keeping. Clicking a quick action is deterministic, since the prompt is sent regardless of what the model thinks, while a skill is something the model decides to use. That argues for giving quick actions a deterministic keyboard trigger, not for leaving them in a badge. /commit would be deterministic and discoverable.
What I want
Two options, and this is a product call:
- Option A, put quick actions in
/. Spread the existingQuickAction[]into the slash picker after the built-in actions, namespaced so they cannot collide with/btwor a skill name. Small change, keeps them user-configurable and keeps the deterministic send. Because skills already appear in/, this also makes the picker coherent. - Option B, retire quick actions in favour of skills.
Commit all current code changesexpresses fine as a skill, and existing actions would migrate into generated skills. Fewer concepts, bigger change.
Either way two follow-ups apply. Keep copying the file-badge menu entries only as a secondary shortcut for the commit and PR cases. And make send against fill consistent: the cowork example cards on the welcome panel are the same kind of stored prompt and they fill the composer through a fill-chat-input event (WelcomePanel.tsx:400-402). Filling is the safer default, since the user gets to review a Commit all current code changes message before it goes out.
Acceptance
- Typing
/lists the user's configured quick actions next to built-in actions and skills, and selecting one sends it. A name that collides with a built-in action or a skill is either rejected at save time or namespaced. - The quick action menu is reachable without a file change, or its entries are limited to the commit and PR cases.
- Quick actions and the welcome-panel cards behave the same on send against fill.
Sources
AIExperienceConfigService.ts:12-18,65-71, SessionFilesBadge.tsx:712-722,824-829, ChatInput.tsx:3435-3448,3625-3629, slashActionSelection.ts:3-10, slashCommand.ts:21-32, ChatContextPicker.tsx:915-918, WelcomePanel.tsx:400-402.
Activity