Skip to content

fix(acp): show Devin skills in the picker and mid-prompt - #40280

Open
screen-gd wants to merge 5 commits into
pingdotgg:mainfrom
screen-gd:fix/devin-acp-skills-upstream
Open

screen-gd wants to merge 5 commits into
pingdotgg:mainfrom
screen-gd:fix/devin-acp-skills-upstream

Conversation

@screen-gd

@screen-gd screen-gd commented Nov 21, 2026 •

Copy link
Copy Markdown
Contributor

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

 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
Before: skills listed for a slash at the start Before: only /model listed 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
After: skills listed for a dollar sign at the start After: skills listed for a dollar sign 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.

@github-actions

Copy link
Copy Markdown
Contributor

Closing: screen-gd already has 3 or more open PRs here, which is the limit for contributors who are not vouched.

Once one of them is merged or closed, open this again. See the open PR limit.

@github-actions github-actions Bot closed this Nov 21, 2026
@github-actions github-actions Bot added vouch:unvouched Author is not yet trusted in the VOUCHED list. size:M 30-99 changed lines (additions + deletions). labels Nov 21, 2026
`$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>
@t3dotgg t3dotgg reopened this Nov 21, 2026
@t3dotgg

t3dotgg commented Nov 21, 2026

Copy link
Copy Markdown
Member

This is fine, sorry about the bots

@screen-gd

Copy link
Copy Markdown
Contributor Author

This is fine, sorry about the bots

No worries, A lot of PRs were blocked this way, had Shivam merge them 🫡, love your help & what yall do.

@coderabbitai

coderabbitai Bot commented Nov 21, 2026 •

Copy link
Copy Markdown
Contributor

Explain Change →

Important

Review skipped

Review was skipped as selected files did not have any reviewable changes.

Run configuration

Commits

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.

Changes: Devin ACP skills

Layer / File(s) Summary
Normalize ACP skill commands
packages/provider-acp-registry/src/server/probe.ts, apps/server/src/provider/AcpRegistryProbe.test.ts
Commands tagged with the Skills category are classified as skills. The probe test checks routing for Skills and Session commands.
Rewrite Devin skill mentions
packages/provider-acp-registry/src/server/devinAcp.ts, packages/provider-acp-registry/src/server/adapter.ts, packages/provider-acp-registry/src/server/devinAcp.test.ts
The Devin adapter rewrites mentions that match available skill names. Tests check known, unknown, and numeric-dollar mentions.

Estimated code review effort: 2 (Simple) | ~10 minutes

Change: Bug fix

Sequence Diagram(s)

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
Loading

Possibly related issues

Possibly related PRs

  • 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: Passed 4

Check name Status Explanation
Title check Passed 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 Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Description check Passed 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
Recent review info

Run configuration

Commits

Reviewing files that changed from the base of the PR and between 43c425a and d840c08.

Files selected for processing: 2

  • packages/provider-acp-registry/src/server/devinAcp.test.ts
  • packages/provider-acp-registry/src/server/devinAcp.ts

Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 8 remain after this review.

screen-gd and others added 3 commits November 22, 2026 01:23
This reverts commit b58aaf4. The change now lives on
fix/skill-mention-punctuation-upstream.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

This branch has not been deployed

No deployments
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 Author is not yet trusted in the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants