What problem does it solve? Writing LangGraph applications involves many subtle pitfalls: forgotten reducers that silently overwrite state, uncompiled graphs, infinite loops, and incorrect node return patterns. This Skill provides correct, dual-language (Python and TypeScript) patterns for every core LangGraph concept so generated code works the first time. ## Core Features & Use Cases - State Management Patterns: Teaches state schemas with reducers (Annotated/operator.add in Python, StateSchema/ReducedValue in TypeScript) and prevents common overwrite bugs. - Graph Construction: Covers nodes, static and conditional edges, Command for combined state updates and routing, and the Send API for parallel fan-out orchestration. - Execution & Streaming: Explains invoke, stream modes (values, updates, messages, custom), and streaming LLM tokens for chat UIs. - Error Handling: Maps error types to strategies including RetryPolicy, ToolNode error recovery, and interrupt-based human escalation. - Use Case: When asked to build a multi-step agent workflow with branching and parallel workers, this Skill ensures the generated graph compiles, accumulates results correctly, and terminates properly. ## Quick Start Ask the AI to build a LangGraph workflow with conditional routing and parallel workers, and this Skill will guide it to produce correct Python or TypeScript code.