CtrlK
BlogDocsLog inGet started
Tessl Logo

link-workspace-packages

Link workspace packages in monorepos (npm, yarn, pnpm, bun). USE WHEN: (1) you just created or generated new packages and need to wire up their dependencies, (2) user imports from a sibling package and needs to add it as a dependency, (3) you get resolution errors for workspace packages (@org/*) like "cannot find module", "failed to resolve import", "TS2307", or "cannot resolve". DO NOT patch around with tsconfig paths or manual package.json edits - use the package manager's workspace commands to fix actual linking.

72

Quality

90%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide
SecuritybySnyk

Passed

No findings from the security scan

SKILL.md
Quality
Evals
Security

Quality

Content

82%Weight 40%Scale 1-5

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

A strong, highly actionable body: executable commands for every manager, expected results, and hoisting caveats Claude would not reliably know. It loses points for duplicated examples, a missing verification-failure recovery path, and slight redundancy.

Suggestions

Remove Examples 1 and 2 (they repeat the pnpm and npm commands verbatim from the per-manager sections) and keep only the debug example, or replace them with scenarios not already covered such as yarn v1 or private registry workspaces.

Add a short failure-recovery step after the workflow's verification step, e.g., 'If the symlink is missing, run the manager's install command from the repo root and re-check; if still missing, confirm the workspace globs in the root package.json cover the provider package.'

State how to declare workspaces in the root package.json (the 'workspaces'/'workspaces:*' globs), since the Notes section assumes them and a missing root declaration is a common cause of failed linking.

DimensionReasoningScore

Conciseness

The per-manager sections are lean and command-first with expected package.json results, but the Examples section (Examples 1 and 2) re-pastes commands already shown verbatim in the pnpm and npm sections, so those tokens do not earn their place.

4 / 5

Actionability

Fully executable copy-paste commands for all four package managers, a lockfile-based detection table, expected dependency entries after each command, and a concrete debug example covering the common failure case.

5 / 5

Workflow Clarity

The workflow lists a clear 4-step sequence that includes verification ('Verify symlinks created in consumer's node_modules/') and the debug example acts as a recovery loop, but there is no guidance for what to do when verification fails (e.g., symlink missing after install).

4 / 5

Progressive Disclosure

Well-sectioned, easily navigable single file with no bundle files to reference; content is mostly appropriately placed, though at ~120 lines with duplicated example commands it could be tightened rather than split.

4 / 5

Total

17

/

20

Passed

Description

95%Weight 40%Scale 1-5

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

An excellent description: concrete capability statement, explicit multi-scenario triggers with exact error strings, and clear boundary guidance against wrong-tool patching. The only flaw is second-person voice in the trigger clause, which costs one point on specificity.

DimensionReasoningScore

Specificity

Names the domain and multiple concrete actions ('Link workspace packages in monorepos (npm, yarn, pnpm, bun)', 'use the package manager's workspace commands to fix actual linking') with comprehensive coverage, but the trigger clause uses second person ('you just created or generated new packages and need to wire up'), which per the judging guidelines reduces specificity by 1.

4 / 5

Completeness

Explicitly answers both 'what' (link workspace packages in monorepos across npm, yarn, pnpm, bun) and 'when' with three concrete numbered trigger scenarios plus a 'DO NOT patch around with tsconfig paths' boundary guard.

5 / 5

Trigger Term Quality

Comprehensive natural terms including exact error strings users hit ('cannot find module', 'failed to resolve import', 'TS2307', 'cannot resolve') plus '@org/*', 'monorepos', 'workspace packages', and all four package manager names.

5 / 5

Distinctiveness Conflict Risk

Clear niche (monorepo workspace linking) with distinct, highly specific trigger phrases (module resolution error codes) and explicit boundaries against adjacent approaches (tsconfig paths, manual package.json edits).

5 / 5

Total

19

/

20

Passed

Validation

100%

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

Validation — 16 / 16 Passed

Validation for skill structure

No warnings or errors.

Repository
nrwl/nx
Reviewed

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.