What problem does it solve? Creating or removing libraries in an Nx monorepo by hand leads to broken test runs, stale build graphs, and inconsistent tags and aliases. This Skill encodes the exact procedure so every lib follows the workspace's layered architecture rules. ## Core Features & Use Cases - Generator-based creation: Uses node tools/generate-domain-lib.mjs instead of bare nx g so project.json, tsconfig.json, vitest.config.mts (with passWithNoTests), and the barrel are laid out correctly. - Manual wiring checklist: Covers the ESLint boundary tag, the tsconfig.base.json alias, and the lib README that must be added by hand. - Safe removal and moves: Explains why git rm -r must be followed by rm -rf, and why a moved lib requires npx nx reset to clear the stale project graph cache. - Use Case: When adding a new domain layer to an Nx workspace, follow this Skill to scaffold the lib, register its tag and alias, then verify with npm run check:layers. ## Quick Start Ask the assistant to create a new library in the Nx workspace following the lib-layers pattern and verify it with the layers check.