agentsclimarketplace

Langgraph routing

Skill a5c-ai/babysitter/library/specializations/ai-agents-conversational/skills/langgraph-routing

Conditional edge routing and state-based transitions for LangGraph workflowsFrom its SKILL.md

Install
npx -y skills add a5c-ai/babysitter --skill langgraph-routing

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

SKILL.md

1.5 KB, 207 tokens by cl100k_base, as published. Nobody here has run it

LangGraph Routing Skill

Capabilities

  • Design conditional edge routing in LangGraph
  • Implement state-based transition logic
  • Create dynamic routing functions
  • Handle multi-path workflow branches
  • Implement router nodes for complex decisions
  • Design fallback and error routing paths

Target Processes

  • langgraph-workflow-design
  • plan-and-execute-agent

Implementation Details

Routing Patterns

  1. Conditional Edges: add_conditional_edges with routing functions
  2. Router Nodes: Dedicated nodes for routing decisions
  3. State-Based Routing: Routing based on state values
  4. LLM-Based Routing: Using LLM to determine next node

Configuration Options

  • Routing function definitions
  • Path mapping configurations
  • Default/fallback routes
  • Cycle detection settings
  • Max iteration limits

Best Practices

  • Clear routing logic documentation
  • Handle all possible states
  • Implement fallback paths
  • Avoid infinite cycles
  • Use descriptive edge names

Dependencies

  • langgraph

What ships with it: 1 file

612 B alongside SKILL.md

Keep looking

Skills are one crate of 326,059. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.