nx-workspacelisted
Install: claude install-skill skyf0xx/hedgehog
# Nx Workspace Exploration
This skill provides read-only exploration of Nx workspaces. Use it to understand workspace structure, project configuration, available targets, and dependencies.
Run all commands via `pnpm nx` (Hedgehog workspaces are pnpm-only).
## Listing Projects
Use `pnpm nx show projects` to list projects in the workspace.
The project filtering syntax (`-p`/`--projects`) works across many Nx commands including `nx run-many`, `nx release`, `nx show projects`, and more. Filters support explicit names, glob patterns, tag references (e.g. `tag:name`), directories, and negation (e.g. `!project-name`).
```bash
# List all projects
pnpm nx show projects
# Filter by pattern (glob)
pnpm nx show projects --projects "apps/*"
pnpm nx show projects --projects "shared-*"
# Filter by tag
pnpm nx show projects --projects "tag:publishable"
pnpm nx show projects -p 'tag:publishable,!tag:internal'
# Filter by target (projects that have a specific target)
pnpm nx show projects --withTarget build
# Combine filters
pnpm nx show projects --type lib --withTarget test
pnpm nx show projects --affected --exclude="*-e2e"
pnpm nx show projects -p "tag:scope:client,packages/*"
# Negate patterns
pnpm nx show projects -p '!tag:private'
pnpm nx show projects -p '!*-e2e'
# Output as JSON
pnpm nx show projects --json
```
## Project Configuration
Use `pnpm nx show project <name> --json` to get the full resolved configuration for a project.
**Important**: Do NOT read `project.json` d