Agent skill

nx

Nx workspace configuration, generators, and affected commands.

Stars 163
Forks 31

Install this agent skill to your Project

npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/skills/other/nx

SKILL.md

Nx Skill

Expert assistance for Nx monorepo management.

Capabilities

  • Configure Nx workspaces
  • Create custom generators
  • Use affected commands
  • Set up caching
  • Define project boundaries

Configuration

json
// nx.json
{
  "targetDefaults": {
    "build": {
      "dependsOn": ["^build"],
      "cache": true
    },
    "test": {
      "cache": true
    }
  },
  "affected": {
    "defaultBase": "main"
  }
}

Commands

bash
# Run affected
nx affected:build
nx affected:test

# Graph
nx graph

# Generate
nx generate @nx/react:component Button

Target Processes

  • monorepo-management
  • enterprise-architecture
  • code-generation

Didn't find tool you were looking for?

Be as detailed as possible for better results