dependency-grapher

Build a directed acyclic graph of task dependencies and produce a safe execution order.

Updated Jan 29, 2026
One-click install
npx skills add https://github.com/qazuor/claude-code-plugins --skill dependency-grapher
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: dependency-grapher
Source: https://github.com/qazuor/claude-code-plugins/tree/main/plugins/task-master/skills/dependency-grapher
Command: npx skills add https://github.com/qazuor/claude-code-plugins --skill dependency-grapher

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Validates and optimizes task dependencies by building a directed graph, detecting cycles, and producing executable ordering and insights.

Core Features & Use Cases

  • Cycle detection and validation to ensure feasible execution.
  • Topological sorting to derive a safe start order for tasks.
  • Critical path analysis to identify bottlenecks and sequencing requirements.
  • Parallel track identification to maximize concurrent execution where possible.
  • Designed as a dependency analysis engine for the Task Master plugin to guide planning.

Quick Start

Provide a topologically sorted execution order for the given tasks.

Frequently Asked Questions about dependency-grapher

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

FAQPage Schema
How do I find a safe execution order for tasks with dependencies?

To find a safe execution order for tasks with dependencies, you build a directed acyclic graph and compute a topological sort. This produces a sequence where every task appears only after its prerequisites are complete.

How do I detect cycles in a task dependency graph?

Cycle detection in a task dependency graph validates that the directed edges form no loops. The process enforces input structure like blockedBy and blocks, then fails safely if a self-reference or circular dependency is found.

How do I identify parallel tracks in a directed acyclic graph?

Identifying parallel tracks in a directed acyclic graph involves finding tasks that share no dependency path and can execute concurrently. The graph computation highlights these independent branches to maximize parallelism.

What input structure is needed to compute task dependencies?

Computing task dependencies requires an input structure with explicit id, title, blockedBy, and blocks fields. This validates relationships and allows the graph engine to map prerequisites and blockers accurately.

Why does topological sorting fail on task dependencies?

Topological sorting fails on task dependencies when the directed graph contains a cycle or self-reference. The validation process detects these loops, making a feasible execution order impossible to produce.