nx-generate

Execute Nx generators to scaffold apps and libraries in a monorepo.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/sneat-co/sneat-apps --skill nx-generate-sneat-co
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: nx-generate
Source: https://github.com/sneat-co/sneat-apps/tree/main/.cursor/skills/nx-generate
Command: npx skills add https://github.com/sneat-co/sneat-apps --skill nx-generate-sneat-co

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Generate code scaffolding and repository structure by mapping user prompts to the appropriate Nx generators and executing them in non-interactive mode, ensuring consistency across a monorepo.

Core Features & Use Cases

  • Scaffolds new apps and libraries using Nx generators in a monorepo.
  • Maps user requirements to the correct generator, enforcing repository conventions.
  • Runs generators in non-interactive mode with --no-interactive and validates the outcome with lint/build/tests.

Quick Start

Ask the user for project details and run an appropriate Nx generator in non-interactive mode.

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 library in an Nx monorepo?

You can scaffold a new library in an Nx monorepo by providing your project details. This skill maps your requirements to the correct Nx generator and executes it in non-interactive mode to create the library while enforcing repository conventions.

What is the best way to automate project generation for multiple teams in a monorepo?

Automating project generation for multiple teams requires applying consistent project patterns across a workspace. This skill coordinates Nx generators to scaffold apps and libraries, ensuring structural alignment with repository conventions for all teams.

How does non-interactive mode work when running Nx generators?

Running Nx generators in non-interactive mode uses the --no-interactive flag to prevent command-line prompts during execution. This allows automated scaffolding by reading generator schemas and applying predefined values without manual input.

Can I validate generated Nx projects with lint and test commands?

Yes, generated Nx projects are validated with lint, build, and test commands. After executing an Nx generator to scaffold a project, the skill automatically runs these validation checks to ensure the outcome meets repository standards.

Do I need to manually configure workspace structure when creating new apps with Nx?

No, you do not need to manually configure workspace structure when creating new apps with Nx. The skill reads generator schemas and maps your requirements to automatically enforce existing repository conventions during the scaffolding process.