nx-workspace (Nx Official: Read-only monorepo workspace exploration)

Workspace exploration skill from the official Nx repository (Narwhal Technologies): When the agent answers questions like "What projects are in this monorepo?", "How is a specific project built?", or "Who depends on a specific library?", or when nx commands fail, use nx show projects, nx show project --json, and nx graph --print with jq to obtain the fully resolved configuration, rather than reading project.json directly.

Workspace exploration skill from the official Nx repository (Narwhal Technologies): When the agent answers questions like "What projects are in this monorepo?", "How is a specific project built?", or "Who depends on a specific library?", or when nx commands fail, use nx show projects, nx show project --json, and nx graph --print with jq to obtain the fully resolved configuration, rather than reading project.json directly.

skills.sh install count 82852 (+971 / 24h)

Security Audit: Not audited

  • Not yet scanned

Rationale

  • Highlights a common misconception: project.json contains only partial configuration; targets inferred by plugins are only visible via nx show project --json
  • Provides complete project filtering syntax (wildcards, tag:, negation, filtering by target, --affected) and jq queries for dependencies and reverse dependencies, mandating the use of --json to compute answers via commands rather than manual counting
  • Troubleshooting covers two common errors: when a target is not found, first list existing targets; when the workspace is out of sync, use nx sync, and nx reset if necessary
  • The repository is MIT licensed; the README states that nx configure-ai-agents can be used for one-click configuration; skills.sh shows 971 installs in the last 24 hours, with a cumulative total of 82852, and weekly installs over the last 8 weeks have risen from 3883 to 6141 (indicating attention only)

Usage

  • Installation command will be displayed after the audit passes; triggered when asking about project structure, target configuration, dependencies, or nx task failures within an Nx workspace; the README also mentions one-click configuration via nx configure-ai-agents
  • Requires an Nx workspace (use npx / pnpx / yarn prefixes if nx is not installed globally) and jq; no account required

Risk

  • Not audited in this issue, fixed at C-level, installation command hidden; SKILL.md instructs the agent to execute nx, jq, and cat commands locally, claiming read-only access which aligns with its purpose; however, nx sync in troubleshooting modifies workspace configuration and nx reset clears caches, so it is not strictly read-only; audits by Gen Agent Trust Hub, Socket, and Snyk on skills.sh are all Pass
  • Covers only exploration and troubleshooting; running tasks, code generation, Nx Cloud, etc., are handled by other skills and plugins in the same repository
  • The installation curve over the last 8 weeks is nearly synchronized with fastify-best-practices and design-doc-mermaid in this issue (daily installs for fastify-best-practices, nx-workspace, and design-doc-mermaid are 986, 971, and 977 respectively), suggesting they may have been installed together as part of a bundle; install counts should not be interpreted as independent attention metrics

Open · Repository

Best Skills 每日数据(LinklyAI / @BlueeonY,CC BY 4.0)

Explore the latest AI Radar updates