CommandCodeAI / CommandCodeAI/command-code
Support slash commands mid-sentence and multiple slash commands per prompt
まだ誰も着手していません。
- 主要言語
- 言語のデータがありません
- スター
- 4k
- フォーク
- 350
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
Feature Description
Please support invoking skills/commands when / is typed anywhere in the prompt composer, not only when the prompt starts with /, and allow multiple slash-command invocations in a single prompt.
Current behavior
In the Command Code desktop app, slash suggestions appear when the slash is at the beginning of the input. If I first write prose and then type /, or include a second / later in the same prompt, the command/skill picker does not appear. This makes it difficult to write natural instructions and compose several skills in one request.
Desired behavior
- Typing
/after existing text opens the same asynchronously loaded slash menu at the caret. - Selecting a command inserts or activates it at that position without discarding the surrounding prompt.
- Each slash occurrence can be resolved independently, so one prompt can contain multiple commands/skills.
- Keep the current start-of-prompt behavior and keyboard navigation.
- Preserve ordinary text such as URLs, filesystem paths, and escaped slashes.
Example
Audit this interface with /impeccable, check keyboard access with /accessibility, then browse the docs with /browser.
This would match the inline slash workflow I use in Codex today.
Use Case
Natural-language requests often introduce a skill after the goal is stated. Requiring the user to move every command to the first character breaks the flow of the request, makes multi-step work awkward, and can make skills appear unavailable.
Inline invocation would reduce prompt restructuring, let users compose workflows naturally, and make Command Code a smoother replacement for Codex-style slash skill calls.
Additional Context
Observed on Command Code desktop v0.1.8 on macOS. In a Discord discussion, the Command Code team/community clarified that the current slash menu is surfaced at the start of input and recommended filing a GitHub feature request for mid-prompt skill invocation.
This request covers both related behaviors: (1) invoking a slash command after existing text and (2) using multiple slash commands in one prompt. It is a usability/feature request and does not require changing the existing command catalog.
How important is this to you?
Important for my workflow
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
まず、デスクトップのプロンプトコンポーザーと、プロンプト開始時における既存のスラッシュメニューの動作を追跡します。非同期で読み込まれる候補、キャレット位置への挿入、キーボードナビゲーション、URL、パス、エスケープされたスラッシュがどのように処理されるかを確認します。既存の動作を維持したまま、周囲のテキストを失うことなくインラインコマンドと複数のコマンドが機能すれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 領域
- desktop
- issue の種類
- 機能追加
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 静か
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 52/100