Agent Skill
2/7/2026nx-operations
When you need to run tasks, build projects, or understand the workspace graph using Nx. Use this for all build, lint, and test operations.
N
nextblock
3GitHub Stars
1Views
npx skills add nextblock-cms/nextblock
SKILL.md
| Name | nx-operations |
| Description | When you need to run tasks, build projects, or understand the workspace graph using Nx. Use this for all build, lint, and test operations. |
name: nx-operations description: When you need to run tasks, build projects, or understand the workspace graph using Nx. Use this for all build, lint, and test operations.
Nx Operations & Workspace Management
1. General Guidelines
- Always use Nx: Run tasks via
nx run,nx run-many, ornx affected. Do not use underlying tools (liketscorvitedirectly) unless debugging a specific issue with them. - Analyze First:
- Use
nx_workspaceto understand the workspace layout. - Use
nx_project_detailsto analyze specific project dependencies before making changes. - Use
nx_docsif you are unsure about configuration or best practices.
- Use
2. Common Commands
Building
- Build Core App:
nx build nextblock - Build All Libraries:
npm run lib-builds(alias for building ui, utils, db, editor, sdk) - Build Specific Lib:
nx build <lib-name>(e.g.,nx build ui)
Linting
- Lint Core App:
nx lint nextblock - Lint All:
npm run lint
Development
- Serve App:
nx serve nextblock(runs the Next.js dev server)
3. Troubleshooting
- If
nx start nextblockfails with "Could not find a production build", ensure you have runnx build nextblockfirst. - Use
nx resetif you suspect cache issues.
Skills Info
Original Name:nx-operationsAuthor:nextblock
Download