You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CLAUDE.md
+24Lines changed: 24 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -126,3 +126,27 @@ Uses shadow DOM — Playwright locators/clicks do not pierce shadow DOM; must us
126
126
### Verdaccio
127
127
128
128
Binds to IPv6 `[::1]` — port availability checks must try both `::1` and `127.0.0.1`. Config at `.verdaccio/config.yml`, storage at `tmp/local-registry/storage`.
129
+
130
+
<!-- nx configuration start-->
131
+
<!-- Leave the start & end comments to automatically receive updates. -->
132
+
133
+
## General Guidelines for working with Nx
134
+
135
+
- For navigating/exploring the workspace, invoke the `nx-workspace` skill first - it has patterns for querying projects, targets, and dependencies
136
+
- When running tasks (for example build, lint, test, e2e, etc.), always prefer running the task through `nx` (i.e. `nx run`, `nx run-many`, `nx affected`) instead of using the underlying tooling directly
137
+
- Prefix nx commands with the workspace's package manager (e.g., `pnpm nx build`, `npm exec nx test`) - avoids using globally installed CLI
138
+
- You have access to the Nx MCP server and its tools, use them to help the user
139
+
- For Nx plugin best practices, check `node_modules/@nx/<plugin>/PLUGIN.md`. Not all plugins have this file - proceed without it if unavailable.
140
+
- NEVER guess CLI flags - always check nx_docs or `--help` first when unsure
141
+
142
+
## Scaffolding & Generators
143
+
144
+
- For scaffolding tasks (creating apps, libs, project structure, setup), ALWAYS invoke the `nx-generate` skill FIRST before exploring or calling MCP tools
0 commit comments