New advertisers: 50% off your first month with code FIRSTMONTHSee slots
nrwl avatar

Nx Workspace

Read-only exploration of Nx workspaces for projects, targets, configuration, and dependencies, with jq-friendly JSON output.

skills.sh installs
94.9K
GitHub stars
29
last updated
Aug 21, 2026
View on GitHub

What it does

  • Covers listing projects, resolving full project configuration, inspecting targets, and reading workspace-level nx.json settings
  • Includes filters by glob, tag:name, directory, negation, --withTarget, and --affected, plus commands like nx show project <name> --json
  • Directs users to nx show project --json over reading project.json directly, since the JSON includes plugin-inferred targets
  • Designed for answering workspace questions and debugging "Cannot find configuration for task" failures before running a task

Install

$ npx -y skills add nrwl/nx-ai-agents-config --skill nx-workspace -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

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-*"

# Filter by tag
nx show projects --projects "tag:publishable"
nx show projects -p 'tag:publishable,!tag:internal'

# Filter by target (projects that have a specific target)
nx show projects --withTarget build

Details

Repository
github.com/nrwl/nx-ai-agents-config
Categories
Frontend & UI Code, DevOps & Cloud

More from nrwl/nx-ai-agents-config

All 7

Similar to Nx Workspace

More Frontend & UI Code