nx-workspace-patterns

Configure Nx monorepo workspaces with templates, boundary rules, and generator scaffolding.

Updated Mar 18, 2026
One-click install
npx skills add https://github.com/ekremmkasap/jarvis --skill nx-workspace-patterns-ekremmkasap
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: nx-workspace-patterns
Source: https://github.com/ekremmkasap/jarvis/tree/main/server/agent_prompts/wshobson/plugins/developer-essentials/skills/nx-workspace-patterns
Command: npx skills add https://github.com/ekremmkasap/jarvis --skill nx-workspace-patterns-ekremmkasap

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Configure and optimize Nx monorepo workspaces using production-ready patterns to help teams structure projects, enforce boundaries, and improve build performance.

Core Features & Use Cases

  • Architecture templates for apps and libs, plus clear project boundaries to guide contributions.
  • Generator-driven scaffolding that configures nx.json, workspace.json, and caching strategies to accelerate onboarding.
  • Use Case: When starting a new monorepo, apply these patterns to initialize configuration and ensure consistent organization across teams.

Quick Start

Install Nx and apply the workspace patterns generator to bootstrap a new monorepo structure.

Frequently Asked Questions about nx-workspace-patterns

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I configure module boundaries in an Nx monorepo?

To configure module boundaries in an Nx monorepo, you apply production-ready workspace patterns that enforce architecture rules and project constraints. This ensures consistent organization and guides contributions across teams.

What is the best way to scaffold a new Nx workspace?

The best way to scaffold a new Nx workspace is using generator-driven scaffolding patterns. This approach automatically configures nx.json, workspace.json, and caching strategies to accelerate onboarding and ensure consistent project architecture.

How do I optimize build performance and implement affected commands in Nx?

You optimize Nx build performance by applying workspace patterns that configure caching strategies and implement affected commands. This limits build scope to changed projects, significantly improving monorepo efficiency.

Can I use these workspace patterns to enforce clear project boundaries for apps and libs?

Yes, you can use these workspace patterns to enforce clear project boundaries for apps and libs. The architecture templates define strict module boundaries to guide contributions and maintain consistent monorepo organization.

When do I need to apply specific nx.json conventions for my monorepo?

You need to apply specific nx.json conventions when initializing a new monorepo or standardizing an existing one. Applying these workspace patterns ensures consistent configuration, proper caching strategies, and structured project architecture.