Audit a dependency tree for risk
Assess the whole dependency graph rather than the direct dependencies.
What this prompt helps you do
Dependencies ranked by risk covering maintenance, vulnerabilities, licences, and the cost of replacing each.
When to use it
A project has many transitive dependencies and only the direct ones have been considered.
What to prepare
The goal, relevant source material, constraints, examples, and the decision or action this should support.
How to get a strong result
Weight by how hard each would be to replace; an unmaintained dependency you cannot remove is the real risk.
How to use this prompt
Replace each placeholder with accurate context. Paste the complete prompt into Claude, review the response critically, resolve important questions, and use it as a considered input to the next decision—not as an unchecked final answer.