nx-workspace

Inspect Nx workspace projects, targets, and configurations with nx show commands.

Updated Feb 10, 2026
One-click install
npx skills add https://github.com/xiaoshenming/aiteacher-monorepo --skill nx-workspace-xiaoshenming
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: nx-workspace
Source: https://github.com/xiaoshenming/aiteacher-monorepo/tree/main/.opencode/skills/nx-workspace
Command: npx skills add https://github.com/xiaoshenming/aiteacher-monorepo --skill nx-workspace-xiaoshenming

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Nx workspaces can be complex to read and navigate. This skill helps you understand workspace structure, project configurations, and available targets to efficiently answer questions and troubleshoot nx tasks.

Core Features & Use Cases

  • Read project configuration with nx show project --json to understand root, sourceRoot, and targets.
  • List projects with nx show projects and filter by type, tags, or patterns.
  • Inspect targets and dependencies to plan builds and migrations.
  • Use for debugging nx task failures or when a command cannot be resolved.

Quick Start

Ask me to list projects or show project details, for example 'What projects are in this 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?

You can list all projects in an Nx workspace by running the command `nx show projects`, which outputs every project name and supports filtering by tags or patterns to narrow down results.

How do I read the full project configuration for an Nx workspace target?

You can read the full project configuration for an Nx workspace target by running `nx show project --json`, which outputs the complete configuration including root, sourceRoot, and all available targets.

Why does my Nx task fail to resolve a specific project target?

An Nx task fails to resolve when the project configuration is incorrect or missing the target. Inspecting the workspace structure and project dependencies helps troubleshoot and identify the unresolved task configuration.

Can I inspect project dependencies and targets in an Nx workspace without editing files?

Yes, you can inspect project dependencies and targets in an Nx workspace without editing files by using read-only CLI commands like `nx show project` to guide your understanding of the build and migration plan.

What is the best way to navigate a complex Nx workspace structure?

The best way to navigate a complex Nx workspace structure is by using the Nx CLI to list projects and inspect configurations, reducing workspace confusion by clarifying root directories, source roots, and targets.