Tool for building and managing monorepo workspaces with task caching and orchestration.
Install
mkdir -p .claude/skills/nx && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/18067" && unzip -o skill.zip -d .claude/skills/nx && rm skill.zipInstalls to .claude/skills/nx
Activation
This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.
Build and manage monorepos with Nx. Use when a user asks to set up a monorepo, manage multiple packages/apps, cache builds, run affected tests, or migrate from Lerna.Key capabilities
- →Create a new Nx workspace
- →Add projects like React apps, JS libraries, or Node.js apps
- →Run tasks such as serving, building, or testing projects
- →Execute tasks only on affected projects
- →Run multiple tasks across all projects
- →Configure workspace settings in `nx.json`
How it works
Nx uses a build system for monorepos that provides computation caching, task orchestration, and a dependency graph.
Inputs & outputs
When to use nx
- →Initialize a monorepo
- →Run affected tests
- →Optimize build performance
- →Manage library dependencies
About this skill
Nx
Overview
Nx is a build system for monorepos. It provides computation caching (local + remote), task orchestration, dependency graph, code generators, and affected commands. Works with React, Angular, Node.js, Next.js, and any language.
Instructions
Step 1: Create Workspace
npx create-nx-workspace@latest my-org --preset=ts
cd my-org
Step 2: Add Projects
nx g @nx/react:app my-app
nx g @nx/js:lib shared-utils
nx g @nx/node:app api
Step 3: Run Tasks
nx serve my-app
nx build api
nx test shared-utils
nx affected -t test # only what changed
nx run-many -t build test # everything
Step 4: nx.json Configuration
// nx.json — Workspace configuration
{
"targetDefaults": {
"build": { "dependsOn": ["^build"], "cache": true },
"test": { "cache": true },
"lint": { "cache": true }
}
}
Guidelines
- Nx caches task results — second run is instant if inputs haven't changed.
- Use nx affected in CI to only build/test what changed in a PR.
- Nx Cloud provides remote caching — share cache across team/CI.
- Nx works without plugins too — add it to any repo with npx nx init.
When not to use it
- →When the user needs to manage a single repository without monorepo features
- →When the user does not want computation caching or task orchestration
Limitations
- →Requires Node.js for `npx` commands
- →Does not provide remote caching without Nx Cloud
- →Does not automatically add Nx to any repository
How it compares
This skill provides a structured approach to monorepo management with caching and affected commands, which is more efficient than manually running tasks across all projects.
Compared to similar skills
nx side by side with the closest alternatives in the catalog.
| Skill | Installs | Updated | Safety | Difficulty |
|---|---|---|---|---|
| nx (this skill) | 0 | 2mo | Review | Beginner |
| inngest | 0 | 6mo | No flags | Intermediate |
| senior-fullstack | 35 | 7mo | Review | Intermediate |
| ai-sdk-documentation | 1 | 6mo | Review | Beginner |
Try saying
Example prompts that trigger this skill in your AI assistant.
More by TerminalSkills
View all by TerminalSkills →You might also like
inngest
davila7
Inngest expert for serverless-first background jobs, event-driven workflows, and durable execution without managing queues or workers. Use when: inngest, serverless background job, event-driven workflow, step function, durable execution.
senior-fullstack
davila7
Comprehensive fullstack development skill for building complete web applications with React, Next.js, Node.js, GraphQL, and PostgreSQL. Includes project scaffolding, code quality analysis, architecture patterns, and complete tech stack guidance. Use when building new projects, analyzing code quality, implementing design patterns, or setting up development workflows.
ai-sdk-documentation
malob
This skill should be used when working with Vercel AI SDK, AI Gateway, streamText, generateText, generateObject, streamObject, tool calling, or AI SDK providers. Also relevant for "ai-sdk", "@ai-sdk/*" packages, or questions about AI SDK patterns, configuration, and best practices.
clerk-install-auth
jeremylongshore
Install and configure Clerk SDK/CLI authentication. Use when setting up a new Clerk integration, configuring API keys, or initializing Clerk in your project. Trigger with phrases like "install clerk", "setup clerk", "clerk auth", "configure clerk API key", "add clerk to project".
senior-qa
diegosouzapw
Comprehensive QA and testing skill for quality assurance, test automation, and testing strategies for ReactJS, NextJS, NodeJS applications. Includes test suite generation, coverage analysis, E2E testing setup, and quality metrics. Use when designing test strategies, writing test cases, implementing
fullstack-developer
daithang59
|