Configure and optimize Nx monorepo workspaces. Use when setting up Nx, configuring project boundaries, optimizing build caching, or implementing affected commands.
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Nx Workspace Patterns?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/dokhacgiakhoa-nx-workspace-patterns)
---
version: 4.1.0-fractal
name: nx-workspace-patterns
description: Configure and optimize Nx monorepo workspaces. Use when setting up Nx, configuring project boundaries, optimizing build caching, or implementing affected commands.
---
# Nx Workspace Patterns
Production patterns for Nx monorepo management.
## Do not use this skill when
- The task is unrelated to nx workspace patterns
- You need a different domain or tool outside this scope
## Instructions
- Clarify goals, constraints, and required inputs.
- Apply relevant best practices and validate outcomes.
- Provide actionable steps and verification.
- If detailed examples are required, open `resources/implementation-playbook.md`.
## Use this skill when
- Setting up new Nx workspaces
- Configuring project boundaries
- Optimizing CI with affected commands
- Implementing remote caching
- Managing dependencies between projects
- Migrating to Nx
## Core Concepts
## 🧠 Knowledge Modules (Fractal Skills)
### 1. [1. Nx Architecture](./sub-skills/1-nx-architecture.md)
### 2. [2. Library Types](./sub-skills/2-library-types.md)
### 3. [Template 1: nx.json Configuration](./sub-skills/template-1-nxjson-configuration.md)
### 4. [Template 2: Project Configuration](./sub-skills/template-2-project-configuration.md)
### 5. [Template 3: Module Boundary Rules](./sub-skills/template-3-module-boundary-rules.md)
### 6. [Template 4: Custom Generator](./sub-skills/template-4-custom-generator.md)
### 7. [Template 5: CI Configuration with Affected](./sub-skills/template-5-ci-configuration-with-affected.md)
### 8. [Template 6: Remote Caching Setup](./sub-skills/template-6-remote-caching-setup.md)
### 9. [Do's](./sub-skills/dos.md)
### 10. [Don'ts](./sub-skills/donts.md)