Skip to content

Clarify Codex skill invocation hint in the composer#1653

Open
ZeuxMD wants to merge 1 commit intopingdotgg:mainfrom
ZeuxMD:zeux/clarify-codex-skill-dollar-hint
Open

Clarify Codex skill invocation hint in the composer#1653
ZeuxMD wants to merge 1 commit intopingdotgg:mainfrom
ZeuxMD:zeux/clarify-codex-skill-dollar-hint

Conversation

@ZeuxMD
Copy link
Copy Markdown

@ZeuxMD ZeuxMD commented Apr 1, 2026

What Changed

Updated the web composer placeholder copy to explicitly mention that Codex users can type $ in the message box to mention skills.

The hint is only shown for Codex so Claude threads keep their existing copy.

I also extracted the placeholder strings into small helpers and added focused tests for the Codex and non-Codex variants.

Why

T3 Code already supports passing raw prompt text through to Codex, but the composer UI only advertised @ mentions and / commands.

That makes skill invocation easy to miss. This keeps the change small and local while clarifying the supported syntax in the place users actually type it.

UI Changes

Before (Codex new/disconnected thread):

  • Ask for follow-up changes or attach images

After (Codex new/disconnected thread):

  • Ask for follow-up changes, type $ to mention skills, or attach images

Before (Codex connected/default composer state):

  • Ask anything, @tag files/folders, or use / to show available commands

After (Codex connected/default composer state):

  • Ask anything, @tag files/folders, type $ to mention skills, or use / to show available commands

No motion or interaction behavior changed.

Checklist

  • This PR is small and focused
  • I explained what changed and why
  • I included before/after screenshots for any UI changes
  • I included a video for animation/interaction changes

Note

Low Risk
Low risk: UI copy-only change gated by provider (codex) plus small helper extraction; no message dispatching or state logic is modified.

Overview
Updates the chat composer placeholder text to explicitly advertise $ skill invocation for Codex (both default and disconnected phases), while keeping non-Codex providers’ placeholder copy unchanged.

Extracts the placeholder strings into buildDefaultComposerPlaceholder / buildDisconnectedComposerPlaceholder helpers in ChatView.logic, updates ChatView to use them, and adds focused unit tests to lock in the provider-specific copy.

Written by Cursor Bugbot for commit f98b001. This will update automatically on new commits. Configure here.

Note

Show skill invocation hint in composer placeholder for Codex provider

Adds provider-aware placeholder text to the composer input in ChatView.tsx. Two new utility functions, buildDefaultComposerPlaceholder and buildDisconnectedComposerPlaceholder in ChatView.logic.ts, return a placeholder that includes "type '$' to mention skills" when the provider is codex, and the previous placeholder text for all other providers.

Macroscope summarized f98b001.

@coderabbitai
Copy link
Copy Markdown

coderabbitai bot commented Apr 1, 2026

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro

Run ID: 45d3ad70-d4e1-461f-a514-01e7ba2e890a

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
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@github-actions github-actions bot added size:S 10-29 changed lines (additions + deletions). vouch:unvouched PR author is not yet trusted in the VOUCHED list. labels Apr 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:S 10-29 changed lines (additions + deletions). vouch:unvouched PR author is not yet trusted in the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant