pr-dependency-graph

Parse PR dependency registries into adjacency lists for topological sorting and cycle detection.

3|2|Updated May 12, 2026
One-click install
npx skills add https://github.com/kriscendobot/garden --skill pr-dependency-graph
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pr-dependency-graph
Source: https://github.com/kriscendobot/garden/tree/main/skills/pr-dependency-graph
Command: npx skills add https://github.com/kriscendobot/garden --skill pr-dependency-graph

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill resolves the complexity of managing inter-dependent pull requests by providing a clear, queryable map of the dependency graph, preventing merge conflicts and cycle-related bottlenecks.

Core Features & Use Cases

  • Dependency Mapping: Automatically parses PR registry files to build an adjacency list of blockers and blockees.
  • Cycle Detection: Identifies circular dependencies that would otherwise stall the development pipeline.
  • Transitive Analysis: Performs deep walks of the dependency tree to determine the full impact of a single PR change.
  • Use Case: When preparing a batch of PRs for a release, use this skill to verify that no circular dependencies exist and to determine the correct order of operations for merging.

Quick Start

Ask the garden to analyze the current PR dependency graph and report any detected cycles or blockers for your active worktree.

Frequently Asked Questions about pr-dependency-graph

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

FAQPage Schema
How do I detect circular dependencies in pull requests before merging?

To detect circular dependencies in pull requests, this skill parses PR registry files into an adjacency list and performs graph traversal to identify cycles that would stall your development pipeline.

How do I determine the correct merge order for inter-dependent pull requests?

Determining the correct merge order for inter-dependent pull requests requires topological sorting of the dependency graph, which this skill performs by parsing structured YAML frontmatter in PR registry files.

What is transitive dependency analysis for GitHub pull requests?

Transitive dependency analysis for GitHub pull requests performs deep walks of the dependency tree to determine the full impact of a single PR change across multiple repositories, preventing merge conflicts and bottlenecks.

Do I need structured YAML frontmatter to analyze PR dependency chains?

Yes, analyzing PR dependency chains requires structured YAML frontmatter in PR registry files to build an adjacency list of blockers and blockees for graph traversal and query operations.

Can I visualize PR dependency graphs across multiple repositories?

Yes, you can visualize PR dependency graphs across multiple repositories by querying the parsed adjacency list, which maps the complex inter-dependencies of pull requests to prevent merge conflicts.

What causes a development pipeline to stall when managing multiple pull requests?

A development pipeline stalls when managing multiple pull requests due to circular dependencies and unresolved blockers, which this skill identifies through cycle detection and transitive analysis.