CommandCodeAI / CommandCodeAI/command-code
Support slash commands mid-sentence and multiple slash commands per prompt
Chưa có ai nhận issue này.
- Ngôn ngữ chính
- Không có dữ liệu ngôn ngữ
- Star
- 4k
- Fork
- 350
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
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
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Hướng nghiên cứu
Bắt đầu bằng cách lần theo trình soạn prompt trên desktop và hành vi hiện có của menu slash ở đầu prompt. Kiểm tra cách các gợi ý được tải không đồng bộ, thao tác chèn tại vị trí caret, điều hướng bằng bàn phím, URLs, paths và các slash đã được escape được xử lý; được xem là hoàn tất khi các lệnh inline và nhiều lệnh hoạt động mà không làm mất phần văn bản xung quanh, đồng thời vẫn giữ nguyên hành vi hiện có.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Lĩnh vực
- desktop
- Loại issue
- Tính năng
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức độ hoạt động
- Ít trao đổi
- Độ rõ ràng
- Khá rõ ràng
- Mức phù hợp với người mới
- 52/100