nx-generate

Scaffold Nx workspaces by discovering and applying local or plugin generators.

Updated Mar 21, 2026
One-click install
npx skills add https://github.com/lhew/movingday --skill nx-generate-lhew
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: nx-generate
Source: https://github.com/lhew/movingday/tree/main/.agents/skills/nx-generate
Command: npx skills add https://github.com/lhew/movingday --skill nx-generate-lhew

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Nx generators help teams scaffold and organize complex monorepos quickly, ensuring consistent project structure and boilerplate across the codebase.

Core Features & Use Cases

  • Discover available generators for local workspace and plugins
  • Prefer local workspace generators to maintain repo-specific conventions
  • Validate options with --help and perform dry-runs before applying changes

Quick Start

Describe your scaffolding needs and I will guide you through selecting and running the appropriate Nx generator.

Frequently Asked Questions about nx-generate

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

FAQPage Schema
How do I scaffold a new project in an Nx monorepo using generators?

To scaffold a project in an Nx monorepo, describe your requirements and the tool guides you through discovering, selecting, and applying the appropriate local or plugin generators to create apps or libs.

What is the best way to discover available Nx generators for my workspace?

Discovering available Nx generators involves querying your local workspace and installed plugins. This tool identifies and lists applicable generators, prioritizing local ones to maintain repo-specific conventions.

How can I validate Nx generator options before applying changes to my monorepo?

Validate Nx generator options by using the --help flag and performing a dry-run. This ensures the scaffolding changes are safe and correct before actually modifying the monorepo structure.

Can I use local workspace generators instead of plugin generators for scaffolding?

Yes, you can use local workspace generators for scaffolding. The tool prefers local generators over plugins to ensure your newly scaffolded apps or libs maintain consistent repo-specific conventions.

What checks should I run after applying an Nx generator to a monorepo?

After applying an Nx generator, run lint, test, and build checks as part of a safe workflow. This validates the newly scaffolded boilerplate and ensures the monorepo remains stable.