flow-step-development

Add state-based success, error, and skip routing to chatbot flow steps.

601|129|Updated Dec 9, 2024
One-click install
npx skills add https://github.com/ChatbotXIO/ChatbotX --skill flow-step-development
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: flow-step-development
Source: https://github.com/ChatbotXIO/ChatbotX/tree/main/.agents/skills/flow-step-development
Command: npx skills add https://github.com/ChatbotXIO/ChatbotX --skill flow-step-development

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill removes the complexity of adding new branching steps to chatbot flows by keeping schema design, worker execution, builder visualization, and routing logic aligned.

Core Features & Use Cases

  • State-based routing: Define success, error, and skip outcomes that connect to different downstream nodes.
  • Full stack integration: Update flow-config schemas, worker handlers, the React Flow builder viewer, and step registration in one coordinated workflow.
  • Use case: Add a new action step that can branch on completion, fail safely, or skip when conditions are not met while still preserving fallback execution when no edge is connected.

Quick Start

Ask me to add a new flow step with its schema, worker handler, builder viewer, and registration wired together for state-based routing.

Frequently Asked Questions about flow-step-development

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

FAQPage Schema
How do I add state-based routing to chatbot workflow steps?

State-based routing in chatbot workflow steps is added by defining success, error, and skip outcomes that connect to different downstream nodes across schemas, worker handlers, and builder viewers. This coordinates branching execution end to end without manual integration overhead.

What is state-based flow step routing for branching execution?

State-based flow step routing is a mechanism defining success, error, and skip paths for chatbot workflow steps. It allows execution to branch to different downstream nodes based on worker execution results, while preserving fallback behavior when no edge is connected.

How do I wire a new flow step with its schema, worker handler, and builder viewer together?

To wire a new flow step together, you update flow-config schemas, worker handlers, the React Flow builder viewer, and step registration in one coordinated workflow. This ensures schema design, worker execution, and visualization remain aligned for state-based routing.

Can I define a skip path for chatbot flow steps when conditions are not met?

Yes, you can define a skip path for chatbot flow steps when conditions are not met. State-based routing supports success, error, and skip outcomes, allowing steps to branch safely or skip execution while preserving fallback behavior when no edge is connected.

What happens to chatbot workflow execution when no routing edge is connected to a step?

When no routing edge is connected to a chatbot workflow step, route fallback behavior is applied. This ensures the workflow continues execution safely even if success, error, or skip paths are not explicitly wired to downstream nodes.

Do I need React Flow handle mapping to build routed flow steps?

Yes, React Flow handle mapping is required to build routed flow steps. It integrates with the builder viewer to visually map state-based routing outcomes, ensuring schema definitions and worker execution results align with the visual branching logic.