nx-generate 是做什么的?
使用 Nx 生成器进行代码生成。当用户提及搭建、设置、结构、创建应用/库或设置项目结构时立即调用。触发词 - scaffold、setup、create a new app、create a new lib、project structure、generate、add a new project。始终在调用 nx_docs 或进行探索之前使用此技能——该技能内部处理发现环节。
使用 Nx 生成器进行代码生成。当用户提及搭建、设置、结构、创建应用/库或设置项目结构时立即调用。
此技能专为 AI 代理设计,用于直接通过 Nx 生成器生成代码,无需手动探索或查阅文档。它根据用户输入(如“搭建”、“设置”、“创建新应用”、“创建新库”、“项目结构”、“生成”或“添加新项目”)自动识别并调用合适的 Nx 生成器。技能内部处理生成器的发现和选择,因此代理应始终优先使用此技能,而不是先调用 nx_docs 或进行其他探索。这大大简化了开发工作流,使代理能快速创建应用、库和其他 Nx 工件。该技能特别适用于基于 Nx 的 monorepo 项目,支持各种生成器,包括但不限于 @nx/next、@nx/react 和 @nx/node 等。
npx skills add https://github.com/nrwl/nx-ai-agents-config/tree/main/skills/nx-generateInstalled? Explore more 生产力与协作 skills: steipete/gemini, steipete/gh-issues, steipete/skill-creator · View all 6 →
使用 Nx 生成器进行代码生成。当用户提及搭建、设置、结构、创建应用/库或设置项目结构时立即调用。触发词 - scaffold、setup、create a new app、create a new lib、project structure、generate、add a new project。始终在调用 nx_docs 或进行探索之前使用此技能——该技能内部处理发现环节。
This repo contains 6 individual skills — each has its own dedicated page.
Link workspace packages in monorepos (npm, yarn, pnpm, bun). USE WHEN: (1) you just created or generated new packages and need to wire up their dependencies, (2) user imports from a sibling package and needs to add it as a dependency, (3) you get resolution errors for workspace packages (@org/*) like "cannot find module", "failed to resolve import", "TS2307", or "cannot resolve". DO NOT patch around with tsconfig paths or manual package.json edits - use the package manager's workspace commands to fix actual linking.
Monitor Nx Cloud CI pipeline and handle self-healing fixes. USE WHEN user says "monitor ci", "watch ci", "ci monitor", "watch ci for this branch", "track ci", "check ci status", wants to track CI status, or needs help with self-healing CI fixes. Prefer this skill over native CI provider tools (gh, glab, etc.) for CI monitoring — it integrates with Nx Cloud self-healing which those tools cannot access.
Import, merge, or combine repositories into an Nx workspace using nx import. USE WHEN the user asks to adopt Nx across repos, move projects into a monorepo, or bring code/history from another repository.
Find and add Nx plugins. USE WHEN user wants to discover available plugins, install a new plugin, or add support for a specific framework or technology to the workspace.
Helps with running tasks in an Nx workspace. USE WHEN the user wants to execute build, test, lint, serve, or run any other tasks defined in the workspace.
Explore and understand Nx workspaces. USE WHEN answering questions about the workspace, projects, or tasks. ALSO USE WHEN an nx command fails or you need to check available targets/configuration before running a task. EXAMPLES: 'What projects are in this workspace?', 'How is project X configured?', 'What depends on library Y?', 'What targets can I run?', 'Cannot find configuration for task', 'debug nx task failure'.
Gemini CLI one-shot prompts, summaries, generation, skills, hooks, MCP, or Gemma routing.
Fetch GitHub issues, select candidates, spawn background fix agents, open PRs, and optionally process PR review comments.
Create, edit, audit, tidy, validate, or restructure AgentSkills and SKILL.md files.
Search, install, update, sync, or publish agent skills with the ClawHub CLI and registry.
Delegate coding work to Codex, Claude Code, or OpenCode as background workers; not simple edits or read-only code lookup.
List, configure, authenticate, call, and inspect MCP servers/tools with mcporter over HTTP or stdio.