Skip to content
Back to skills

Dependency Map

ASecurity

Track cross-team dependencies in one JSON file and get a risk-ranked blocker list, the longest hand-off chain and a Mermaid graph. Use when several teams depend on each other, a launch has cross-team hand-offs, or you need to know what to chase this week and who owns it.

  • 1,271 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added May 31, 2026
ai-agentspythongobashnodegitfrontenddevops

Security analysis

A100/100

Pro scans all 7 files and shows the line behind each finding

Scanned December 4, 2026

npx -y skills add borghei/Claude-Skills --skill dependency-map --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Dependency Map?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Dependency Map
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/borghei-dependency-map/badge)](https://www.skillsdirectory.com/skills/borghei-dependency-map)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: dependency-map
description: >
  Track cross-team dependencies in one JSON file and get a risk-ranked blocker
  list, the longest hand-off chain and a Mermaid graph. Use when several teams
  depend on each other, a launch has cross-team hand-offs, or you need to know
  what to chase this week and who owns it.
license: MIT + Commons Clause
metadata:
  version: 1.0.2
  author: borghei
  category: project-management
  domain: pm-execution
  updated: 2026-11-08
  python-tools: dependency_graph.py
  tech-stack: dependencies, critical-path, dsm, conway, mermaid
  tags:
    - dependencies
    - critical-path
    - program-management
    - mermaid
---
# Cross-Team Dependency Map

## Overview

Dependency tracking for multi-team initiatives: who is blocking whom, what is on the critical path, what is at risk, and what to coordinate this week. The output is a Mermaid dependency diagram, a critical-path list, a risk-ordered blocker list, and a weekly cross-team sync agenda -- all generated from a single JSON file you maintain instead of a sprawling spreadsheet.

Most cross-team programs fail at dependency management, not execution. The teams individually do good work; the gaps are at the seams. This skill makes those seams visible, prioritizes them by criticality, and produces the communication artifacts that keep them visible week over week. The underlying model uses the Critical Path Method (CPM, Kelley and Walker, 1959) for sequencing, optional DSM (Design Structure Matrix) thinking for cluster identification, and Conway's Law (Conway, 1968) framing for the organizational source of recurring dependency patterns. All outputs follow the six standard PM formats per `SHARED_OUTPUT_SCHEMA.md`.

## Core Capabilities

- **Dependency capture** — a six-field model (from/to team, description, needed-by, expected-delivery, status) maintained as one JSON file.
- **Critical path** — the longest chain of open hand-offs (A's `to_team` is B's `from_team`, dates within 30 days), with slack shown per link. It is the chain to watch, not a strict zero-slack CPM path; links with positive slack can sit on it.
- **Risk ordering** — slack and status combine into a risk-ranked blocker list.
- **Visualization & comms** — Mermaid `graph LR` rendering plus a weekly cross-team sync agenda.
- **Org diagnosis** — Conway's Law framing for recurring team-pair dependencies.

## When to Use

- **Multi-team feature** -- A feature requires platform, mobile, and data teams to coordinate.
- **Program management** -- Tracking 5-20 dependent workstreams across a quarter (see `program-manager/`).
- **Release coordination** -- A launch depends on legal review + DevOps capacity + design assets all converging.
- **Quarterly planning** -- Identifying which dependencies threaten quarterly OKR commitments.
- **Org-design diagnosis** -- Recurring dependencies between the same two teams may signal a structural problem (Conway's Law).

**When NOT to use:** single-team backlogs (use `wwas/` or `job-stories/`), pure technical dependencies inside one codebase (use Git), or stakeholder relationships (use `senior-pm/stakeholder_mapper.py`).

## Clarify First

Before mapping dependencies, settle the inputs below. When one is missing or vague and would change the result, ask about it; when it wouldn't, use a sensible default and say which one you used.

- **Teams / workstreams in scope:** the from/to pairs become the nodes; the wrong set produces a graph that maps the wrong program.
- **Needed-by and expected-delivery dates per dependency:** these drive slack, so they determine the critical path and the entire risk ordering.
- **Current status of each dependency:** not-started / in-progress / at-risk / done drives the risk-ordered blocker list and the weekly sync agenda.
- **Named owner per dependency:** an ownerless dependency cannot be walked weekly; owners populate the sync agenda.

Ask about the two or three inputs that matter most for this request, not the whole list. If the user wants a result straight away, produce it and state your assumptions at the top.

## Workflow

1. Copy `assets/dependency-template.json` and fill one entry per cross-team dependency (`from_team` needs, `to_team` owes). Set `"as_of"` to the date of the snapshot.
2. Run the analyzer from the repository root:

```bash
python3 project-management/execution/dependency-map/scripts/dependency_graph.py \
  --input project-management/execution/dependency-map/assets/flawed-dependencies.json
# --format json|markdown|mermaid|confluence|notion|linear; --criticality critical,high or --team Mobile to filter
```

Real output (excerpt):

```
Read 8 dependencies (1 done, 1 blocked, 1 at_risk, 3 in_progress, 2 not_started)
Findings
1. [high] high-risk: DEP-003 "Event schema for new authentication telemetry" (Platform needs from Data, needed 2026-06-05, expected 2026-06-12, at_risk)
   Why: negative slack -7 days (needed_by minus expected_delivery).
   Fix: Expected delivery is 7 day(s) after needed_by. Either pull delivery in to 2026-06-05 ...
2. [critical] blocked: DEP-005 "Push-notification certificate rotation" ...
FIX 2 issues
```

3. Give every critical-path and at-risk item a named owner and a next action; walk them weekly with `assets/weekly-sync-agenda.md`. Update the JSON before each sync.
4. **Done when** the tool prints `PASS` (no blocked, late, overdue or unowned open item).

**Findings it raises** (each quotes the row and gives a fix): `blocked`; `high-risk` (negative slack, `at_risk` status, or `not_started` with 14 days or fewer left - an internal heuristic); `overdue` (needed-by before the as-of date and not done); `no-owner`; `self-dependency`; `duplicate-id`. Next actions are capped at three, blocked first.

**As-of date:** `--as-of`, else the file's `as_of` field, else today. Risk is driven by slack (needed-by minus expected delivery), status, and days left to the needed-by date. `--demo` runs built-in sample data and labels it `DEMO DATA` in every format (a `demo: true` field in JSON). An unknown `--format` prints a one-line error and exits 2.

**Samples:** `assets/sound-dependencies.json` (exit 0), `assets/flawed-dependencies.json` (exit 1), `assets/malformed-dependencies.json` (exit 2). `assets/dependency-template.json` is the starter (sample rows, exit 0 as shipped; replace them with your own).

## Exit codes

| Code | Meaning |
|---|---|
| 0 | No findings (`PASS`) |
| 1 | Findings: blocked, high-risk, overdue, unowned or malformed-pair items (`FIX n issues`); the report is still written |
| 2 | Unusable input: missing file, invalid JSON, empty or wrong-shape `dependencies`, bad dates, invalid status/criticality, filter that leaves nothing |

## Anti-Patterns

### Dependencies that never reach the JSON
**Mistake:** The JSON lists 8 dependencies while 22 exist. The rest live in Slack DMs and people's heads, and one team blocks another for three weeks before anyone notices.
**Why it happens:** Only the dependencies someone remembers to report get added.
**Instead:** Run a 90-minute inventory with each team lead at the start of the planning period, and log any dependency found outside the JSON within 24 hours. If a fresh round finds more than 30% new ones, the map is incomplete.

### Tracking tasks instead of cross-team work
**Mistake:** The JSON holds 80 task-level items such as "Frontend needs button asset from Design", and the Mermaid diagram becomes unreadable.
**Why it happens:** Teams log every handoff to be thorough.
**Instead:** Track at the epic level, roughly 1-2 weeks of cross-team work each, and keep intra-team handoffs on the team's sprint board. More than about 25 dependencies per program means you should aggregate.

### Arrows pointing the wrong way
**Mistake:** A dependency is entered with `from_team` as the team delivering the work and `to_team` as the team waiting for it.
**Why it happens:** "From" reads naturally as where the work comes from.
**Instead:** `from_team` is the team that needs the work, and `to_team` is the team that owes it. Spot-check a few descriptions before running `dependency_graph.py`, because a reversed arrow breaks the critical path and the risk ordering.

Nine more, each with a bad and a good example: `references/red-flags.md`.

## Files

| File | Purpose |
|---|---|
| `scripts/dependency_graph.py` | The analyzer |
| `assets/dependency-template.json` | Starter file: 8 dependencies, one per status |
| `assets/*-dependencies.json`, `assets/contract.json` | Sound / flawed / malformed samples and the run contract |
| `assets/weekly-sync-agenda.md` | Agenda for the weekly cross-team sync |
| `examples/q4-launch-cross-team-deps.md` | Worked program example |

## References

- **[references/dependency-map-operations.md](references/dependency-map-operations.md)** — read this for the operational detail: the six-field model, slack/risk derivation, critical-path computation, the 8-step weekly workflow, tool flags, input/output JSON schemas, troubleshooting, and success criteria.
- **[references/dependency-management-guide.md](references/dependency-management-guide.md)** — read this for the CPM walkthrough, DSM intro, Conway's Law applied, and recurring-dependency diagnosis.
- **[references/red-flags.md](references/red-flags.md)** — read this to see the common ways dependency-map output goes wrong (with fixes) before publishing a map.
- Kelley & Walker, "Critical-Path Planning and Scheduling" (1959); Conway, "How Do Committees Invent?" (1968); Steward, "The Design Structure System" (1981).

## Scope & Limitations

**In Scope:** cross-team dependency capture and visualization, Critical Path Method analysis, risk-ordered blocker list, Mermaid `graph LR` rendering, Conway's Law-aware quarterly review, all six formats per `SHARED_OUTPUT_SCHEMA.md`.

**Out of Scope:** resource capacity planning (`senior-pm/resource_capacity_planner.py`), stakeholder mapping (`senior-pm/stakeholder_mapper.py`), sprint-level backlog ordering (`prioritization-frameworks/`), detailed Gantt charting, risk register beyond dependency blockers (`discovery/pre-mortem/`).

**Important Caveats:** dependency maps degrade fast without weekly updates (a 4-week-old map is harmful); the critical path identifies the *currently longest* chain and can shift when a single dependency is added (re-run on every change); this skill surfaces what to talk about but does not replace the conversation.

## Integration Points

| Integration | Direction | What Flows |
|-------------|-----------|------------|
| `program-manager/` | Used by | Program managers maintain the dependency JSON across teams |
| `senior-pm/` | Feeds into | Critical-path risks flow into portfolio risk reporting |
| `senior-pm/risk_matrix_analyzer.py` | Complementary | Dependency risks plot alongside other program risks |
| `discovery/pre-mortem/` | Complementary | Pre-mortem-identified "tigers" often map to specific dependencies |
| `cycle-time-analyzer/` | Complementary | Long cycle times often correlate with cross-team blocks |
| `launch-playbook/` | Feeds into | Launch RACI references the dependency map for cross-team owners |
| `status-update-generator/` | Feeds into | Weekly status pulls critical-path summary |
| `summarize-meeting/` | Feeds into | Weekly sync notes become structured summaries |

Files in this skill

  • SKILL.md12.5 KB
  • assets/dependency-template.json2.9 KB
  • assets/weekly-sync-agenda.md3.2 KB
  • examples/q4-launch-cross-team-deps.md9.9 KB
  • references/dependency-management-guide.md10 KB
  • references/red-flags.md13.7 KB
  • scripts/dependency_graph.py22.7 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.