skills/patricio0312rev/workspaces/workspace-affected

workspace-affected

SKILL.md

Skill: Workspace Affected

Description

Show the dependency graph for a project - what depends on it and what it depends on. Useful for understanding the impact of changes.

Arguments

  • [project] - Project to analyze (defaults to current project)

Instructions

When the user wants to see affected projects:

Step 1: Identify Target Project

Use the provided project name or detect from current directory.

Step 2: Parse Relationships

Read the ## Relationships section from WORKSPACE.md:

## Relationships
- admin -> api (REST client, consumes /api/v1/*)
- homepage -> api (product catalog, consumes /api/v1/products)
- mobile -> api (REST client, consumes /api/v1/*)

Format: consumer -> provider (description)

Step 3: Build Dependency Graph

For the target project, identify:

  1. Dependents (what depends on this project)
  2. Dependencies (what this project depends on)

Step 4: Display Graph

πŸ”— Dependency graph for: api

Projects that depend on api (will be affected by changes):
  β”œβ”€β”€ admin (REST client, consumes /api/v1/*)
  β”œβ”€β”€ homepage (product catalog, consumes /api/v1/products)
  └── mobile (REST client, consumes /api/v1/*)

Projects that api depends on:
  └── (none)

Impact summary:
  β€’ Changes to api may affect 3 projects
  β€’ Consider running tests in: admin, homepage, mobile

Use Cases

  • Before making breaking changes: "I'm changing the API response format, what will break?"
  • Planning deployments: "What order should I deploy these changes?"
  • Understanding architecture: "How do these projects connect?"
Weekly Installs
1
GitHub Stars
7
First Seen
8 days ago
Installed on
amp1
cline1
opencode1
cursor1
kimi-cli1
warp1