CtrlK
BlogDocsLog inGet started
Tessl Logo

nx-workspace-patterns

Configure and optimize Nx monorepo workspaces. Use when setting up Nx, configuring project boundaries, optimizing build caching, or implementing affected commands.

85

1.25x
Quality

66%

Does it follow best practices?

Impact

98%

1.25x

Average score across 6 eval scenarios

SecuritybySnyk

Passed

No known issues

Optimize this skill with Tessl

npx tessl skill review --optimize ./plugins/developer-essentials/skills/nx-workspace-patterns/SKILL.md
SKILL.md
Quality
Evals
Security

Evaluation results

100%

8%

CI Pipeline for Monorepo Build Optimization

CI pipeline with affected commands

Criteria
Without context
With context

Full git history checkout

100%

100%

nrwl/nx-set-shas action

100%

100%

Affected lint command

100%

100%

Affected test command

100%

100%

Affected build command

100%

100%

Parallel=3 for lint

100%

100%

Parallel=3 for test

100%

100%

Parallel=3 for build

100%

100%

E2e parallel=1

100%

100%

NX_CLOUD_ACCESS_TOKEN env var

0%

100%

Triggers on main branch

100%

100%

100%

25%

Optimize Nx Workspace Build Caching

nx.json caching and target configuration

Criteria
Without context
With context

defaultBase=main

100%

100%

cacheableOperations list

70%

100%

Parallel count

0%

100%

Build dependsOn upstream

100%

100%

Build cache enabled

100%

100%

Test jest.preset.js input

100%

100%

Production input excludes tests

100%

100%

Production excludes config files

100%

100%

sharedGlobals includes tsconfig.base

100%

100%

React app style=css

0%

100%

React app bundler=webpack

0%

100%

React linter=eslint

100%

100%

95%

13%

Enforce Architecture Boundaries in Nx Monorepo

Module boundary enforcement and project tagging

Criteria
Without context
With context

enforceBuildableLibDependency

100%

100%

type:app constraint

0%

80%

type:feature constraint

62%

100%

type:ui constraint

100%

100%

type:data-access constraint

100%

100%

type:util constraint

100%

100%

scope:web constraint

100%

100%

scope:api constraint

100%

100%

scope:shared constraint

100%

100%

Tags format

100%

100%

Library type naming

37%

62%

nx enforce-module-boundaries rule

100%

100%

100%

8%

Add a New Customer Portal Application to the Monorepo

Project configuration and build targets

Criteria
Without context
With context

Schema reference

100%

100%

sourceRoot pattern

100%

100%

Both tag dimensions

100%

100%

Build executor

100%

100%

Build compiler=babel

0%

100%

outputPath pattern

100%

100%

defaultConfiguration=production

100%

100%

Production config correctness

100%

100%

Development config correctness

100%

100%

Serve executor

100%

100%

Test executor

100%

100%

Coverage output path

100%

100%

passWithNoTests

100%

100%

Lint executor

100%

100%

100%

23%

Build a Reusable Feature Library Generator for Your Nx Monorepo

Custom Nx generator development

Criteria
Without context
With context

Import from @nx/devkit

100%

100%

Import libraryGenerator

0%

100%

libraryGenerator call

100%

100%

Tags include type:feature

100%

100%

Tags include scope

100%

100%

skipFormat: true

0%

100%

unitTestRunner: jest

100%

100%

linter: eslint

100%

100%

generateFiles with joinPathFragments

50%

100%

names() helper used

100%

100%

readProjectConfiguration called

100%

100%

formatFiles at end

100%

100%

93%

42%

Speed Up Slow CI Builds with Nx Remote Caching

Remote caching configuration

Criteria
Without context
With context

Nx Cloud runner package

100%

100%

nxCloudAccessToken top-level

100%

100%

cacheDirectory path

0%

100%

S3 runner package

0%

100%

S3 awsRegion option

0%

100%

S3 awsBucket option

0%

100%

S3 awsProfile option

0%

0%

cacheableOperations complete

100%

100%

parallel=3

0%

100%

NX_CLOUD_ACCESS_TOKEN in CI

100%

100%

Both configs documented

100%

100%

defaultBase=main

100%

100%

Repository
wshobson/agents
Evaluated
Agent
Claude Code
Model
Claude Sonnet 4.6

Table of Contents

Is this your skill?

If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.