nx-generate

Generate applications, libraries, and feature modules in Nx monorepos.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill eliminates manual boilerplate creation and ensures architectural consistency across the monorepo by automating the generation of applications, libraries, and features.

Core Features & Use Cases

  • Standardized Scaffolding: Automatically generates new projects, libraries, or components following established repository patterns.
  • Automated Configuration: Handles the setup of build targets, linting, and testing configurations for new artifacts.
  • Use Case: When a developer needs to add a new feature module, this skill ensures the correct directory structure, configuration files, and build settings are applied without manual intervention.

Quick Start

Use the nx-generate skill to scaffold a new library named ui-components in the shared directory.

Frequently Asked Questions about nx-generate

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

FAQPage Schema
How do I automate monorepo scaffolding and code generation?

Automate monorepo scaffolding by using the Nx CLI to execute generators, which creates new applications, libraries, and feature modules while enforcing workspace-specific architectural conventions. This eliminates manual boilerplate creation and ensures structural consistency across your projects.

What is the best way to standardize new library creation in an Nx workspace?

Standardize new library creation by applying automated scaffolding techniques that handle directory structure, configuration files, build targets, linting, and testing setups without manual intervention. This ensures all new artifacts follow established repository patterns.

Do I need the Nx CLI to scaffold new feature modules?

Yes, you need the Nx CLI installed to scaffold new feature modules. The generation process requires the CLI to execute generators with verified dry-run validation and apply automated formatting to the newly created code artifacts.

How does dry-run validation work when generating code artifacts?

Dry-run validation works by verifying the code generation process before applying changes. It checks the creation of applications, libraries, and feature modules to ensure the workspace-specific architectural conventions are met safely before committing the automated formatting.

Can I automatically configure build targets and linting for new web components?

Yes, you can automatically configure build targets, linting, and testing setups for new web components. The automated configuration handles these settings during the scaffolding process, ensuring new artifacts integrate seamlessly into the existing monorepo environment.