nx-workspace

Inspect Nx workspace projects, configurations, and targets via CLI.

Updated May 14, 2026
One-click install
npx skills add https://github.com/chroniicallydiistracted/LorcanaChamp --skill nx-workspace-chroniicallydiistracted
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: nx-workspace
Source: https://github.com/chroniicallydiistracted/LorcanaChamp/tree/main/references/lorcana-simulator/.opencode/skills/nx-workspace
Command: npx skills add https://github.com/chroniicallydiistracted/LorcanaChamp --skill nx-workspace-chroniicallydiistracted

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Nx workspaces can be hard to inspect when you don’t know which projects exist, how they’re configured, or what targets you can run—especially when an nx command fails or configuration is missing.

Core Features & Use Cases

  • Project discovery: List and filter projects by type, tags, target availability, patterns, and affected scope.
  • Configuration inspection: Retrieve fully resolved project configuration (including inferred targets) via nx show project --json, without manually reading project.json.
  • Target and dependency troubleshooting: Inspect target executors/options/inputs/outputs and use the project graph to answer dependency questions programmatically.

Quick Start

Ask the assistant: “What projects and targets can I run in this Nx workspace, and how is project X configured?”

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 and targets in an Nx workspace, use nx CLI commands with the --json flag to retrieve structured results. You can filter projects by type, tags, target availability, patterns, and affected scope to quickly discover what exists.

How do I get the fully resolved configuration for a specific Nx project without reading project.json?

To get fully resolved Nx project configuration without manually reading project.json, run nx show project --json. This retrieves the complete configuration, including inferred targets, for troubleshooting command failures or configuration uncertainty.

How does the Nx project graph work for dependency analysis?

The Nx project graph maps dependencies between projects in a monorepo for programmatic analysis. Use nx graph to visualize and answer dependency questions, which helps troubleshoot affected projects and understand workspace structure.

Why does my nx command fail when configuration is missing or uncertain?

Nx commands fail when project configuration is missing or uncertain because the workspace structure cannot be resolved. Diagnose the issue by inspecting target executors, options, inputs, and outputs, and verify settings in nx.json.

Can I inspect target executors, inputs, and outputs programmatically in an Nx monorepo?

Yes, you can inspect target executors, inputs, and outputs programmatically in an Nx monorepo. Use nx CLI commands with --json for structured results to troubleshoot target configurations and dependency issues without manual file inspection.