library/specializations/algorithms-optimization/skills/graph-algorithm-selector/SKILL.md
Select optimal graph algorithm based on problem constraints
npx skillsauth add a5c-ai/babysitter graph-algorithm-selectorInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Select the optimal graph algorithm based on problem constraints, graph properties, and performance requirements.
| Scenario | Algorithm | Complexity | |----------|-----------|------------| | Unweighted | BFS | O(V+E) | | Non-negative weights | Dijkstra | O((V+E)log V) | | Negative weights | Bellman-Ford | O(VE) | | All pairs | Floyd-Warshall | O(V^3) | | DAG | Topological + DP | O(V+E) |
| Scenario | Algorithm | Complexity | |----------|-----------|------------| | Sparse graph | Kruskal | O(E log E) | | Dense graph | Prim | O(V^2) or O(E log V) |
{
"type": "object",
"properties": {
"problemType": {
"type": "string",
"enum": ["shortestPath", "mst", "connectivity", "flow", "matching", "traversal"]
},
"graphProperties": { "type": "object" },
"constraints": {
"type": "object",
"properties": {
"V": { "type": "integer" },
"E": { "type": "integer" },
"negativeWeights": { "type": "boolean" },
"negativeCycles": { "type": "boolean" }
}
}
},
"required": ["problemType", "constraints"]
}
{
"type": "object",
"properties": {
"success": { "type": "boolean" },
"recommendedAlgorithm": { "type": "string" },
"complexity": { "type": "string" },
"alternatives": { "type": "array" },
"reasoning": { "type": "string" }
},
"required": ["success", "recommendedAlgorithm"]
}
development
Model documentation skill for generating model cards following Google's model card framework.
development
MLflow integration skill for experiment tracking, model registry, and artifact management. Enables LLMs to log experiments, compare runs, manage model lifecycle, and retrieve artifacts through the MLflow API.
data-ai
LIME-based local explanation skill for individual predictions across tabular, text, and image data.
devops
Kubeflow Pipelines skill for ML workflow orchestration, component management, and Kubernetes-native ML.