A lightweight VS Code extension that lets you define, manage, and invoke custom chat “subcommands” via a side‑panel and the built‑in Chat (Copilot) experience.
Features
Custom subcommands: Add, edit, and remove your own commands and instructions on the fly.
List subcommands: Quickly list all your active custom subcommands with the /list chat command.
Persistent storage: Your custom subcommands are saved across VS Code restarts.
Flexible invocation: Invoke any subcommand directly in Chat using !<name>.
Manage Subcommands
Open the Subcommands panel:
Click the Code Chat Helper icon in the Activity Bar.
If it’s not visible, go to View → Appearance → Show Side Bar, then choose Code Chat Helper: Subcommands.
Use the Add, Edit, or Delete buttons to manage your commands.
When adding or editing:
Name: the command identifier (no leading !).
Instruction: the prompt you want Chat to follow.
Choose File (optional): inject file contents into the prompt.
Click Save to persist your changes.
List Custom Subcommands
In the Chat panel, enter:
@cch /list
Type @cch to select the Code Chat Helper participant.
Choose the /list slash command (or type it out).
The extension will reply with a Markdown-formatted list of all your current custom subcommands.
Use a Subcommand
In the Chat panel, type @cch to select Code Chat Helper.
Begin your message with !<subcommand> followed by your prompt.
Example:
@cch !review
Please review the error handling in this function…
The response will follow exactly the instruction you defined for that subcommand.