From role-algorithms
Implements graph algorithms including BFS/DFS traversal, shortest paths (Dijkstra, Bellman-Ford, A*), MSTs (Kruskal, Prim), topological sort, SCCs (Tarjan, Kosaraju), max flow (Dinic), bipartite matching. Use for pathfinding, network flow, connectivity, scheduling.
How this skill is triggered — by the user, by Claude, or both
Slash command
/role-algorithms:graph-algorithmsThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
- Modeling a problem as a graph and selecting the right traversal or optimization algorithm
references/representations-and-traversal.md — adjacency list/matrix/edge list selection criteria, BFS (unweighted shortest path, bipartite check), DFS (cycle detection, articulation points), DFS edge classificationreferences/shortest-paths-and-mst.md — Dijkstra, Bellman-Ford, Floyd-Warshall, A* (admissible heuristics), Johnson's algorithm, algorithm selection table, Kruskal and Prim with cut/cycle propertiesreferences/advanced-graph.md — topological sort (Kahn's BFS + DFS post-order), SCCs (Tarjan and Kosaraju), Dinic's max flow, bipartite matching (Hopcroft-Karp, Hungarian, Kuhn's), flow application patternsnpx claudepluginhub rnavarych/alpha-engineer --plugin role-algorithmsCreates, manipulates, and analyzes complex networks and graphs using Python. Covers shortest paths, centrality, community detection, PageRank, graph I/O, and visualization.
Creates, analyzes, and visualizes complex networks using Python's NetworkX library. Handles graph algorithms, community detection, synthetic network generation, and topology visualization for social, biological, transportation, and citation networks.
Creates, analyzes, and visualizes complex networks and graphs in Python. Use for graph algorithms, centrality, shortest paths, community detection, and network generation.