nx-workspace-expert

Guide teams in creating and maintaining Nx workspaces with CNW, executors, migrations, and Docker.

1|Updated Jun 3, 2025
One-click install
npx skills add https://github.com/jaysoo/dot-ai-config --skill nx-workspace-expert
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: nx-workspace-expert
Source: https://github.com/jaysoo/dot-ai-config/tree/main/dot_gemini/skills/nx-workspace-expert
Command: npx skills add https://github.com/jaysoo/dot-ai-config --skill nx-workspace-expert

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Nx workspaces can be complex to set up and maintain, leading to inconsistent project structure and flaky migrations.

Core Features & Use Cases

  • CNW creation guidance and best practices for initial workspace setup
  • Executor configuration and debugging for custom tasks
  • Migration planning and Docker integration to streamline CI/CD
  • Real-world scenarios like adding apps/libs, changing presets, and aligning workspace structure

Quick Start

Ask me to set up a new Nx workspace with a chosen preset and app name.

Frequently Asked Questions about nx-workspace-expert

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
What is the best way to set up a new Nx workspace with a custom preset?

Setting up a new Nx workspace involves selecting an appropriate preset and defining the project layout. This provides validation checks and recommended structures to ensure reliable CNW creation and consistent monorepo maintenance.

How do I configure custom executors for tasks in an Nx monorepo?

Configuring custom executors in an Nx monorepo involves defining specific task inputs and integration points. This allows you to execute custom tasks reliably while maintaining consistent workspace validation checks.

Why does my Nx workspace migration keep failing or behaving inconsistently?

Nx workspace migrations often fail due to inconsistent project structures. Applying recommended project layouts, defined validation checks, and proper migration planning ensures reliable workspace updates and consistent structural alignment.

Can I integrate Docker into my Nx workspace for CI/CD pipelines?

Yes, you can integrate Docker into an Nx workspace to streamline CI/CD. This involves configuring specific Docker integration points within your monorepo to ensure reliable container builds alongside your Nx tasks.

What is the recommended project layout for adding new apps and libs to an Nx workspace?

The recommended project layout for adding apps and libs focuses on consistent structural alignment. Defining clear integration points and applying validation checks ensures new additions integrate reliably without breaking existing workspace architecture.