nx-workspace-patterns
Configure and optimize Nx monorepo workspaces. Use when setting up Nx, configuring project boundaries, optimizing build caching, or implementing affected commands.
npx skills add sickn33/agentic-awesome-skills --skill nx-workspace-patterns --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# 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 ### 1. Nx Architecture ``` workspace/ ├── apps/ # Deployable applications │ ├── web/ │ └── api/ ├── libs/ # Shared libraries │ ├── shared/ │ │ ├── ui/ │ │ └── utils/ │ └── feature/ │ ├── auth/ │ └── dashboard/ ├── tools/ # Custom executors/generators ├── nx.json # Nx configuration └── workspace.json # Project configuration ``` ### 2. Library Types | Type | Purpose | Example | |------|---------|---------| | **feature** | Smart components, business logic | `feature-auth` | | **ui** | Presentational component
- Do not use this skill when
- Instructions
- Use this skill when
- Core Concepts
- 1. Nx Architecture
- 2. Library Types
- Templates
- Template 1: nx.json Configuration
- Template 2: Project Configuration
- Template 3: Module Boundary Rules
- Template 4: Custom Generator
- Template 5: CI Configuration with Affected
- Template 6: Remote Caching Setup
- Common Commands
Generate new library nx g @nx/react:lib feature-auth --directory=libs/web --tags=type:feature,scope:web Run affected tests nx affected -t test --base=main View dependency graph nx graph Run specific project nx build web --configuration=production Reset cache nx reset
What does the nx-workspace-patterns skill do?
Configure and optimize Nx monorepo workspaces. Use when setting up Nx, configuring project boundaries, optimizing build caching, or implementing affected commands.
How do I install it?
Run `npx skills add sickn33/agentic-awesome-skills --skill nx-workspace-patterns --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From sickn33/agentic-awesome-skills, a repository with 44,414 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.