nx-generate

Generate code scaffolding and migrations using Nx generators in a monorepo.

1|Updated Feb 14, 2026
One-click install
npx skills add https://github.com/012e/thesis --skill nx-generate-012e
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: nx-generate
Source: https://github.com/012e/thesis/tree/main/.gemini/skills/nx-generate
Command: npx skills add https://github.com/012e/thesis --skill nx-generate-012e

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Nx generators streamline code scaffolding and automated migrations to enforce consistent project structure across a monorepo.

Core Features & Use Cases

  • Scaffolds new apps and libraries with standardized templates.
  • Automates boilerplate, migrations, and workspace setup to accelerate onboarding.
  • Use case: When adding a new feature module, generate a fully wired library with tests and CI-ready configuration.

Quick Start

Ask me to generate a new library or application with an 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 generate a new library in an Nx monorepo?

Generate a new library in an Nx monorepo by running Nx generators with the --no-interactive flag. This scaffolds a fully wired library with standardized templates, tests, and CI-ready configuration to enforce repository consistency.

What is the best way to scaffold features in an Nx workspace?

The best way to scaffold features in an Nx workspace is using local workspace generators over external plugins. This approach reads the generator source code to automate boilerplate and ensure strict consistency with existing repository patterns.

Can I automate app migrations and boilerplate setup using Nx generators?

Yes, you can automate app migrations and boilerplate setup using Nx generators. They streamline code scaffolding and automated migrations to enforce consistent project structure across your monorepo, accelerating onboarding.

Does generating code with Nx require manual verification steps?

Generating code with Nx requires verifying the output with lint, test, build, and typecheck commands. This ensures the newly scaffolded apps or libraries integrate correctly without breaking the existing monorepo structure.

Why should I prefer local workspace generators over external Nx plugins?

Prefer local workspace generators over external Nx plugins to ensure strict consistency with repository patterns. Local generators allow direct application of customized project structures during code scaffolding within the monorepo.

When do I need to use the --no-interactive flag with Nx code generation?

Use the --no-interactive flag with Nx code generation when programmatically scaffolding new apps or libraries. It allows the generator to run automatically without manual user prompts, streamlining the automated workspace setup process.