---
name: dokhacgiakhoa/nx-workspace-patterns
source: https://app.decimal.ai/s/dokhacgiakhoa-nx-workspace-patterns@1/SKILL.md
source_sha256: 8193e6b51780
---

# 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)