Best-practices guide for Nx monorepos covering project layout, tagged module boundaries, generators, and cached affected builds.
- CCM score
- 49 of 100
- skills.sh installs
- 727
- GitHub stars
- 321
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers project structure,
nx.jsonandproject.jsonconfiguration, code generation, caching, task execution, testing, and CI - Includes
nx ggenerator examples for React apps, libraries, and components, plusnx affectedandnx graphcommands - Enforces dependency rules through
@nx/enforce-module-boundariesESLint tags, separating app, library, and scope boundaries - Designed for teams building React or other frontend apps in a shared monorepo with Nx Cloud for CI
Install
$ npx -y skills add mindrally/skills --skill nx -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
Nx Monorepo Development
You are an expert in Nx, the smart, fast, and extensible build system for monorepos.
Project Structure
- Organize projects following Nx conventions:
apps/- Application projects (web apps, APIs, mobile apps)libs/- Library projects (shared code, features, utilities)
- Use consistent naming patterns:
scope-type-name(e.g.,shared-ui-button) - Group related libraries under feature folders
Workspace Configuration
Configure nx.json for workspace-wide settings:
{
"targetDefaults": {
"build": {
"dependsOn": ["^build"],
"cache": true
},
"test": {
"cache": true
}
},
"defaultBase": "main"
}
- Use
project.jsonfor project-specific configuration - Define proper
tagsfor enforcing module boundaries
Project Configuration
Each project should have a project.json:
{
"name": "my-app",
"sourceRoot": "apps/my-app/src",
"projectType": "application",
"tags": ["scope:web", "type:app"],
"targets": {
"build": { },
"serve": { },
"test": { }
}
}
- Define clear project types:
applicationorlibrary - Use tags for enforcing dependency constraints
Details
- Repository
- github.com/mindrally/skills
- Categories
- Frontend & UI Code, DevOps & Cloud
- First seen
- Jun 3, 2026
Questions
What does the nx skill help with?
The nx skill gives Claude best practices for Nx monorepo development, covering project configuration and code generation. It guides project structure with apps and libs, nx.json and project.json setup, module boundaries, caching, affected commands and CI integration.
How do I install the nx skill?
Run npx -y skills add mindrally/skills --skill nx -y in your project. After that, Claude follows the Nx conventions in the skill when working in your monorepo.
Which other skills are in the same category as nx?
The nx skill sits in the Frontend & UI Code category on Claude Marketplaces. Other skills there include vercel-react-best-practices, web-design-guidelines and design-taste-frontend, while nx focuses on monorepo build and project setup.
Who is the nx skill for?
It is for developers working in Nx monorepos who want Claude to follow Nx project layout, tagging, generator and task execution practices. It covers apps and libraries, dependency constraints through ESLint rules, and Nx Cloud caching in CI.
More from mindrally/skills
All 240- Swiftui Development724
- Apollo Graphql723
- Azure723
- Monorepo Tamagui723
- Turbopack Bundler723
- React Native Cursor Rules719
- Netlify Development711
- Turborepo709
- Graphql Development708
- Viewcomfy Api Rules707
- Salesforce Development705
- React Native R3f704
- Serverless704
- Rollup Bundler701
- Graalvm700
- Convex698
- Lerna697
- Onchainkit687
- Robocorp Cursor Rules682
- Parcel Bundler679
- Fastapi Python14.2K
- Nextjs React Typescript5.4K
- Web Scraping4.5K
- Computer Vision Opencv4.2K
Similar to Nx
More Frontend & UI CodemonorepoSkillmindrally/skills748 installsOpinionated stack guide for TypeScript monorepos spanning Next.js, Expo, Turborepo, and Supabase.
turborepoSkillmindrally/skills709 installsBest practices for configuring and optimizing Turborepo task pipelines, caching, and workspace layout in monorepos.
monorepo-managementSkillaj-geddes/useful-ai-prompts453 installsMonorepo setup guidance for Lerna, Turborepo, and Nx covering workspaces, versioning, and cross-package testing.
monorepo-architectSkillsickn33/agentic-awesome-skills403 installsExpert monorepo setup and build-optimization guidance across Nx, Turborepo, Bazel, and Lerna with scoped reviews.
monorepo-navigatorSkillalirezarezvani/claude-skills609 installsMonorepo setup, affected-only builds, and multi-repo migration for Turborepo, Nx, pnpm, and Lerna workspaces.
jutsu-monorepoPluginTheBushidoCollective/han201 starsAdvanced monorepo development skills for architecture, tooling, and workflow management across multiple packages and projects.