nx-generate

Generate code artifacts in an Nx monorepo using Nx generators.

Updated Mar 8, 2026
One-click install
npx skills add https://github.com/oliviasmim/stillapp --skill nx-generate-oliviasmim
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: nx-generate
Source: https://github.com/oliviasmim/stillapp/tree/main/.agent/skills/nx-generate
Command: npx skills add https://github.com/oliviasmim/stillapp --skill nx-generate-oliviasmim

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill automates the creation and setup of new projects, libraries, and applications within an Nx monorepo, ensuring consistency and reducing manual configuration.

Core Features & Use Cases

  • Code Scaffolding: Generates new apps, libraries, and features using Nx generators.
  • Project Structure: Helps establish and maintain a consistent project structure.
  • Use Case: When you need to add a new React component library to your monorepo, this skill can generate the necessary files and configurations.

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 within an Nx monorepo?

Scaffolding a new library within an Nx monorepo uses Nx generators to create files and configurations, ensuring consistency and reducing manual setup across your project structure.

What is the best way to maintain project structure consistency when adding new applications?

Maintaining project structure consistency when adding applications is achieved by using Nx generators for code generation, which enforces adherence to existing repository patterns automatically.

Can I generate a React component library using Nx generators?

Yes, you can generate a React component library using Nx generators to produce the necessary files and configurations directly within your monorepo's libs directory.

Does scaffolding new features in an Nx monorepo require existing repository patterns?

Scaffolding new features in an Nx monorepo requires adherence to existing repository patterns to ensure project structure consistency and pass subsequent build, lint, and test targets.

How do I verify newly generated code artifacts in an Nx monorepo?

Verifying newly generated code artifacts in an Nx monorepo requires running build, lint, and test targets to confirm the new apps or libraries integrate correctly.