Configure and optimize Nx monorepo workspaces. Use when setting up Nx, configuring project boundaries, optimizing build caching, or implementing affected commands.
Scanned 9/4/2026
Install to Claude Code
npx -y skills add gabrielmoreira/agent-skills-mirror --skill nx-workspace-patterns --agent claude-codeInstalls into .claude/skills of the current project.
Are you the author of Nx Workspace Patterns?
Add the live security badge to your README — it updates automatically with every re-scan.
[](https://www.skillsdirectory.com/skills/gabrielmoreira-nx-workspace-patterns)More formats (shields.io, HTML) on the badges page.
---
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)
Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.
No comments yet. Be the first to comment!