nx-generate

Generates code artifacts using Nx generators in a monorepo environment.

3|2|Updated Oct 17, 2025
One-click install
npx skills add https://github.com/storm-software/powerlines --skill nx-generate-storm-software
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: nx-generate
Source: https://github.com/storm-software/powerlines/tree/main/.opencode/skills/nx-generate
Command: npx skills add https://github.com/storm-software/powerlines --skill nx-generate-storm-software

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill streamlines project setup and code generation within Nx monorepos, ensuring consistency and reducing manual boilerplate.

Core Features & Use Cases

  • Scaffolding Projects: Create new applications and libraries using predefined Nx generators.
  • Automated Migrations: Run workspace-specific or custom generators for code updates.
  • Use Case: Quickly add a new React feature library to your Nx workspace, ensuring it follows established project structure and conventions.

Quick Start

Use the nx-generate skill to create a new React library named 'ui-common' within the libs directory.

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?

To scaffold a new library in an Nx monorepo, use Nx generators to create code artifacts like applications and features, ensuring adherence to established workspace patterns and reducing manual boilerplate.

What is the best way to automate repetitive code generation tasks in a monorepo?

Automating repetitive code generation in a monorepo is best handled by leveraging predefined or custom Nx generators to create new features, which streamlines project setup and enforces structural consistency.

How does code generation with Nx generators work for adding new features?

Code generation with Nx generators works by executing predefined or custom workspace generators to produce new applications, libraries, and features, automatically aligning them with your existing conventions.

Can I use custom Nx generators for automated migrations within my workspace?

Yes, you can use custom Nx generators for automated migrations and code updates within your workspace, allowing you to systematically modify project structures and apply pattern changes across the monorepo.

Does code scaffolding in an Nx monorepo ensure consistency across multiple projects?

Yes, code scaffolding in an Nx monorepo ensures consistency across multiple projects by utilizing predefined Nx generators that enforce established workspace patterns and standardize the project structure for new features.

When do I need to use Nx generators instead of manually creating project files?

You need to use Nx generators instead of manually creating files when scaffolding new applications or libraries to eliminate manual boilerplate, guarantee structural adherence, and automate repetitive monorepo setup tasks.