CtrlK
BlogDocsLog inGet started
Tessl Logo

pantheon-ai/nx-workspace-patterns

Configure and optimize Nx monorepo workspaces with deterministic project-graph structure, boundary enforcement, cache-aware pipelines, and affected-command CI workflows; use when designing workspace architecture, tightening dependency rules, or reducing CI cost through Nx task orchestration.

76

Quality

95%

Does it follow best practices?

Impact

No eval scenarios have been run

SecuritybySnyk

Passed

No known issues

Overview
Quality
Evals
Security
Files

Quality

Content

92%

Reviews the quality of instructions and guidance provided to agents. Good implementation is clear, handles edge cases, and produces reliable results.

A well-organized, lean, highly actionable skill body with concrete commands, full config examples, and a workflow that includes a validation checkpoint. Its main weakness is progressive disclosure: four referenced files are cited but do not exist in the bundle, leaving broken links.

Suggestions

Create the referenced files under ./references/ (project-graph-configuration.md, caching-strategies.md, project-boundaries.md, affected-commands.md) so the References table links resolve, or remove the dead references.

Consider moving the large inline nx.json targetDefaults and ESLint depConstraints JSON blocks into the corresponding reference files to keep the SKILL.md overview lean.

Add an explicit validate->fix->retry loop note to the workflow step for boundary enforcement, since module-boundary fixes are iterative.

DimensionReasoningScore

Conciseness

The body assumes Nx knowledge (no 'what is a monorepo' padding) and stays lean: short sections like 'MUST tag projects consistently', 'nx affected -t lint,test,build --base=origin/main --parallel=3'. The inline targetDefaults and depConstraints JSON are actionable config rather than explanatory fluff, so it does not fall to the score-2 'mostly efficient but includes unnecessary explanation' anchor. Not score 2 because every token is directive config or commands, not concept explanation.

3 / 3

Actionability

Provides copy-paste-ready executable guidance — 'nx affected -t lint,test,build --base=origin/main --parallel=3', a complete nx.json targetDefaults block, and a full ESLint depConstraints JSON block — matching the score-3 'fully executable, copy-paste ready' anchor. Not score 2 because the code is complete and executable, not pseudocode with missing details.

3 / 3

Workflow Clarity

The 5-step workflow has an explicit validation checkpoint — step 4 'verify violations fail with nx lint --skip-nx-cache' — and step 5 pins the CI base/head strategy, matching the score-3 'clear sequence with explicit validation steps' anchor. Not score 2 because a concrete verification step is present rather than merely implied; the fallback table and anti-patterns further clarify error recovery.

3 / 3

Progressive Disclosure

The References table signals one-level-deep links (project-graph-configuration.md, caching-strategies.md, project-boundaries.md, affected-commands.md), but none of these files exist in ./references/ — the links are broken, so the disclosure promise is unfulfilled. It is not score 1 because the SKILL.md itself is well-organized into clear sections and the inline config blocks are reasonable overview content; it is not score 3 because the referenced bundle files are missing and the inline targetDefaults/depConstraints blocks could arguably live in those references.

2 / 3

Total

11

/

12

Passed

Description

100%

Based on the skill's description, can an agent find and select it at the right time? Clear, specific descriptions lead to better discovery.

A strong, specific description that names concrete Nx workspace capabilities and provides an explicit 'use when' trigger clause covering several natural phrasings. It is concise, uses third-person voice, and is clearly distinct from generic build/monorepo skills.

DimensionReasoningScore

Specificity

Quotes 'Configure and optimize Nx monorepo workspaces with deterministic project-graph structure, boundary enforcement, cache-aware pipelines, and affected-command CI workflows' — it lists multiple concrete capabilities rather than vague language, matching the score-3 anchor. It is not score 2 because it goes beyond naming a domain and a couple actions to enumerating several specific concrete capabilities.

3 / 3

Completeness

It explicitly answers both 'what' (configure/optimize Nx workspaces with the listed capabilities) and 'when' via an explicit 'use when' clause, matching the score-3 anchor. Not score 2 because the trigger guidance is explicit rather than implied.

3 / 3

Trigger Term Quality

The 'use when designing workspace architecture, tightening dependency rules, or reducing CI cost through Nx task orchestration' clause surfaces natural terms ('Nx monorepo', 'dependency rules', 'CI cost', 'task orchestration') users would actually say. Not score 2 because coverage spans several common phrasings rather than a single keyword.

3 / 3

Distinctiveness Conflict Risk

The niche is tightly scoped to Nx monorepo workspaces with distinct triggers (workspace architecture, dependency rules, CI cost reduction), unlikely to fire for unrelated skills. Not score 2 because it is not merely 'works with monorepo files' — it names Nx-specific operations. Voice is third person (imperative 'Configure and optimize'), so no voice penalty applies.

3 / 3

Total

12

/

12

Passed

Validation

87%

Checks the skill against the spec for correct structure and formatting. All validation checks must pass before discovery and implementation can be scored.

Validation14 / 16 Passed

Validation for skill structure

CriteriaDescriptionResult

relative_links

Relative link issues: 4 missing

Warning

referenced_paths_exist

Referenced path issues: 8 missing

Warning

Total

14

/

16

Passed

Reviewed

Table of Contents