What problem does it solve?
This skill helps engineers quickly understand and troubleshoot Nx workspaces by providing concise commands and patterns to list projects, inspect fully resolved project configurations, enumerate targets, and analyze project dependencies without guessing or manually parsing partial files.
Core Features & Use Cases
- Workspace Discovery: List all projects, filter by type, tags, directories, or targets and output JSON for programmatic use.
- Project Inspection: Retrieve the fully resolved project configuration and examine targets, executors, options, inputs, and outputs to know exactly what can be run and cached.
- Dependency & Affected Analysis: Use the project graph and affected commands to find dependents, compute affected projects between commits, and debug why a task is missing or failing.
- Troubleshooting Patterns: Common checks include reading nx.json for workspace defaults, using nx show project --json instead of raw project.json, and running nx graph --print for dependency inspection.
Quick Start
Run nx show projects --json to list projects and then run nx show project <project-name> --json to inspect that project's targets, options, and metadata.