Installable skillMIT

Nx Workspace Patterns

Configure and optimize Nx monorepo workspaces. Use when setting up Nx, configuring project boundaries, optimizing build caching, or implementing affected commands.

BY DokhacgiakhoaUPDATED Oct 28, 2026
INTENDED FOR◈OpenClawInstall in a listed agent.

instructions.md

---
version: 4.1.0-fractal
name: nx-workspace-patterns-62eed8d93d76
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)
COMPATIBILITY & REFERENCES

Platform guidance

Imported from the listed AgentSkill.sh category. Complete supplied package files and notices are retained. Required external tools and credentials are not installed. No bundled code was executed during import. Individual agent task behavior has not been tested.