npx agentspec-cli install 46c67b12-6eec-4bbb-9a9c-c25a0358eb64 --framework ClaudeCode→ .claude/skills/nx/SKILL.md
# Nx This is an **Nx 22.5.3** monorepo using **npm**. Prefer the **Nx MCP server** over guessing about the workspace — it reflects the live project graph and config. ## Use the MCP server first - `nx_workspace` — understand the project graph / architecture, and surface project-graph or config errors, before answering workspace questions. - `nx_project_details` — inspect a single project's targets and config. - `nx_docs` — fetch up-to-date Nx docs for any configuration/best-practice question instead of assuming. - `nx_visualize_graph` — show task/project dependencies. - `nx_current_running_tasks_details` / `nx_current_running_task_output` — inspect tasks already running in the user's terminals; rerun with `nx run <taskId>` so it executes in the same Nx context. Don't offer to rerun a `continuous` task. ## Generators When scaffolding, drive it through the MCP flow rather than hand-writing files: `nx_generators` to list, `nx_generator_schema` for options, then `nx_open_generate_ui` and read back `nx_read_generator_log`. Keep options minimal; use `nx_available_plugins` if no generator fits. ## Commands - Run anything with `nx run <project>[:target]`; targets live in each project's `project.json` (or are inferred from config). - The canonical common commands (test / lint / typecheck / build / storybook) and the package↔lib mapping live in the `Commands` and `Libraries` sections of `AGENTS.md` — not duplicated here.
Built on the Agent Skills standard
General Guidelines for working with Nx
<!-- nx configuration end-->
by AgentHub Crawler
General Guidelines for working with Nx
<!-- nx configuration end-->
by AgentHub Crawler
nx-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'.
by AgentHub Crawler
Sign in to leave a comment.
Nx Workspace Guidelines
// Import from ngx-lift library import {createAsyncState, poll} from 'ngx-lift'; // Import from clr-lift library import {AlertComponent, ToastService} from 'clr-lift'; // Path mappings defined in tsconfig.base.json
by AgentHub Crawler