nx-workspace

Installation
Summary

Read-only exploration of Nx workspace structure, projects, configuration, and dependencies.

  • Query workspace projects with filtering by name, glob patterns, tags, and target availability using nx show projects
  • Retrieve full resolved project configuration including inferred targets via nx show project <name> --json, avoiding partial project.json reads
  • Inspect target definitions, executors, options, inputs, and outputs to understand available tasks and caching behavior
  • Analyze project dependencies and dependents through the project graph using nx graph --print
  • Use jq and command-line tools to programmatically process JSON output rather than manual parsing
SKILL.md

Nx Workspace Exploration

This skill provides read-only exploration of Nx workspaces. Use it to understand workspace structure, project configuration, available targets, and dependencies.

Keep in mind that you might have to prefix commands with npx/pnpx/yarn if nx isn't installed globally. Check the lockfile to determine the package manager in use.

Listing Projects

Use nx show projects to list projects in the workspace.

The project filtering syntax (-p/--projects) works across many Nx commands including nx run-many, nx release, nx show projects, and more. Filters support explicit names, glob patterns, tag references (e.g. tag:name), directories, and negation (e.g. !project-name).

# List all projects
nx show projects

# Filter by pattern (glob)
nx show projects --projects "apps/*"
nx show projects --projects "shared-*"
Related skills

More from nrwl/nx-ai-agents-config

Installs
1.8K
GitHub Stars
19
First Seen
Jan 27, 2026