nx-generate

Automate Nx project and library creation with local or plugin generators.

Updated Jul 22, 2023
One-click install
npx skills add https://github.com/ValerianGuivarch/lsr-nestjs-backend --skill nx-generate-valerianguivarch
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: nx-generate
Source: https://github.com/ValerianGuivarch/lsr-nestjs-backend/tree/main/.opencode/skills/nx-generate
Command: npx skills add https://github.com/ValerianGuivarch/lsr-nestjs-backend --skill nx-generate-valerianguivarch

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill automates the creation of Nx projects and libraries, streamlining the setup and configuration of Nx-based codebases, thereby reducing development time and minimizing boilerplate code.

Core Features & Use Cases

  • Project Generation: Rapidly scaffold new Nx projects or libraries.
  • Custom Configuration: Offers detailed configuration options for generators.
  • Local vs Plugin Generators: Provides guidance on using both local and plugin generators within a monorepo setup.

Quick Start

Invoke the nx-generate skill with the trigger word 'scaffold' to create a new Nx library within your current project.

Frequently Asked Questions about nx-generate

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

FAQPage Schema
How do I automate Nx project and library creation in a monorepo?▼

Scaffolding new Nx projects or libraries requires local generators for full customization and efficiency. This Skill automates creation and fine-tuning of configuration within your Nx codebase, minimizing manual boilerplate.

What is the difference between local and plugin generators for Nx codebases?▼

Local generators offer full customization and efficiency for fine-tuning configuration within your specific codebase. Plugin generators provide pre-packaged scaffolding logic, and this Skill provides guidance on using both within a monorepo setup.

How do I scaffold a new Nx library with custom configuration?▼

You can scaffold a new Nx library by invoking the trigger word 'scaffold' to initiate the generation process. This automates the creation and provides detailed configuration options to fine-tune the library within your current project.

Do I need local generators to fully customize Nx project setup?▼

Yes, you need local generators to achieve full customization and efficiency when scaffolding Nx codebases. This Skill utilizes the Nx CLI for scaffolding but requires local generators to provide detailed, fine-tuned configuration options.

Can I fine-tune configuration options when generating Nx projects?▼

Yes, you can fine-tune configuration options when generating Nx projects. This Skill provides detailed configuration choices for generators, allowing you to precisely tailor the setup of newly created projects and libraries.