What problem does it solve?
Starting new projects or implementing complex patterns from scratch can be time-consuming. This Skill provides a collection of production-ready code templates for common Kailash SDK development tasks, accelerating your development process and ensuring best practices.
Core Features & Use Cases
- Workflow Templates: Boilerplate for basic and cyclic workflows.
- Custom Component Templates: Starter code for custom nodes and MCP servers.
- Testing Templates: Ready-to-use templates for unit, integration, and end-to-end tests.
- Use Case: When you need to quickly set up a new workflow, create a custom node, or establish a robust testing suite, simply copy a template and customize it, saving hours of initial setup.
Quick Start
Basic Workflow Template
from kailash.workflow.builder import WorkflowBuilder
from kailash.runtime.local import LocalRuntime
workflow = WorkflowBuilder()
workflow.add_node("PythonCodeNode", "node1", {"code": "result = input_data * 2"})
workflow.add_connection("node1", "result", "node2", "input_data")
runtime = LocalRuntime()
results, run_id = runtime.execute(workflow.build())