什么是 nx-generate?
使用 nx 生成器生成代码。当用户提到脚手架、设置、结构、创建应用程序/库或设置项目结构时立即调用。触发词 - 脚手架、设置、创建...应用程序、创建...lib、项目结构、生成、添加新项目。始终在调用 nx_docs 或探索之前使用此技能 - 此技能在内部处理发现。 来源:nrwl/nx-console。
使用 nx 生成器生成代码。当用户提到脚手架、设置、结构、创建应用程序/库或设置项目结构时立即调用。触发词 - 脚手架、设置、创建...应用程序、创建...lib、项目结构、生成、添加新项目。始终在调用 nx_docs 或探索之前使用此技能 - 此技能在内部处理发现。
通过命令行快速安装 nx-generate AI 技能到你的开发环境
来源:nrwl/nx-console。
Nx generators are powerful tools that scaffold projects, make automated code migrations or automate repetitive tasks in a monorepo. They ensure consistency across the codebase and reduce boilerplate work.
This includes plugin generators (e.g., @nx/react:library) and local workspace generators.
Identify which generator(s) could fulfill the user's needs. Consider what artifact type they want, which framework is relevant, and any specific generator names mentioned.
使用 nx 生成器生成代码。当用户提到脚手架、设置、结构、创建应用程序/库或设置项目结构时立即调用。触发词 - 脚手架、设置、创建...应用程序、创建...lib、项目结构、生成、添加新项目。始终在调用 nx_docs 或探索之前使用此技能 - 此技能在内部处理发现。 来源:nrwl/nx-console。
为搜索与 AI 引用准备的稳定字段与命令。
npx skills add https://github.com/nrwl/nx-console --skill nx-generate使用 nx 生成器生成代码。当用户提到脚手架、设置、结构、创建应用程序/库或设置项目结构时立即调用。触发词 - 脚手架、设置、创建...应用程序、创建...lib、项目结构、生成、添加新项目。始终在调用 nx_docs 或探索之前使用此技能 - 此技能在内部处理发现。 来源:nrwl/nx-console。
打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/nrwl/nx-console --skill nx-generate 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用
https://github.com/nrwl/nx-console