nx-workspace

List and filter projects within an Nx workspace.

Updated Jul 22, 2023
One-click install
npx skills add https://github.com/ValerianGuivarch/lsr-nestjs-backend --skill nx-workspace-valerianguivarch
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: nx-workspace
Source: https://github.com/ValerianGuivarch/lsr-nestjs-backend/tree/main/.opencode/skills/nx-workspace
Command: npx skills add https://github.com/ValerianGuivarch/lsr-nestjs-backend --skill nx-workspace-valerianguivarch

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This Skill streamlines the exploration and management of Nx workspaces, aiding in project and task configuration, dependency tracking, and troubleshooting.

Core Features & Use Cases

  • Project Discovery: List and filter all projects within a Nx workspace.
  • Project Configuration: Fetch detailed configurations of specific projects.
  • Target Information: Identify available targets for project tasks and retrieve target configurations.
  • Workspace Configuration: View and manage workspace-level settings.
  • Troubleshooting: Diagnose and resolve common issues in Nx workspaces.

Quick Start

Run nx-workspace info my-app to retrieve information about a specific project in your 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 in an Nx workspace?

To list all projects in an Nx workspace, you can use project discovery features to retrieve and filter all configured projects within your monorepo. This streamlines workspace exploration and task configuration.

What is the best way to get configuration details for a specific Nx project?

The best way to get Nx project configuration details is to run a command like `nx-workspace info my-app`. This fetches detailed settings for specific projects, aiding in dependency tracking and troubleshooting.

Does managing an Nx workspace require the Nx CLI?

Yes, managing an Nx workspace requires the Nx CLI to parse workspace configurations and execute command-line tools for target execution. This setup is necessary for development, build, and deployment scenarios.

How do I identify available targets for Nx project tasks?

You identify available targets for Nx project tasks by retrieving target configurations via the workspace management tool. This allows you to view and manage workspace-level settings for specific project tasks.

How can I troubleshoot common issues in my Nx workspace?

You can troubleshoot common issues in your Nx workspace by parsing workspace configurations to diagnose and resolve problems. This streamlines the exploration and management of Nx-based applications.