nx-workspace-patterns

Installation
Summary

Nx monorepo configuration patterns for workspace setup, project boundaries, and build optimization.

  • Provides architectural templates for organizing apps, libraries, and tools with five library types (feature, ui, data-access, util, shell) and scope-based dependency rules
  • Includes ready-to-use configurations for nx.json, project.json, module boundary enforcement via ESLint, and custom generators to maintain consistency
  • Covers build caching setup with cacheable operations, named inputs for granular cache invalidation, and remote caching via Nx Cloud or self-hosted S3 backends
  • Demonstrates CI integration with affected commands to run only tests and builds for changed projects, plus custom generator patterns for scaffolding feature libraries
SKILL.md

Nx Workspace Patterns

Production patterns for Nx monorepo management.

When to Use This Skill

  • 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

1. Nx Architecture

workspace/
Related skills

More from wshobson/agents

Installs
6.2K
Repository
wshobson/agents
GitHub Stars
35.3K
First Seen
Jan 20, 2026