What problem does it solve? Many coding problems are secretly graph problems — grids, dependency lists, state spaces — and choosing the wrong traversal (like DFS for shortest paths) produces solutions that pass small tests but fail in production. This Skill provides the modeling step and the correct algorithm selection for reachability, shortest paths, dependency ordering, and connected components. ## Core Features & Use Cases - Algorithm selection by question type: Maps the problem's question to the right algorithm — BFS for unweighted shortest paths, DFS for reachability and backtracking, Kahn's topological sort for dependency ordering, union-find for dynamic grouping. - Bug-proof templates: Provides BFS with enqueue-time marking, three-color directed cycle detection, Kahn's with free cycle detection via leftover nodes, and union-find with path compression plus union by size. - Use Case: Given 40,000 microservice dependency edges, produce a deploy order and, if impossible, name the offending services — Kahn's algorithm orders the acyclic portion and exposes the exact services forming the cycle. ## Quick Start Use the graph-traversal-patterns skill to find the minimum number of moves between two states in this puzzle and detect any cycles in my dependency list.