Dependency Map
Identify and visualize dependencies for "$ARGUMENTS". Map story-to-story, cross-team, and external dependencies. Flag critical path items and recommend sequencing.
Prerequisites
Check that .project/$ARGUMENTS/00-initiate.md exists. If it does not, tell the user to run an Initiate skill first (e.g., project-charter) and stop.
If the user passes --skip-checks, skip the prerequisite check and log the skip to .project/$ARGUMENTS/skip-log.md with a timestamp and reason.
Process
Read existing context:
- Read
.project/$ARGUMENTS/00-initiate.md for project scope and team structure
- Read
.project/$ARGUMENTS/01-plan.md if it exists (for backlog, story details, and sprint planning)
- Read
.project/$ARGUMENTS/02-sprint.md if it exists (for current sprint state)
Identify story-to-story dependencies:
- For each story in the sprint backlog, determine if it depends on another story completing first
- Common patterns: "API must exist before frontend can consume it," "data model must be defined before services can use it," "shared component must be built before pages can use it"
- Document each dependency as: Story A → depends on → Story B (with reason)
- Flag circular dependencies — these must be resolved before work can proceed
Identify cross-team dependencies:
- Dependencies on other teams within the organization (waiting on API from backend team, design from design team, infrastructure from platform team)
- For each cross-team dependency: what is needed, from whom, by when
- Identify the contact person and current status (requested, in progress, committed, delivered)
- Flag dependencies where no commitment has been made — these are high risk
Identify external dependencies:
- Vendor deliverables (third-party library updates, SaaS provider changes)
- Third-party approvals (security review, compliance sign-off, legal review)
- Infrastructure provisioning (cloud resources, environments, access permissions)
- Data availability (test data, production data access, data migration)
- For each: what is needed, expected delivery date, fallback plan if delayed
Create dependency matrix:
- Build a matrix showing blocking relationships between all items
- Rows and columns are stories/tasks, cells indicate dependency type (blocks, blocked-by, related)
- Highlight the critical path: the longest chain of dependencies that determines the minimum sprint duration
- Identify items with no dependencies (can start immediately) vs. items with multiple dependencies (high risk)
Flag critical path items:
- The critical path is the sequence of dependent items where any delay delays the entire sprint
- List critical path items in order with their dependencies
- Calculate total critical path duration vs. available sprint time
- If critical path exceeds sprint duration, the sprint goal is at risk before work begins
Recommend sequencing:
- Based on the dependency map, recommend the order in which stories should be started
- Stories with no dependencies should start first (unblock others)
- Stories on the critical path should start early and be monitored closely
- Stories with external dependencies should have their dependencies confirmed before starting
- Identify opportunities for parallel work (stories with no shared dependencies)
Write the artifact — append to .project/$ARGUMENTS/02-sprint.md under a ## Dependency Map section:
- Story-to-Story Dependencies — list of dependencies with reasons
- Cross-Team Dependencies — what, from whom, status, and risk level
- External Dependencies — what, expected date, and fallback plan
- Dependency Matrix — blocking relationships in table format
- Critical Path — ordered list of critical path items with durations
- Recommended Sequencing — suggested start order for stories
Output
Dependency map appended to .project/$ARGUMENTS/02-sprint.md. Present a summary highlighting:
- Total number of dependencies identified (by type)
- Critical path length vs. available sprint time
- Highest-risk dependencies (unconfirmed, external, or long-chain)
- Recommended first-day actions to unblock the critical path
1---2name: dependency-map3description: Identify and visualize cross-team and cross-story dependencies4---56# Dependency Map78Identify and visualize dependencies for "$ARGUMENTS". Map story-to-story, cross-team, and external dependencies. Flag critical path items and recommend sequencing.910## Prerequisites1112Check that `.project/$ARGUMENTS/00-initiate.md` exists. If it does not, tell the user to run an Initiate skill first (e.g., project-charter) and stop.1314If the user passes `--skip-checks`, skip the prerequisite check and log the skip to `.project/$ARGUMENTS/skip-log.md` with a timestamp and reason.1516## Process17181. **Read existing context:**19 - Read `.project/$ARGUMENTS/00-initiate.md` for project scope and team structure20 - Read `.project/$ARGUMENTS/01-plan.md` if it exists (for backlog, story details, and sprint planning)21 - Read `.project/$ARGUMENTS/02-sprint.md` if it exists (for current sprint state)22232. **Identify story-to-story dependencies:**24 - For each story in the sprint backlog, determine if it depends on another story completing first25 - Common patterns: "API must exist before frontend can consume it," "data model must be defined before services can use it," "shared component must be built before pages can use it"26 - Document each dependency as: Story A → depends on → Story B (with reason)27 - Flag circular dependencies — these must be resolved before work can proceed28293. **Identify cross-team dependencies:**30 - Dependencies on other teams within the organization (waiting on API from backend team, design from design team, infrastructure from platform team)31 - For each cross-team dependency: what is needed, from whom, by when32 - Identify the contact person and current status (requested, in progress, committed, delivered)33 - Flag dependencies where no commitment has been made — these are high risk34354. **Identify external dependencies:**36 - Vendor deliverables (third-party library updates, SaaS provider changes)37 - Third-party approvals (security review, compliance sign-off, legal review)38 - Infrastructure provisioning (cloud resources, environments, access permissions)39 - Data availability (test data, production data access, data migration)40 - For each: what is needed, expected delivery date, fallback plan if delayed41425. **Create dependency matrix:**43 - Build a matrix showing blocking relationships between all items44 - Rows and columns are stories/tasks, cells indicate dependency type (blocks, blocked-by, related)45 - Highlight the critical path: the longest chain of dependencies that determines the minimum sprint duration46 - Identify items with no dependencies (can start immediately) vs. items with multiple dependencies (high risk)47486. **Flag critical path items:**49 - The critical path is the sequence of dependent items where any delay delays the entire sprint50 - List critical path items in order with their dependencies51 - Calculate total critical path duration vs. available sprint time52 - If critical path exceeds sprint duration, the sprint goal is at risk before work begins53547. **Recommend sequencing:**55 - Based on the dependency map, recommend the order in which stories should be started56 - Stories with no dependencies should start first (unblock others)57 - Stories on the critical path should start early and be monitored closely58 - Stories with external dependencies should have their dependencies confirmed before starting59 - Identify opportunities for parallel work (stories with no shared dependencies)60618. **Write the artifact** — append to `.project/$ARGUMENTS/02-sprint.md` under a `## Dependency Map` section:62 - **Story-to-Story Dependencies** — list of dependencies with reasons63 - **Cross-Team Dependencies** — what, from whom, status, and risk level64 - **External Dependencies** — what, expected date, and fallback plan65 - **Dependency Matrix** — blocking relationships in table format66 - **Critical Path** — ordered list of critical path items with durations67 - **Recommended Sequencing** — suggested start order for stories6869## Output7071Dependency map appended to `.project/$ARGUMENTS/02-sprint.md`. Present a summary highlighting:72- Total number of dependencies identified (by type)73- Critical path length vs. available sprint time74- Highest-risk dependencies (unconfirmed, external, or long-chain)75- Recommended first-day actions to unblock the critical path