nx-generate

Automates Nx CLI generation of apps, libraries, and modules in a monorepo workspace.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill eliminates the manual overhead and configuration errors associated with scaffolding new applications, libraries, and features in an Nx monorepo.

Core Features & Use Cases

  • Automated Scaffolding: Quickly generate new apps or libraries using standardized workspace generators.
  • Pattern Enforcement: Ensures generated code adheres to existing repository conventions, naming, and architectural patterns.
  • Verification: Automates the dry-run and validation process to ensure new code integrates seamlessly with existing build, test, and lint targets.

Quick Start

Ask the assistant to scaffold a new react library named user-profile using the nx-generate skill.

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 using generators?

To scaffold a new library in an Nx monorepo, you use Nx CLI generators to automate the creation of apps, libraries, and feature modules. This ensures new code adheres to existing architectural patterns and workspace conventions.

Can I automate Nx workspace generation for multiple feature modules?

Yes, you can automate Nx workspace generation for feature modules by applying the Nx CLI generators. This enforces architectural consistency and automatically validates the output against project build, test, and lint standards.

Do I need the Nx CLI installed to generate monorepo artifacts?

Yes, you need the Nx CLI installed locally to generate monorepo artifacts. The scaffolding process requires the CLI and your local workspace generator configurations to execute tasks and verify the structural output.

What is the best way to enforce naming conventions when creating Nx applications?

The best way to enforce naming conventions when creating Nx applications is to use standardized workspace generators. This pattern enforcement ensures generated code automatically adheres to repository conventions.

Does scaffolding an Nx project verify integration with existing build targets?

Yes, scaffolding an Nx project verifies integration with existing build targets. The process automates dry-run validation to ensure newly generated applications and libraries integrate seamlessly with your current lint and test configurations.

Why does my manually created Nx library fail lint or build targets?

Manually created Nx libraries often fail lint or build targets due to configuration errors. Using automated Nx CLI generators eliminates this manual overhead by validating output against established project standards during the scaffolding process.