Skip to content

Allow command templates to be invoked via slash commands #38

Description

@bussard76

Problem

Command templates can be created, but they cannot currently be invoked directly from the chat input using slash-command syntax.

This makes reusable prompts less discoverable and less efficient to use, since users need to manually locate and insert the template instead of calling it by name.

Expected behavior

A command template should be available as a slash command, similar to pi.dev prompt templates.

For example, a template named review-pr should be invokable with:

/review-pr

Typing / should ideally provide autocomplete for available templates, including their name and description.

Actual behavior

Command templates cannot currently be invoked through the slash-command interface.

Example use cases

  • /review-pr to start a standardized pull-request review
  • /create-issue to generate an issue using a team-specific template
  • /architecture-review <topic> to apply a reusable architecture-review prompt

Questions

  • Is slash-command support for command templates intentionally not supported?
  • Is there an existing workaround or configuration that enables it?
  • Should template arguments be supported, e.g. /review-pr 123?
  • Should templates be scoped globally, per user, per workspace, and/or per project?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions