You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
fix(acp): show Devin skills in the picker and mid-prompt - #40280
With Devin over ACP, typing $ in the composer showed no skills, and typing / partway through a prompt showed only /model. Skills only appeared when / was the first character of the message.
Devin advertises its skills as ordinary ACP commands and marks them only with a category tag. T3 Code recognised a command as a skill only when its name started with $, so every Devin skill was filed as a plain slash command, and those are offered only at the start of a message.
normalizeAcpRegistryCommands(command)
- name starts with "$" -> skill+ name starts with "$" -> skill+ category tag is "Skills" -> skill
otherwise -> slash command
send prompt to Devin
+ "$full-send" for a known skill -> "/full-send"
Commands tagged with the Skills category now land in the provider's skill list. Web and mobile already offer skills in the $ picker and in / at any position, so no client change is needed.
The composer inserts a picked skill as $name, while Devin invokes skills as /name. Known Devin skill names are rewritten before the prompt is sent. Other $ text such as $5 is left alone.
Scope
Small fix for an obvious bug: Devin advertises skills, but they are missing from the skill picker. No issue is needed.
Bug fix for the Devin ACP registry agent only. Other ACP agents do not send the cognition.ai/category tag, and the rewrite is wired only for Devin.
Verification
Before: Devin skills appeared only for / at the start of a message. Partway through a prompt, / offered only /model.
/ at the start
/ mid-prompt
After: the $ picker lists Devin's skills at the start of a message and partway through one, in the desktop app built from this branch.
$ at the start
$ mid-prompt
The extended case in AcpRegistryProbe.test.ts failed before the fix (full-send with the Skills category landed in slashCommands) and passes after. plan with the Session category stays a slash command with its hint.
New devinAcp.test.ts: "$full-send now, then $unslop and $unknown for $5" becomes "/full-send now, then /unslop and $unknown for $5".
Upstream validation: 15 focused tests pass across AcpRegistryProbe.test.ts and devinAcp.test.ts; the server bundle builds successfully.
vp run check:changed HEAD^ passes.
The category tag was read from a live devin acp session (106 commands, 84 of them skills).
Not checked: / mid-prompt after the fix, sending a message with a picked skill, and whether Devin acts on /name when it appears partway through a prompt. Devin expands it natively only at the start of a message. Further in, it reaches the model as text.
Devin lists handoff as both a command and a skill. The command is kept, so that one skill does not appear in the skill list.
Merge Danger
Door: two-way
Blast Radius: Devin
In the / menu, Devin skills now show as /skill:name instead of /name, the same as other providers.
Original implementation: Claude Fable 5.2 and SWE-2 (Fusion) in Devin CLI, running in T3 Code. Prepared for upstream with GPT-6.1 Sol in Codex.
`$review, please` now runs the review skill on every provider and shows
a chip in the composer. Slash-command providers get `/review ,` so CLIs
that read the command name up to whitespace still find it.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Reviewing files that changed from the base of the PR and between d840c08 and d5744e4.
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
No actionable comments were generated in the recent review.
Walkthrough
The ACP registry now classifies commands tagged with the Skills category as skills. For Devin, the adapter rewrites mentions of available skills from $name to /name. Tests cover command routing and mention rewriting.
sequenceDiagram
participant DevinAdapter
participant RuntimeCoordinator
participant rewriteDevinSkillMentions
DevinAdapter->>RuntimeCoordinator: Read available commands
RuntimeCoordinator-->>DevinAdapter: Return available commands
DevinAdapter->>rewriteDevinSkillMentions: Rewrite text using available skill names
rewriteDevinSkillMentions-->>DevinAdapter: Return rewritten text
pingdotgg/t3code#37352: This PR addresses the same Skills-category classification and Devin mention rewriting behavior.
Suggested labels:bugfix
Suggested reviewers:juliusmarminge, macroscopeapp
Merge Risk: Minimal · previous review d840c
Devin skills tagged with the Skills category now appear in the skill picker, and known $name mentions are rewritten to /name before sending. No actionable merge-blocking risk remains.
Pre-merge checks: 4
Check name
Status
Explanation
Title check
The title names the main change: Devin skills now appear in the skill picker and mid-prompt. The PR adds the Skills category tag and the $-to-/ rewrite for Devin. The punctuation rule that the descrip…
Linked Issues check
Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check
Check skipped because no linked issues were found for this pull request.
Description check
The description follows the template well. It states the problem with reproduction context and a JSON example, describes the change with a diff, explains scope as a small bug fix with no issue needed …
Full details: Title check
Explanation
The title names the main change: Devin skills now appear in the skill picker and mid-prompt. The PR adds the Skills category tag and the $-to-/ rewrite for Devin. The punctuation rule that the description covers was reverted from this PR per the objectives, but the title still describes the core change. The title uses the conventional commit form and fits the 'fix(acp)' scope.
Full details: Description check
Explanation
The description follows the template well. It states the problem with reproduction context and a JSON example, describes the change with a diff, explains scope as a small bug fix with no issue needed and a note that the rewrite applies only to Devin, and gives detailed verification with before/after screenshots, focused test results, and a list of what was not checked. It also names the model and harness used. The description has some gaps: the 'Merge Danger' section is an extra section not in the template, and the verification claims (15 focused tests, 127 tests in the objectives, and the knip out-of-memory note) are not consistent. The description also still describes punctuation-related behavior that the objectives say a later commit moved out of this PR. The author should update the description to match the final scope.
Finishing Touches
Generate unit tests (beta)
Create a new PR
Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 8 remain after this review.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
size:M30-99 changed lines (additions + deletions).vouch:unvouchedAuthor is not yet trusted in the VOUCHED list.
2 participants
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
With Devin over ACP, typing
$in the composer showed no skills, and typing/partway through a prompt showed only/model. Skills only appeared when/was the first character of the message.Devin advertises its skills as ordinary ACP commands and marks them only with a category tag. T3 Code recognised a command as a skill only when its name started with
$, so every Devin skill was filed as a plain slash command, and those are offered only at the start of a message.{ "name": "full-send", "_meta": { "cognition.ai/category": "Skills" } } { "name": "plan", "input": { "hint": "[prompt]" }, "_meta": { "cognition.ai/category": "Session" } }Change
Skillscategory now land in the provider's skill list. Web and mobile already offer skills in the$picker and in/at any position, so no client change is needed.$name, while Devin invokes skills as/name. Known Devin skill names are rewritten before the prompt is sent. Other$text such as$5is left alone.Scope
Small fix for an obvious bug: Devin advertises skills, but they are missing from the skill picker. No issue is needed.
Bug fix for the Devin ACP registry agent only. Other ACP agents do not send the
cognition.ai/categorytag, and the rewrite is wired only for Devin.Verification
Before: Devin skills appeared only for
/at the start of a message. Partway through a prompt,/offered only/model./at the start/mid-promptAfter: the
$picker lists Devin's skills at the start of a message and partway through one, in the desktop app built from this branch.$at the start$mid-promptAcpRegistryProbe.test.tsfailed before the fix (full-sendwith theSkillscategory landed inslashCommands) and passes after.planwith theSessioncategory stays a slash command with its hint.devinAcp.test.ts:"$full-send now, then $unslop and $unknown for $5"becomes"/full-send now, then /unslop and $unknown for $5".AcpRegistryProbe.test.tsanddevinAcp.test.ts; the server bundle builds successfully.vp run check:changed HEAD^passes.devin acpsession (106 commands, 84 of them skills).Not checked:
/mid-prompt after the fix, sending a message with a picked skill, and whether Devin acts on/namewhen it appears partway through a prompt. Devin expands it natively only at the start of a message. Further in, it reaches the model as text.Devin lists
handoffas both a command and a skill. The command is kept, so that one skill does not appear in the skill list.Merge Danger
Door: two-way
Blast Radius: Devin
In the
/menu, Devin skills now show as/skill:nameinstead of/name, the same as other providers.Original implementation: Claude Fable 5.2 and SWE-2 (Fusion) in Devin CLI, running in T3 Code. Prepared for upstream with GPT-6.1 Sol in Codex.