nx_workspace

Explore Nx monorepo projects, configurations, and task targets via CLI.

1|Updated Jun 12, 2024
One-click install
npx skills add https://github.com/cskiwi/badman-m3 --skill nx-workspace-cskiwi
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: nx_workspace
Source: https://github.com/cskiwi/badman-m3/tree/main/.claude/skills/nx-workspace
Command: npx skills add https://github.com/cskiwi/badman-m3 --skill nx-workspace-cskiwi

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

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

Core Features & Use Cases

  • Project Discovery: List all projects, filter by type, tags, or targets.
  • Configuration Inspection: View detailed, resolved configurations for any project and its targets.
  • Dependency Analysis: Understand project relationships and identify affected projects.
  • Use Case: When you need to know all the available build targets for the 'api' project in the 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 monorepo and filter them by tags or targets?

To list all projects in an Nx monorepo, you can use the nx_workspace skill to discover projects and filter them by type, tags, or available build targets. It utilizes Nx CLI commands and parses JSON output for detailed project analysis.

What is the best way to inspect resolved configurations for a specific project in an Nx workspace?

The best way to inspect resolved configurations for a specific project in an Nx workspace is to use the nx_workspace skill. It provides tools to view detailed, resolved configurations for any project and its execution targets.

How can I analyze project dependencies and identify affected components in an Nx monorepo?

You can analyze project dependencies and identify affected components in an Nx monorepo by using the nx_workspace skill. It facilitates understanding project relationships and identifying affected projects within the workspace.

Why does my Nx command fail and how can I debug task execution targets?

If your Nx command fails, the nx_workspace skill facilitates debugging of Nx command failures by providing tools to explore and understand project configurations and task execution targets. It uses Nx CLI commands and JSON output parsing for detailed analysis.

Can I use this approach to find all available build targets for a specific project like 'api'?

Yes, you can find all available build targets for a specific project like 'api' by using the nx_workspace skill. It provides project discovery tools to list all projects and filter them by their available targets.

What are the limitations of using Nx CLI commands to explore complex monorepo structures?

While the nx_workspace skill helps navigate complex Nx monorepos by parsing JSON output from Nx CLI commands, its effectiveness depends on the accuracy of the underlying project configurations and the Nx CLI's ability to resolve targets and dependencies.