Quick reference cheatsheets for Kailash SDK patterns, nodes, workflows, and best practices. Use when asking about 'quick tips', 'cheat sheet', 'quick reference', 'common mistakes', 'node selection', 'workflow patterns library', 'cycle patterns', 'production patterns', 'performance optimization', 'monitoring', 'security config', 'multi-tenancy', 'distributed transactions', 'saga pattern', 'custom nodes', 'PythonCode data science', 'ollama integration', 'directoryreader patterns', or 'environment variables'.
Comprehensive collection of quick reference guides, common patterns, and best practices for Kailash SDK development.
This skill provides quick access to:
from kailash.workflow.builder import WorkflowBuilder
from kailash.runtime import LocalRuntime
workflow = WorkflowBuilder()
workflow.add_node("NodeType", "node_id", {"param": "value"})
runtime = LocalRuntime()
results, run_id = runtime.execute(workflow.build())
# Data processing
workflow.add_node("PythonCode", "transform", {"code": "..."})
# API calls
workflow.add_node("HTTPRequest", "api", {"url": "...", "method": "GET"})
# AI/LLM
workflow.add_node("LLMNode", "chat", {"model": "gpt-4", "prompt": "..."})
workflow.add_node("LoopNode", "loop", {"max_iterations": 5})
workflow.add_node("ProcessNode", "process", {})
workflow.add_connection("loop", "item", "process", "input")
workflow.add_connection("process", "output", "loop", "feedback")
| Rule | Why |
|---|---|
| ❌ NEVER use raw SQL | Use DataFlow instead |
✅ ALWAYS call .build() | Before runtime.execute() |
| ❌ NEVER use relative imports | Use absolute imports |
| ❌ Avoid mocking in Tier 2-3 | Prefer real infrastructure |
Use this skill when you need:
For cheatsheet-related questions, invoke:
pattern-expert - Pattern selection and usagesdk-navigator - Find specific patterns in documentationframework-advisor - Choose appropriate patterns for your use case