Create nx library

From FabianGosebrink/dog-rate-app · View interactive version

Create nx library is an AI agent skill from the GitHub repository FabianGosebrink/dog-rate-app. Use when the user asks to create a new Nx library in this workspace.

How to use this skill

Skill file

Creating an Nx Library

When creating a new library, keep our architecture intact:

folder: feature and route libraries under libs/<scope>/, domain logic

under libs/<scope>/domain, presentational components under

libs/<scope>/ui, and utilities shared across the workspace under

libs/shared.

and a type tag:

scope:about or scope:shared.

type:ui or type:util.

type:domain, type:ui and type:util; a type:domain may only depend

on type:util; a scope:dogs library may only depend on scope:dogs and

scope:shared.

confirm no module boundary rule is violated.

Example tags

{
  "name": "dogs-ui",
  "tags": ["type:ui", "scope:dogs"]
}
Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.