CommandCodeAI / CommandCodeAI/command-code

Support slash commands mid-sentence and multiple slash commands per prompt

Abierto
#646 1 comentario 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Lenguaje dominante
Sin datos de lenguaje
Estrellas
4k
Forks
350
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

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

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Línea de trabajo

Empieza siguiendo el compositor de prompts de escritorio y el comportamiento existente del menú de barra al inicio del prompt. Comprueba cómo se gestionan las sugerencias cargadas de forma asíncrona, la inserción en la posición del cursor, la navegación mediante el teclado, las URLs, las rutas y las barras escapadas; se considera terminado cuando los comandos inline y múltiples funcionan sin perder el texto circundante, mientras el comportamiento existente permanece intacto.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Área
desktop
Tipo de issue
Nueva funcionalidad
Dificultad
4/5
Tiempo estimado
3-5 días
Estado de actividad
Tranquilo
Claridad
Bastante claro
Aptitud para principiantes
52/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.