# Graph Patterns

> LangGraph workflow patterns including basic graphs, conditional routing, parallel execution, and subgraphs. Use when designing graph structure or workflow flow.

- Skill: `vanman2024/graph-patterns` (Agent Skill, multi-file: 4 files)
- Install (CLI): `npx skillmds@latest add vanman2024/graph-patterns`
- Raw SKILL.md: https://api.skillmd.com/api/skills/vanman2024/graph-patterns/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Productivity
- Author: vanman2024 (https://skillmd.com/u/vanman2024)
- Updated: 2026-09-21
- Page: https://skillmd.com/skills/vanman2024/graph-patterns

---


# Graph Patterns

Skill for LangGraph workflow design patterns.

## Overview

Design patterns for:

- Linear workflows
- Conditional branching
- Parallel execution
- Nested subgraphs

## Use When

This skill is automatically invoked when:

- Designing workflow structure
- Adding conditional logic
- Implementing parallel nodes
- Creating reusable subgraphs

## Available Scripts

| Script                      | Description                  |
| --------------------------- | ---------------------------- |
| `scripts/init-langgraph.sh` | Initialize LangGraph project |

## Available Templates

| Template                   | Description         |
| -------------------------- | ------------------- |
| `templates/basic_graph.py` | Basic Python graph  |
| `templates/conditional.py` | Conditional routing |

