In short.
Nx Workspace Patterns is an assistant skill for developers organizing Nx monorepos, but its configuration examples need project-specific changes and have unknown version compatibility. The two Markdown files cover workspace structure, dependency boundaries, task inputs, generators, GitHub Actions and remote caching. The custom generator needs additional template files, and the examples leave project naming and CI configuration assumptions unresolved. Runtime behavior and performance are unassessed.
Researched and written by an AI model and checked by a second AI model. How it works
Covers the complete supplied skill folder: plugins/developer-essentials/skills/nx-workspace-patterns/SKILL.md and references/details.md, plus the repository-root LICENSE notice outside that folder, all at commit 9c61ab243def98f72da12abd41cfcf5bcd91af9d. Other repository folders, assistant installation documentation, external package documentation and service terms are outside this scope. No code was executed. Assistant loading, version compatibility, generated output, task execution, cache behavior, remote integration, costs and performance remain unassessed.
The overview
identity
Nx Workspace Patterns is the nx-workspace-patterns skill in the wshobson/agents repository. Its scope consists of SKILL.md and references/details.md under plugins/developer-essentials/skills/nx-workspace-patterns. The entry file provides assistant instructions and points to the reference file for concrete templates.
The original source directory is [https://github.com/wshobson/agents/tree/main/plugins/developer-essentials/skills/nx-workspace-patterns]. The source snapshot is pinned to commit 9c61ab243def98f72da12abd41cfcf5bcd91af9d.
assessment
The resource offers concrete starting points for teams that want consistent Nx project structure and configuration. Its strongest feature is the connection between library roles, project tags, import restrictions, build dependencies and CI examples.
Adoption requires technical review. The files provide templates without a dependency manifest, supported Nx version range or execution results. The claim that caching can produce significant CI savings has no accompanying measurements.
users
The skill suits developers maintaining multiple applications and shared libraries, especially teams using React, TypeScript, ESLint, Jest and GitHub Actions. Experienced Nx users can adapt its task inputs, dependency constraints and generator example to their own conventions.
Beginners receive a useful explanation of feature, UI, data-access, utility and shell libraries. Applying the examples still requires familiarity with configuration files, package installation and Git-based CI. Although migration to Nx is listed as a use case, the files do not provide a complete migration walkthrough.
capabilities
Six template groups cover nx.json settings, application project.json targets, ESLint module boundaries, a custom React library generator, GitHub Actions with affected commands, and remote caching. The workspace configuration includes task dependencies, named inputs, cache settings and generator defaults.
The boundary example restricts imports by both library type and product scope. The CI example runs affected lint, test, build and end-to-end tasks. Remote-cache examples cover Nx Cloud and an S3-backed runner. Additional command examples cover library generation, dependency graphs, production builds, cache reset and migrations.
Using it
requirements
Applying the examples requires an Nx workspace with the packages and files referenced by the chosen templates. The application examples use @nx/webpack, @nx/jest and @nx/eslint executors; the generator imports @nx/devkit and @nx/react. References to Jest, Babel, TypeScript and ESLint configuration must match the actual repository.
The GitHub Actions example assumes npm dependency installation, a lockfile for npm ci and sufficient Git history to derive affected revisions. It selects Node 20, which is an example setting rather than an established compatibility requirement. Remote caching additionally needs the chosen service or runner and its credentials.
No assistant host, model, skill-loading procedure or complete dependency/version specification is supplied.
mechanism
The skill supplies written guidance for an assistant to consult. Its entry file describes when the patterns are relevant and directs the assistant to the reference file for implementation examples. Enforcement depends on applying the resulting configuration to a workspace.
In the templates, project tags feed ESLint dependency constraints. The build target's ^build dependency expresses prerequisite builds, while named inputs identify files used for caching decisions. The CI workflow derives Git revisions before invoking affected tasks, with the intended effect of limiting work to projects impacted by changes.
setup
Obtain both SKILL.md and references/details.md from the source folder, preserving their relative paths and the applicable MIT notice. The files do not establish how a particular assistant installs or discovers this skill.
For workspace adoption, adapt the relevant examples to the installed Nx packages, project names, configuration paths and Git base branch. The custom generator needs its referenced template directory. The CI test command also needs a matching ci configuration or an adapted command.
The GitHub Actions example obtains NX_CLOUD_ACCESS_TOKEN from repository secrets. The remote-cache configuration contains placeholder token values; use the credential mechanism appropriate to the chosen setup rather than committing real tokens into those examples.
example
For a web authentication feature, the reference gives the command nx g @nx/react:lib feature-auth --directory=libs/web --tags=type:feature,scope:web. The tags describe the library's role and scope.
Under the supplied dependency rules, a type:feature project can depend on type:ui, type:data-access and type:util libraries. Its scope:web tag further limits dependencies to scope:web or scope:shared. The reference then offers nx affected -t test --base=main for affected testing and nx graph for inspecting dependencies. No generated project or command result is established.
Assessment & evidence
limitations
Version compatibility is unknown. The templates use npmScope, tasksRunnerOptions, cacheableOperations, targetDefaults, namedInputs and .eslintrc.json without identifying a supported Nx release. Their applicability to a particular workspace needs confirmation.
The custom generator passes feature-${name} as the library name but later reads a project named ${scope}-feature-${name}. Whether those names resolve to the same generated project is not established. It also expects a sibling files directory, whose template contents are absent from this skill folder.
The CI workflow requests a ci test configuration that the sample project target does not define. The Jest example enables passWithNoTests, and no test suite is included. Assistant loading, generator execution, cache correctness, CI operation and build performance remain unassessed.
reasoning
The resource's practical value comes from making related workspace decisions explicit. Library roles establish responsibilities, tags express dependency policies, task dependencies express build order, and input definitions describe caching boundaries. These connections give an assistant concrete configuration to discuss and adapt.
The likely benefit is a more consistent starting point for workspace changes. Faster CI or fewer dependency problems remain possible outcomes rather than demonstrated results: they depend on the real project graph, input definitions, workload and successful integration.
alternatives
The reference offers two remote-cache approaches: Nx Cloud configuration and an S3-backed @nx-aws-cache/nx-aws-cache runner. The S3 example supplies region, bucket and AWS profile settings; the Nx Cloud example supplies runner and token settings. Their relative cost, compatibility and operational requirements are not assessed.
For library creation, the direct @nx/react generator command is an alternative to implementing the custom generator when additional file generation is unnecessary. No evidence-based comparison with other assistant skills or monorepo tools is supplied.
evidence
The source consists of the skill entry at [https://raw.githubusercontent.com/wshobson/agents/9c61ab243def98f72da12abd41cfcf5bcd91af9d/plugins/developer-essentials/skills/nx-workspace-patterns/SKILL.md] and its templates at [https://raw.githubusercontent.com/wshobson/agents/9c61ab243def98f72da12abd41cfcf5bcd91af9d/plugins/developer-essentials/skills/nx-workspace-patterns/references/details.md], together with the repository's MIT notice.
These files support findings about the written guidance and configuration examples. The scope includes no runnable workspace, dependency lockfile, generator template assets, execution logs or benchmarks. Successful installation, functioning integrations and performance improvements are not established.
Access & freshness
costs
No pricing, operating-cost figures or measured savings are supplied. Total adoption and operating cost is unknown.
Potential cost components depend on the chosen setup: assistant usage, CI compute, Nx Cloud or S3-backed caching. The examples identify these integrations but establish no service prices, included allowances or expected charges. The claimed CI benefit from caching is unquantified.
rights
The repository's MIT License names Seth Hobson as the copyright holder, dated 2024. It permits use, copying, modification, merging, publication, distribution, sublicensing and sale of the software and associated documentation, provided the copyright and permission notices remain in copies or substantial portions.
The license supplies the material without warranty and limits the authors' liability. The notice is available at [https://raw.githubusercontent.com/wshobson/agents/9c61ab243def98f72da12abd41cfcf5bcd91af9d/LICENSE]. Terms for external services and dependencies are not established by this notice.
freshness
The source snapshot was captured on 17 November 2026 at 09:53:28.808 UTC and identifies commit 9c61ab243def98f72da12abd41cfcf5bcd91af9d. This identifies the material covered by these findings; it does not establish when the templates were authored or last updated.
No skill release number, supported Nx version range or compatibility results are supplied. Changes after this commit and compatibility with other Nx releases are unknown.
actions
Start with the source folder and read both documents. Match the relevant configuration examples to your installed Nx version, repository paths and existing project conventions before applying them.
For a bounded adoption, apply tags and dependency rules to a small set of projects, then inspect the graph and validate the relevant lint, test and build behavior. Before relying on caching, confirm that changes to declared inputs invalidate the intended tasks.
Before adopting the generator or CI template, supply the missing generator assets, confirm the generated project name and resolve the ci test configuration assumption. Evaluate remote-cache credentials, access and costs for the chosen service. These are recommended validation steps; no successful outcomes are established.
