a5c-ai/babysitter / library/specializations/ai-agents-conversational/skills/langgraph-routing
langgraph-routing
VerifiedConditional edge routing and state-based transitions for LangGraph workflows
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
- Conditional Edges: add_conditional_edges with routing functions
- Router Nodes: Dedicated nodes for routing decisions
- State-Based Routing: Routing based on state values
- 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
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack." | Stars: 197k | Updated | Claude CodeCodex | Verified | Install |
| ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |