rc-slash-command

Generate Rocket.Chat Apps Engine slash commands with type coverage and error handling.

Updated Mar 14, 2026
One-click install
npx skills add https://github.com/SoroushRF/gemini-cli-rc-apps --skill rc-slash-command
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: rc-slash-command
Source: https://github.com/SoroushRF/gemini-cli-rc-apps/tree/main/skills/rc-slash-command
Command: npx skills add https://github.com/SoroushRF/gemini-cli-rc-apps --skill rc-slash-command

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill simplifies the creation of custom slash commands within Rocket.Chat, enabling developers to build interactive bots and automated workflows.

Core Features & Use Cases

  • Slash Command Generation: Define and register new slash commands for your Rocket.Chat apps.
  • Type Coverage: Ensures accurate type definitions for robust command implementation.
  • Error Handling: Provides guidance on implementing reliable error handling for commands.
  • Use Case: You need to create a command in Rocket.Chat that fetches the current weather for a given city. This Skill will guide you through defining the command and handling the API request.

Quick Start

Use the rc-slash-command skill to create a new slash command for fetching weather data.

Frequently Asked Questions about rc-slash-command

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

FAQPage Schema
How do I create custom slash commands for a Rocket.Chat app?

To create custom slash commands for a Rocket.Chat app, you need to define and register new commands using the Apps Engine, ensuring accurate type coverage and robust error handling for reliable bot responses.

How does a Rocket.Chat slash command handle external API calls?

A Rocket.Chat slash command handles external API calls by utilizing the IHttp interface to securely fetch data from outside services, such as retrieving current weather data for a specified city and returning it as a bot response.

Can I use Rocket.Chat bots to trigger automated workflows and actions?

Yes, you can use Rocket.Chat bots to trigger automated workflows and actions by registering custom slash commands that execute specific logic, handle errors, and facilitate interactive integrations within the chat environment.

What is the best way to implement error handling in Rocket.Chat Apps Engine commands?

The best way to implement error handling in Rocket.Chat Apps Engine commands is to follow safety rules for command registration and external requests, ensuring your custom bot triggers fail gracefully without disrupting the chat experience.

Does Rocket.Chat slash command development require i18n localization?

Rocket.Chat slash command development adheres to i18n localization safety rules, ensuring that custom bot responses and triggered actions can support multiple languages for global app integration.

Why are my custom Rocket.Chat slash commands not registering correctly?

Custom Rocket.Chat slash commands may fail to register if they lack accurate type definitions or violate Apps Engine safety rules, making comprehensive type coverage and proper command registration protocols essential for successful execution.