nx-workspace

Explores Nx workspace projects, configurations, and runnable targets via CLI commands.

14|5|Updated Mar 16, 2026
One-click install
npx skills add https://github.com/TheCardGoat/lorcana-simulator --skill nx-workspace-thecardgoat
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: nx-workspace
Source: https://github.com/TheCardGoat/lorcana-simulator/tree/main/.opencode/skills/nx-workspace
Command: npx skills add https://github.com/TheCardGoat/lorcana-simulator --skill nx-workspace-thecardgoat

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Nx workspaces can be difficult to inspect when you need to understand what projects exist, how they’re configured, and which targets you can run—especially when a command fails due to missing configuration.

Core Features & Use Cases

  • Explore workspace structure: List projects and filter them by name patterns, tags, types, and whether they have specific targets.
  • Inspect resolved project configuration: Retrieve complete configuration via nx show project <name> --json, including inferred targets from Nx plugins.
  • Understand targets and dependencies: Identify available executors/commands, check inputs/outputs for caching, and use the project graph to find dependents.

Quick Start

Ask the skill: “What projects and build/test targets are available in this Nx 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 and available targets in an Nx workspace?

To list projects in an Nx workspace, execute Nx CLI commands with --json output to filter by name patterns, tags, and types. This identifies all existing projects and their runnable targets, including those inferred by Nx plugins.

How do I find which projects depend on a specific target in an Nx workspace?

Find project dependents in an Nx workspace by generating and inspecting the project graph output. This visualizes project dependencies and helps you understand which projects are affected by changes to a specific target.

How do I check caching inputs and outputs for Nx workspace targets?

Check caching inputs and outputs for Nx workspace targets by inspecting the resolved project configuration. Retrieve the complete configuration via `nx show project <name> --json` to identify available executors and their defined caching parameters.

How do I debug a failing Nx task caused by missing workspace configuration?

Debug a failing Nx task by guiding the inspection of workspace configuration via nx.json and project graph outputs. Execute appropriate Nx CLI commands favoring --json output to identify missing configuration or incorrectly resolved targets.