nx-workspace

Explore Nx workspace projects, configurations, targets, and dependencies via CLI.

8.9k|947|Updated Feb 5, 2020
One-click install
npx skills add https://github.com/tsparticles/tsparticles --skill nx-workspace-tsparticles
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: nx-workspace
Source: https://github.com/tsparticles/tsparticles/tree/main/.cursor/skills/nx-workspace
Command: npx skills add https://github.com/tsparticles/tsparticles --skill nx-workspace-tsparticles

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill helps users understand and interact with Nx workspaces by providing clear information about projects, configurations, and tasks.

Core Features & Use Cases

  • Project Discovery: List and filter projects within an Nx workspace.
  • Configuration Inspection: View detailed configuration for projects and targets.
  • Dependency Analysis: Understand project relationships and affected targets.
  • Use Case: When you need to know all the available build targets for a specific application or understand the dependencies between different libraries in a monorepo.

Quick Start

Use the nx-workspace skill 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, you can use the nx-workspace skill to perform project discovery. It queries workspace metadata via CLI commands and parses the JSON output to detail project structures and configurations.

How do I view configuration and targets for specific Nx monorepo projects?

You can view detailed configuration and targets for specific Nx monorepo projects by inspecting the workspace metadata. The skill parses JSON output from Nx CLI commands to provide read-only configuration inspection for developers.

What is the best way to analyze dependencies between libraries in an Nx monorepo?

The best way to analyze dependencies between libraries in an Nx monorepo is by using the dependency analysis feature. It queries workspace metadata to help developers understand project relationships and identify affected targets.

Can I programmatically query Nx workspace metadata using JSON output?

Yes, you can programmatically query Nx workspace metadata using JSON output. The skill facilitates read-only exploration by executing Nx CLI commands and parsing the resulting JSON data to extract project structures and task execution details.

Does this skill support modifying Nx workspace configurations or is it read-only?

This skill is strictly read-only and does not support modifying Nx workspace configurations. It is designed exclusively for exploring and understanding workspace layout, project configurations, targets, and dependencies.

When do I need to explore Nx workspace layout and task execution details?

You need to explore Nx workspace layout and task execution details when you want to understand all available build targets for a specific application or map out dependencies between different libraries within a monorepo.