Nx Generate
Generates Nx workspace projects, libraries, and applications based on specified schematics and configurations.
Install on your platform
We auto-selected Claude Code based on this skill’s supported platforms.
Run in terminal (recommended)
claude mcp add nrwl-nx-generate npx -- -y @trustedskills/nrwl-nx-generate
Or manually add to ~/.claude/settings.json
{
"mcpServers": {
"nrwl-nx-generate": {
"command": "npx",
"args": [
"-y",
"@trustedskills/nrwl-nx-generate"
]
}
}
}Requires Claude Code (claude CLI). Run claude --version to verify your install.
About This Skill
What it does
The nrwl-nx-generate skill allows AI agents to generate Nx workspaces, projects, libraries, and applications. It leverages the power of Nx CLI commands to scaffold new code structures based on predefined schematics. This simplifies development workflows by automating repetitive setup tasks and ensuring consistency across projects.
When to use it
- New Project Setup: Quickly create a new Nx workspace with preconfigured settings and tooling.
- Component Generation: Generate React, Angular, or other framework components within an existing project.
- Library Creation: Easily scaffold reusable libraries for sharing code across multiple applications.
- Application Development: Create new frontend or backend applications as part of a larger Nx workspace.
Key capabilities
- Generates Nx workspaces and projects.
- Supports various application types (React, Angular, Node).
- Utilizes Nx schematics for consistent project structure.
- Automates code scaffolding tasks.
Example prompts
- "Generate a new React application named 'my-app' within my existing workspace."
- "Create a library called 'ui-components' with a basic button component."
- "Scaffold an Angular application using the latest Nx version."
Tips & gotchas
- Requires an Nx CLI environment to be set up and accessible.
- The generated code will adhere to the conventions defined by your existing Nx workspace configuration.
Tags
TrustedSkills Verification
Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates — what you install today is exactly what was reviewed and verified.
Security Audits
| Gen Agent Trust Hub | Pass |
| Socket | Pass |
| Snyk | Pass |
🌐 Community
Passed automated security scans.