create-input-chain

Define multi-step input chains for Telegram bot conversations using a Kotlin DSL.

247|18|Updated May 26, 2022
One-click install
npx skills add https://github.com/vendelieu/telegram-bot --skill create-input-chain
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: create-input-chain
Source: https://github.com/vendelieu/telegram-bot/tree/main/.cursor/skills/bot-user/create-input-chain
Command: npx skills add https://github.com/vendelieu/telegram-bot --skill create-input-chain

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill simplifies the creation of multi-step conversational flows within a Telegram bot, allowing for guided user interactions without complex state management.

Core Features & Use Cases

  • Input Chains: Define sequential steps for user input.
  • Automatic Advancement: The chain progresses automatically after each user response.
  • Conditional Breaking: Ability to break the chain based on specific user input.
  • Use Case: Create a bot that asks for a user's name, then their favorite food, and responds based on their answers, all within a defined conversational flow.

Quick Start

Define an input chain named 'conversation' within your bot's functionality settings to start a multi-step interaction.

Frequently Asked Questions about create-input-chain

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

FAQPage Schema
How do I build multi-step conversational flows in a Telegram bot without persistent state?

You can build multi-step conversational flows by defining sequential input chains using a Kotlin DSL. This approach facilitates guided user interactions without requiring complex persistent wizard state management.

How do I set up a multi-step input chain for a Telegram bot dialog?

To set up an input chain, define a named chain within your bot's functionality settings. The chain will automatically progress through the defined sequential steps after each user response is received.

Can I break a conversational flow conditionally based on user input in a Kotlin DSL?

Yes, you can conditionally break conversational flows. The input chain supports conditional breaking based on specific user input, allowing you to exit the guided dialog when defined criteria are met.

What is the best way to create guided dialogs for Telegram bots using Kotlin?

The best way to create guided dialogs is using a Kotlin DSL to define input chains. This method enables automatic progression through user interaction steps without the overhead of manual state tracking.

Do I need persistent wizard state to handle sequential bot interactions?

No, you do not need persistent wizard state. The input chain DSL allows you to create sequential user interactions and automatic step advancement without the complexity of maintaining persistent state.