@nx/workspace:setup-ai-agents
Sets up the Nx MCP & rule files for common AI Agents
Please do not extend this schema as it is part of Nx internal usage.
Sets up the Nx MCP & rule files for common AI Agents
1nx generate setup-ai-agents ...
2
By default, Nx will search for setup-ai-agents
in the default collection provisioned in workspace.json.
You can specify the collection explicitly as follows:
1nx g @nx/workspace:setup-ai-agents ...
2
Show what will be generated without writing to disk:
1nx g setup-ai-agents ... --dry-run
2
.
Directory where the AI agent configuration files will be generated
next
The version of the package to use
false
Whether to write Nx Cloud rules