slash-commands

Define slash command parameters, validation, and execution modes for chat interfaces.

23|3|Updated Jun 28, 2022
One-click install
npx skills add https://github.com/Esposter/Esposter --skill slash-commands-esposter
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: slash-commands
Source: https://github.com/Esposter/Esposter/tree/main/.agents/skills/slash-commands
Command: npx skills add https://github.com/Esposter/Esposter --skill slash-commands-esposter

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Establish consistent slash command conventions for chat interfaces, including parameter definitions, execution modes, and message formatting.

Core Features & Use Cases

  • Parameter definitions: each command has a name, description, and a required flag.
  • Deterministic execution: immediate vs parameterized modes based on parameter presence.
  • Message formatting and UI guidance for command input and rendering.
  • Real-world patterns demonstrated by commands like /roll, /me, /shrug, and /poll.

Quick Start

Tell the system to implement or modify a slash command following the conventions described above.

Frequently Asked Questions about slash-commands

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I standardize chat bot slash commands with TypeScript and Vuetify?

Standardize chat bot slash commands by defining a strongly typed command model in TypeScript with mandatory and optional parameters, deterministic execution modes, and Vuetify UI integration conventions.

What is the difference between immediate and parameterized slash command execution modes?

Immediate slash command execution triggers directly without parameters, while parameterized execution activates only when specific command parameters are present, validating inputs before processing the chat interface request.

How do I define mandatory and optional command parameters for a chat interface?

Define command parameters by assigning each slash command a name, description, and a required flag, enforcing a strongly typed model that validates mandatory and optional inputs before message formatting.

Does this slash command convention work with Vue and chat bot UI design?

Yes, the slash command conventions integrate with Vue and Vuetify UI design by providing specific message formatting rules and UI guidance for rendering command inputs and outputs within the chat interface.

What are the best practices for formatting slash command messages in a chat application?

Best practices for formatting slash command messages involve applying standardized execution rules and UI conventions to ensure consistent input rendering and deterministic output for commands like /roll, /me, and /shrug.

How do I implement a /roll or /poll command using standardized slash command rules?

Implement commands like /roll or /poll by applying the strongly typed command model, defining their required and optional parameters, and setting their execution to immediate or parameterized modes based on parameter presence.