nx-generate

Scaffold apps and libraries in Nx monorepos using generators.

3|2|Updated Oct 9, 2025
One-click install
npx skills add https://github.com/ngx-signal-forms/ngx-signal-forms --skill nx-generate-ngx-signal-forms
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: nx-generate
Source: https://github.com/ngx-signal-forms/ngx-signal-forms/tree/main/.github/skills/nx-generate
Command: npx skills add https://github.com/ngx-signal-forms/ngx-signal-forms --skill nx-generate-ngx-signal-forms

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Automates scaffolding and workspace setup in Nx monorepos, reducing boilerplate and ensuring consistency with repository conventions.

Core Features & Use Cases

  • Scaffolds apps and libraries with deterministic Nx generators using --no-interactive
  • Applies migrations, workspace patterns, and boilerplate across the monorepo
  • Discovers and prioritizes local workspace generators before external plugins

Quick Start

Ask me to scaffold a new app or library with an Nx generator using --no-interactive and review the dry-run output before applying changes.

Frequently Asked Questions about nx-generate

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

FAQPage Schema
How do I automate scaffolding in an Nx monorepo?

Automate Nx monorepo scaffolding by running generators with the --no-interactive flag. This deterministic approach applies repository conventions and boilerplate without manual input, ensuring consistent project structure across applications and libraries.

What is the best way to add a new application or library to an Nx workspace?

The best way to add applications or libraries to an Nx workspace is using local workspace generators. The system discovers and prioritizes local generators before external plugins, reading generator schemas to validate results with lint, test, build, and typecheck targets.

Can I preview Nx generator changes before applying them to my repository?

Yes, you can preview Nx generator changes by reviewing the dry-run output. Always inspect the dry-run results before applying changes to ensure the scaffolding matches your expected project structure and workspace patterns.

Does Nx scaffolding work with migrations and workspace patterns?

Nx scaffolding applies migrations, workspace patterns, and boilerplate across the monorepo. It automates project-structure tasks using generators, ensuring consistency with repository conventions while reducing manual setup effort.

How are generated projects validated after Nx scaffolding completes?

Generated projects are validated by running lint, test, build, and typecheck targets after scaffolding completes. This validation ensures the new applications or libraries meet repository standards and function correctly within the Nx workspace.

Why prioritize local workspace generators over external Nx plugins?

Prioritize local workspace generators because they enforce repository-specific conventions and patterns. External plugins provide generic scaffolding, but local generators ensure new applications and libraries match existing monorepo structures and boilerplate requirements.