
Nx Workspace
This is your read-only map for Nx monorepos. It teaches Claude to use `nx show project --json` instead of reading project.json files directly, which is key since project.json only shows partial config while the CLI command returns the full resolved configuration including plugin-inferred targets. You'd reach for this when debugging why an nx command failed, checking what targets are available before running tasks, or answering questions about workspace structure and dependencies. The skill emphasizes programmatic answers using jq to parse JSON output rather than manually counting projects or parsing text. One thing that stands out is the detailed coverage of project filtering syntax across commands, which is genuinely useful since those glob patterns and tag filters work across run-many, release, and other nx commands.
- skills.sh installs
- 88.7K
- GitHub stars
- 30
- last updated
- Aug 21, 2026
Install
$ npx -y skills add nrwl/nx-ai-agents-config --skill nx-workspace --agent claude-codeInstalls into .claude/skills of the current project.
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
Sponsors
Details
- Repository
- github.com/nrwl/nx-ai-agents-config
- Categories
- AI & Agent Building, Debugging