nx-workspace

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

1.4k|245|Updated Jun 18, 2018
One-click install
npx skills add https://github.com/nrwl/nx-console --skill nx-workspace
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: nx-workspace
Source: https://github.com/nrwl/nx-console/tree/main/.cursor/skills/nx-workspace
Command: npx skills add https://github.com/nrwl/nx-console --skill nx-workspace

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill helps users understand Nx workspaces and quickly answer questions about workspace structure, project configuration, and available tasks.

Core Features & Use Cases

  • Understand the overall workspace layout (apps/libs) and locate projects quickly.
  • Retrieve project configuration, available targets, and dependencies to plan changes.
  • Answer common questions like "What projects exist?", "What targets can I run?", or "Which projects depend on library X?".

Quick Start

Ask questions such as: "What projects are in this workspace?" "How is project X configured?" "What targets are available for app1?"

Frequently Asked Questions about nx-workspace

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

FAQPage Schema
How do I see what projects exist in my Nx workspace?

Use `nx show projects` to list all apps and libs in your workspace. This command displays the complete project structure, helping you locate projects quickly and understand your workspace layout at a glance.

How do I check what targets are available for a specific project?

Run `nx show project <project-name>` to view the project's configuration and available targets. This shows all tasks you can run for that project, including build, test, and custom targets defined in your workspace.

How do I understand project dependencies in my monorepo?

Use `nx show project` commands to inspect which projects depend on a library or app. Understanding these dependency relationships helps you plan changes safely and avoid breaking dependent projects in your monorepo.

Can I explore workspace structure without running builds?

Yes. Nx workspace exploration uses read-only commands like `nx show project` and `nx show projects` that analyze your workspace configuration and metadata without executing builds or targets.

What information can I retrieve about workspace configuration?

Retrieve project configuration, available targets, dependencies, and workspace structure metadata. These read-only queries answer questions about how projects are organized, what tasks exist, and how components relate across your Nx workspace.