CtrlK
BlogDocsLog inGet started
Tessl Logo

pantheon-ai/nx-vite-integration

Configure and integrate Vite in Nx monorepos for applications and libraries. Covers vite.config.ts setup, framework plugins, TypeScript path resolution, asset copying, library mode builds, and Vitest integration. Use when: adding Vite to an Nx project, migrating from Webpack, configuring Vitest, fixing tsconfig path resolution, or setting up library mode. Triggers: "add vite", "nx vite", "vite setup", "vite.config.ts", "vitest config", "library mode", "nxViteTsPaths", "copy assets", "vite path aliases", "migrate webpack to vite" Examples: - user: "Add Vite to this Nx app" -> install plugin and configure vite.config.ts - user: "Vitest is failing in Nx" -> fix test config and cache/coverage paths - user: "Path aliases break in Vite" -> add nxViteTsPaths plugin - user: "Set up Vite for my Nx library" -> configure lib mode + dts + externals

68

Quality

85%

Does it follow best practices?

Impact

No eval scenarios have been run

SecuritybySnyk

Passed

No known issues

Overview
Quality
Evals
Security
Files

Quality

Content

67%

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

The content is highly actionable with executable commands and complete config snippets, and it is reasonably well-structured, but it loses points for verbosity in the Mindset section, a missing validate-and-retry feedback loop in the workflow, and a References section that points to files absent from the bundle.

Suggestions

Trim the Mindset section to remove restated integration concepts Claude already knows (e.g., the workspace-level vs build-level explanation) so every remaining token earns its place.

Add an explicit validation feedback loop in the Verify step (e.g., "If build or test fails, review the error, fix the config, and re-run until both pass") to satisfy the validation-checkpoint requirement.

Either create the referenced files under references/ (vite-config-patterns.md, nx-vite-plugin-reference.md, library-mode-guide.md, vitest-integration.md, troubleshooting.md) or remove the broken References section so navigation points to real, one-level-deep materials.

DimensionReasoningScore

Conciseness

The body is mostly efficient with concrete commands and configs, but explanatory prose like "Nx and Vite each have their own opinions about project structure" and the Mindset framing restates integration concepts Claude already knows. It is not 3 because some paragraphs could be trimmed without losing actionable value, and not 1 because it is far from padded tutorial-style verbosity.

2 / 3

Actionability

It provides copy-paste-ready, executable commands ("bunx nx add @nx/vite", "bun add -d vite") and complete vite.config.ts snippets for both app and library modes with concrete rollupOptions.external and test cache paths. It is not 2 because the code is real and complete rather than pseudocode, and not below 3 because key details (plugin imports, externals, DTS) are all specified.

3 / 3

Workflow Clarity

Steps 1–5 are clearly sequenced with Preconditions and Expected result per step, but there is no explicit validation feedback loop: Step 5 just runs build/test without a "if it fails, fix and re-run" checkpoint. The guidelines note missing validation/verification in fragile multi-step setups should cap workflow clarity at 2, so it is not 3; it is not 1 because the sequence and per-step expectations are explicit.

2 / 3

Progressive Disclosure

The body lists five References (references/*.md) with one-line descriptions, but the references directory does not exist in the bundle, so the referenced paths are broken. Per the guideline to score progressive_disclosure against the actual bundle structure, dangling references to missing files indicate poor organization; it is not 2 because the navigation points to non-existent files rather than a well-signaled real structure, and not below 1 since the inline sections are at least organized.

1 / 3

Total

8

/

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.

The description is strong: it states concrete capabilities, gives explicit 'Use when' guidance with a rich set of natural trigger terms, and stays tightly scoped to the Nx + Vite niche. It cleanly answers both what the skill does and when to use it.

DimensionReasoningScore

Specificity

The description lists multiple concrete actions: "vite.config.ts setup, framework plugins, TypeScript path resolution, asset copying, library mode builds, and Vitest integration" — matching the anchor for listing several specific concrete actions. It is not below level 3 because it goes beyond naming only a domain plus a few actions, and not below 2 for the same reason.

3 / 3

Completeness

It explicitly answers "what" (Configure and integrate Vite in Nx monorepos...) and "when" via a "Use when:" clause plus a Triggers block and example user utterances. This matches the level-3 anchor requiring both what AND when with explicit triggers; it is not below 2 because the 'Use when' guidance is explicit, not merely implied.

3 / 3

Trigger Term Quality

It provides a dedicated Triggers list of natural user phrasings ("add vite", "nx vite", "vite setup", "vite.config.ts", "vitest config", "library mode", "copy assets", "migrate webpack to vite") with good coverage of terms a user would say. It is not below 3 because coverage spans common variations rather than a single keyword, and not below 2 because the terms are natural rather than pure technical jargon.

3 / 3

Distinctiveness Conflict Risk

The niche is tightly scoped to "Vite in Nx monorepos" with Nx+Vite-specific triggers like "nxViteTsPaths" and "nx vite", making it unlikely to fire for unrelated skills. It is not below 2 because the domain qualifiers (Nx + Vite) sharply bound it, and not below 3 because no generic overlap-creating terms dominate.

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: 5 missing

Warning

referenced_paths_exist

Referenced path issues: 5 missing

Warning

Total

14

/

16

Passed

Reviewed

Table of Contents