workflow-skill

Generate LangGraph supervisor nodes, execution plans, and workflow orchestration logic.

Updated Mar 12, 2026
One-click install
npx skills add https://github.com/tendercoconut174/ai-agent-platform --skill workflow-skill-tendercoconut174
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: workflow-skill
Source: https://github.com/tendercoconut174/ai-agent-platform/tree/main/.cursor/skills/workflow-skill
Command: npx skills add https://github.com/tendercoconut174/ai-agent-platform --skill workflow-skill-tendercoconut174

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Building multi-agent orchestration with LangGraph requires consistent patterns for state management, DAG-based planning, node routing, and replanning logic, which are easy to get wrong when written from scratch. ## Core Features & Use Cases - Supervisor Graph Generation: Create LangGraph StateGraph definitions with classify, plan, execute, evaluate, and deliver nodes wired with conditional routing. - Execution Plan Modeling: Define ExecutionPlan and PlanStep Pydantic models representing DAGs of agent tasks with dependency tracking. - Workflow State Management: Implement WorkflowState TypedDicts carrying intent, plans, step results, and replan iteration counters. - Use Case: When adding a new human-in-the-loop clarification node to an existing supervisor graph, use this Skill to generate the node function, register it in graph.py, and wire the conditional edges correctly. ## Quick Start Ask the AI to generate a new LangGraph supervisor node for the orchestrator and register it in the workflow graph.

Frequently Asked Questions about workflow-skill

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I add a new node to a LangGraph StateGraph?▼

Create a node function that accepts and returns the workflow state TypedDict, then register it with graph.add_node and connect it using graph.add_edge or graph.add_conditional_edges. The node receives the full state and returns an updated state dictionary.

How to build a DAG execution plan with LangGraph?▼

Model the plan as a list of PlanStep objects where each step declares its dependencies by node_id. The execute node runs steps whose dependencies are complete, executing independent steps in parallel and passing dependency results as context.

Does LangGraph support replanning when a workflow fails?▼

Yes, implement an evaluate node that checks goal achievement and routes back to the plan node via conditional edges when the goal is not met. Track iteration_count and max_iterations in state to prevent infinite replan loops.

What is the difference between conditional edges and normal edges in LangGraph?▼

Normal edges always route to a fixed next node, while conditional edges call a routing function that inspects the state and returns the next node's name. Use conditional edges after classify and evaluate nodes for intent-based or outcome-based branching.

When should I use a supervisor graph instead of a single agent?▼

Use a supervisor graph when tasks require multiple specialized agents, dependency ordering, parallel execution, or iterative refinement. Single agents suffice for casual chat or simple one-step requests that need no planning.