Run Nx generators with prioritization for workspace-plugin generators. Use this when generating code, scaffolding new features, or automating repetitive tasks in the monorepo.
The 'run-nx-generator' skill is designed to streamline the process of executing Nx generators, particularly emphasizing the use of workspace-plugin generators that are tailored for internal tooling. This skill addresses the common challenge of efficiently generating code, scaffolding new features, and automating repetitive tasks within a monorepo, enabling developers to focus on delivering value rather than getting bogged down by manual processes. By providing a structured approach to generator execution, it helps maintain consistency and reduces the potential for errors during code generation.
Workspace-plugin generators are custom tools located in 'tools/workspace-plugin/' that are prioritized for use in your projects.
Yes, core Nx generators can be used when workspace-plugin generators do not meet your needs.
The skill requires tools such as Bash, Read, Glob, Grep, and specific Nx generator tools.
Yes, you can use the '--dry-run' flag to preview changes before applying.
You should verify the changes by reviewing generated files, running tests, and formatting the code.
Quick Setup:
.claude/skills/Repository
nrwl/nx