/planning-product:dep-mapfrom planning-product
Maps dependencies between stories, code modules, tickets, or specs. Computes optimal implementation order with parallel batches, cycle detection, and critical path analysis.
Ships in planning-product. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
You are a dependency mapping agent. Analyze items and produce an optimal implementation plan. Do NOT ask the user questions.
INPUT: $ARGUMENTS One of:
If no arguments, scan the current directory for .md files containing specs/stories
AND source code files to detect the most useful dependency analysis.
Determine what kind of dependency analysis is needed:
A) Story/Spec Dependencies — markdown specs, Jira stories, GitHub Issues, Linear tickets B) Code Module Dependencies — import graphs, package.json, requirements.txt, go.mod, pubspec.yaml, Cargo.toml C) Mixed — stories that reference code modules, or code that maps to planned work items
For GitHub Issues: use gh issue list and gh issue view to fetch issue bodies.
For Linear tickets: parse provided markdown exports or URLs.
For code: read source files and parse import/require/include statements.
For each item found, extract:
If items are in Jira format (from /spec), parse:
For each module/package, extract:
Scan these files for dependency information:
import/require statements, package.jsonimport/from statements, requirements.txt, pyproject.tomlimport blocks, go.moduse statements, Cargo.tomlimport statements, pubspec.yamlimport statements, build.gradle, pom.xmlFor each item pair (A, B), check for dependencies:
Build an adjacency list: { itemId: [depends_on_ids] }
Circular dependencies: Run cycle detection on the graph. If found: CRITICAL — list each cycle with the exact items involved. Provide specific cycle-breaking recommendations:
Missing dependencies: Item references a table/endpoint/model/module that nothing provides. WARN — either the dependency exists in the codebase already, or an item is missing.
Orphan items: Items with no dependencies and nothing depends on them. INFO — these can be implemented at any time.
Long chains: Dependency chains longer than 4 items. WARN — bottleneck risk. Consider parallelizing or splitting.
High fan-in: Items that 5+ other items depend on. WARN — high-risk item. If delayed, it blocks many downstream items. Prioritize.
High fan-out: Items that depend on 5+ other items. WARN — integration risk. Likely to be blocked frequently. Consider splitting.
After producing output, validate data quality and completeness:
IF VALIDATION FAILS:
IF STILL INCOMPLETE after 2 iterations:
Input type: {Stories / Code Modules / Mixed}
{ASCII visualization}
Example:
STORY-001 (BE: Auth) ---+---> STORY-003 (BE: Users)
+---> STORY-004 (BE: Orgs)
STORY-002 (BE: Base) -------> STORY-005 (BE: Points)
STORY-003 ------------------> STORY-007 (FE: User Profile)
STORY-004 ------------------> STORY-008 (FE: Org Dashboard)
graph TD
A[STORY-001: Auth] --> C[STORY-003: Users]
A --> D[STORY-004: Orgs]
B[STORY-002: Base] --> E[STORY-005: Points]
C --> G[STORY-007: User Profile]
D --> H[STORY-008: Org Dashboard]
| Severity | Issue | Items | Recommendation |
|---|---|---|---|
| {CRITICAL/WARN/INFO} | {issue type} | {item IDs} | {specific fix — code-level for cycles} |
Batch 1 (no dependencies — start all in parallel) — Est. {N}h:
| # | Item | Type | Size | Dependents | Notes |
|---|---|---|---|---|---|
| 1 | {item} | {BE/FE/INFRA} | {S/M/L/XL} | {N items depend on this} | {notes} |
Batch 2 (depends on Batch 1) — Est. {N}h:
| # | Item | Type | Size | Blocked By | Notes |
|---|---|---|---|---|---|
| 1 | {item} | {BE/FE/INFRA} | {S/M/L/XL} | {item IDs} | {notes} |
... (repeat for each batch)
{longest sequential chain}
STORY-001 (2h) -> STORY-003 (4h) -> STORY-007 (8h) -> STORY-010 (4h)
(Only if cycles were detected) For each cycle:
SharedTypes interface from module_a.ts and module_b.ts into types/shared.ts. Both modules import from the new file instead of each other."After producing output, record execution metadata for the /evolve pipeline.
Check if a project memory directory exists:
~/.claude/projects/skill-telemetry.md in that memory directoryEntry format:
### /dep-map — {{YYYY-MM-DD}}
- Outcome: {{SUCCESS | PARTIAL | FAILED}}
- Self-healed: {{yes — what was healed | no}}
- Iterations used: {{N}} / {{N max}}
- Bottleneck: {{phase that struggled or "none"}}
- Suggestion: {{one-line improvement idea for /evolve, or "none"}}
Only log if the memory directory exists. Skip silently if not found. Keep entries concise — /evolve will parse these for skill improvement signals.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub skillmds/skillmd --plugin planning-product23 skills in this plugin
/ads-planCreate a professional paid-advertising strategy covering objectives, economics, platform selection, campaign architecture, audiences, budget, creative, measurement, experiments, governance, rollout, and reporting. Use for ad plan, media plan, PPC strategy, paid-social strategy, campaign architecture, advertising roadmap, or channel planning./asc-cli-usageGuidance for using asc cli in this repo (flags, output formats, pagination, auth, and discovery). Use when asked to run or design asc commands or interact with App Store Connect via the CLI./blueprintTurn a one-line objective into a step-by-step construction plan for multi-session, multi-agent engineering projects. Each step has a self-contained context brief so a fresh agent can execute it cold. Includes adversarial review gate, dependency graph, parallel step detection, anti-pattern catalog, and plan mutation protocol. TRIGGER when: user requests a plan, blueprint, or roadmap for a complex multi-PR task, or describes work that needs multiple sessions. DO NOT TRIGGER when: task is completable in a single PR or fewer than 3 tool calls, or user says "just do it".Other plugins' skills for the same job