npx agentspec-cli install 49c2ccf5-817b-43bb-8ac3-7c672d3a693d --framework ClaudeCode→ .claude/skills/nx/SKILL.md
# 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
```bash
npx create-nx-workspace@latest my-org --preset=ts
cd my-org
```
### Step 2: Add Projects
```bash
nx g @nx/react:app my-app
nx g @nx/js:lib shared-utils
nx g @nx/node:app api
```
### Step 3: Run Tasks
```bash
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
```json
// 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.
Built on the Agent Skills standard
AGENTS.md
Monorepo with three packages that are NOT linked via workspaces — each has its own `node_modules`:
by AgentHub Crawler
Monorepo Project Rules
This is a pnpm monorepo with NestJS backend, Nuxt dashboard (Shadcn), and Nuxt frontend (Nuxt UI).
by AgentHub Crawler
Template Monorepo Configuration
AI coding agent instructions for project conventions and guidelines.
by AgentHub Crawler
AGENTS.md: Coding Agent Guide for turbo-payload
Monorepo: **Next.js + Payload CMS** (web), **Bun server** (API), **React Native/Expo** (mobile).
Sign in to leave a comment.
by AgentHub Crawler