nx-workspace

Explore Nx workspace structure, project configuration, targets, and dependencies.

Updated Mar 21, 2026
One-click install
npx skills add https://github.com/lhew/movingday --skill nx-workspace-lhew
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: nx-workspace
Source: https://github.com/lhew/movingday/tree/main/.agents/skills/nx-workspace
Command: npx skills add https://github.com/lhew/movingday --skill nx-workspace-lhew

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Understand Nx workspaces and answer questions about the workspace structure, project configurations, available targets, and dependencies. It helps you quickly gather context before running commands, debugging failures, or planning changes in a multi-project repo. 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.

Core Features & Use Cases

  • Read-only exploration of Nx workspaces to understand structure, project configuration, targets, and dependencies.
  • Guidance on using Nx commands such as nx show projects and nx show project to discover projects, targets, and plugin-driven config, with example filters and JSON output.
  • Project configuration insights with nx show project <name> --json and references to node_modules/nx/schemas/project-schema.json for full schema.
  • Troubleshooting tips and command-prefix guidance to help you run tasks safely in the correct environment.

Quick Start

Ask nx-workspace to list all projects in the current workspace.

Frequently Asked Questions about nx-workspace

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I list all projects in an Nx workspace?

To list all projects in an Nx workspace, use the `nx show projects` command. This read-only exploration reveals the complete project structure within your multi-project repository.

What is the best way to view project configuration and targets in Nx?

The best way to view project configuration and targets in Nx is by running `nx show project <name> --json`. This outputs detailed configuration, available targets, and plugin-driven dependencies for the specified project.

Why do my Nx commands fail with a command not found error?

Your Nx commands fail because Nx is not installed globally. You need to prefix commands with `npx`, `pnpx`, or `yarn` depending on your package manager, which you can identify by checking the project lockfile.

How does Nx handle workspace dependencies and project structure?

Nx handles workspace dependencies and project structure through plugin-driven configurations. Exploring the workspace with read-only commands reveals how projects are structured, their interdependencies, and available build targets without modifying files.

Can I filter projects when exploring an Nx workspace?

Yes, you can filter projects when exploring an Nx workspace. The `nx show projects` command supports example filters to narrow down the list of projects based on specific criteria within your repository.

Where can I find the full schema for Nx project configuration?

You can find the full schema for Nx project configuration by referencing `node_modules/nx/schemas/project-schema.json`. This file provides complete details on all available configuration options and target definitions.