One-click install
npx skills add https://github.com/johnnystefan/test-saas-business --skill nx-workspace-johnnystefan
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: nx-workspace
Source: https://github.com/johnnystefan/test-saas-business/tree/main/.github/skills/nx-workspace
Command: npx skills add https://github.com/johnnystefan/test-saas-business --skill nx-workspace-johnnystefan

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill stops you from guessing Nx workspace structure, configurations, and targets by providing guided exploration and reference points before running any tasks.

Core Features & Use Cases

  • Project Discovery: Runs nx show projects with filters for tags, directories, and targets so you can see every application and library without manual globbing.
  • Project Configuration: Uses nx show project name --json to expose targets, executors, options, inputs, outputs, and metadata without digging through partial project files.
  • Workspace Reference: Reads nx.json and the affected projects reference to explain defaults, named inputs, plugins, and how workspace changes ripple through dependent projects.

Quick Start

Ask it to list all workspace projects and then inspect a chosen project configuration with Nx show project my-app --json.

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 with filters for tags, directories, and targets. This exposes every application and library without requiring you to manually glob through project files.

How do I inspect an Nx project configuration and targets?

To inspect an Nx project configuration, run nx show project <name> --json. This command exposes specific targets, executors, options, inputs, outputs, and metadata without needing to dig through partial project configuration files.

How does reading nx.json help understand workspace defaults?

Reading nx.json helps understand workspace defaults by explaining named inputs, plugins, and the overall configuration. It also reveals how workspace changes ripple through affected projects and their dependent tasks.

Can I check Nx project dependencies before running tasks?

Yes, you can check Nx project dependencies before running tasks by probing the project graph and reading workspace references. This ensures accurate configuration data is verified before executing any commands.

What is the best way to debug a missing command in an Nx monorepo?

The best way to debug a missing command in an Nx monorepo is to explore the project definitions and available targets using nx show. This verifies whether the executor is properly configured in the project metadata.

Why does an Nx workspace task fail due to incorrect configuration?

An Nx workspace task fails due to incorrect configuration when project definitions lack proper targets, executors, or inputs. Reading nx.json and project metadata ensures accurate configuration data before running tasks.