component-common-domai…
Finds duplicate business logic spread across multiple components and suggests consolidation. Use when asking "where is this logic…
Configure, explore, and optimize Nx monorepo workspaces. Use when setting up Nx, exploring workspace structure, configuring project boundaries, analyzing affected projects, optimizing build caching, or implementing CI/CD with affected commands. Keywords — nx, monorepo,
Claude Code
$ npx -y skills add tech-leads-club/agent-skills --skill nx-workspace --agent claude-code
Codex
$ npx skills add tech-leads-club/agent-skills --skill nx-workspace -a codex -y
Cursor
$ npx skills add tech-leads-club/agent-skills --skill nx-workspace -a cursor -y
Gemini CLI
$ npx skills add tech-leads-club/agent-skills --skill nx-workspace -a gemini-cli -y
GitHub Copilot
$ npx skills add tech-leads-club/agent-skills --skill nx-workspace -a github-copilot -y
OpenCode
$ npx skills add tech-leads-club/agent-skills --skill nx-workspace -a opencode -y
Windsurf
$ npx skills add tech-leads-club/agent-skills --skill nx-workspace -a windsurf -y
name: nx-workspace description: Configure, explore, and optimize Nx monorepo workspaces. Use when setting up Nx, exploring workspace structure, configuring project boundaries, analyzing affected projects, optimizing build caching, or implementing CI/CD with affected commands. Keywords — nx, monorepo, workspace, projects, targets, affected. Do NOT use for running tasks (use nx-run-tasks) or code generation with generators (use nx-generate).
**Exploring workspace**: `nx show projects` and `nx show project <name> --json` **Running tasks**: `nx <target> <project>` (e.g., `nx build my-app`) **Affected analysis**: `nx show projects --affected` or `nx affected -t <target>`
> **Note**: Prefix commands with `npx`/`pnpx`/`yarn` if nx isn't installed globally.
# List all projects nx show projects # Filter by type, pattern, or target nx show projects --type app nx show projects --projects "apps/*" nx show projects --withTarget build # Find affected projects nx show projects --affected --base=main
**Critical**: Always use `nx show project <name> --json` for full resolved configuration. Do NOT read `project.json` directly - it contains only partial configuration.
# Get full configuration nx show project my-app --json # Extract targets nx show project my-app --json | jq '.targets | keys'
Configuration schemas:
# Run specific project nx build web --configuration=production # Run affected nx affected -t test --base=main # View dependency graph nx graph
workspace/ ├── apps/ # Deployable applications ├── libs/ # Shared libraries │ ├── shared/ # Shared across scopes │ └── feature/ # Feature-specific ├── nx.json # Workspace configuration └── tools/ # Custom executors/generators
| Type | Purpose | Example | | --------------- | -------------------------------- | ------------------- | | **feature** | Business logic, smart components | `feature-auth` | | **ui** | Presentational components | `ui-buttons` | | **data-access** | API calls, state management | `data-access-users` | | **util** | Pure functions, helpers | `util-formatting` |
**Configuration**: See [reference/configuration.md](reference/configuration.md) for:
**Commands**: See [reference/commands.md](reference/commands.md) for:
**CI/CD**: See [reference/ci-cd.md](reference/ci-cd.md) for:
**Best Practices**: See [reference/best-practices.md](reference/best-practices.md) for:
**"What's in this workspace?"**
nx show projects --type app # List applications nx show projects --type lib # List libraries
**"How do I run project X?"**
nx show project X --json | jq '.targets | keys'
**"What changed?"**
nx show projects --affected --base=main
For detailed troubleshooting, see [reference/best-practices.md](reference/best-practices.md).
The secure, validated skill registry for professional AI coding agents. Extend Antigravity, Claude Code, Cursor, Copilot and more with absolute confidence.
Finds duplicate business logic spread across multiple components and suggests consolidation. Use when asking "where is this logic…
Detects misplaced classes and fixes component hierarchy problems — finds code that should belong inside a component but sits at…
Maps architectural components in a codebase and measures their size to identify what should be extracted first. Use when asking…
Analyzes coupling between modules using the three-dimensional model (strength, distance, volatility) from "Balancing Coupling in…
Creates step-by-step decomposition plans and migration roadmaps for breaking apart monolithic applications. Use when asking "what…
Maps business domains and suggests service boundaries in any codebase using DDD Strategic Design. Use when asking "what are the…
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…
Ask which skill or flow fits your situation. A router over the skills in this repo.