dag-scheduling

Orchestrate parallel SDD agents using Directed Acyclic Graphs with critical path analysis.

47|10|Updated Feb 22, 2026
One-click install
npx skills add https://github.com/gonzalezpazmonica/pm-workspace --skill dag-scheduling
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: dag-scheduling
Source: https://github.com/gonzalezpazmonica/pm-workspace/tree/main/.claude/skills/dag-scheduling
Command: npx skills add https://github.com/gonzalezpazmonica/pm-workspace --skill dag-scheduling

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill addresses the inefficiency of sequential execution in the SDD pipeline by identifying and exploiting parallelism, significantly reducing overall delivery time.

Core Features & Use Cases

  • DAG Construction: Automatically builds a Directed Acyclic Graph from phase dependencies.
  • Critical Path Analysis: Identifies the longest sequence of dependent tasks and calculates phase slack.
  • Parallel Cohort Execution: Groups independent phases into cohorts for simultaneous execution, respecting agent limits.
  • Use Case: Accelerate the development cycle by running independent tasks like spec-slice and security-review concurrently, rather than waiting for each to complete sequentially.

Quick Start

Execute the dag-scheduling skill to plan and run the SDD pipeline with parallel agent orchestration.

Frequently Asked Questions about dag-scheduling

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

FAQPage Schema
How do I parallelize agents in a Spec-Driven Development pipeline?

You can parallelize Spec-Driven Development agents by constructing a Directed Acyclic Graph from phase dependencies, grouping independent phases into cohorts for simultaneous execution while respecting defined agent limits.

How does critical path analysis optimize workflow orchestration?

Critical path analysis optimizes workflow orchestration by identifying the longest sequence of dependent tasks and calculating phase slack, which allows the scheduler to maximize parallel execution of independent phases.

Can I run independent tasks like spec-slice and security-review concurrently?

Yes, independent tasks like spec-slice and security-review can be grouped into parallel cohorts for simultaneous execution, accelerating the development cycle by removing sequential bottlenecks.

Do I need worktree isolation for parallel pipeline execution?

Worktree isolation is supported for parallel agents to prevent conflicts during concurrent execution, ensuring that simultaneous pipeline phases operate independently without overwriting shared state.

What are the limitations of using DAGs for workflow scheduling?

DAG scheduling is limited by dependent tasks that cannot be parallelized and must run sequentially along the critical path, while concurrent execution is additionally constrained by defined agent limits.

dag-scheduling: how does it handle automatic recovery during parallel execution?

The dag-scheduling skill includes automatic recovery mechanisms to handle failures during parallel agent execution, ensuring the orchestrated pipeline can resume or retry tasks without manual intervention.