CtrlK
BlogDocsLog inGet started
Tessl Logo

nx-generate

Generate code using nx generators. USE WHEN scaffolding code or transforming existing code - for example creating libraries or applications, or anything else that is boilerplate code or automates repetitive tasks. ALWAYS use this first when generating code with Nx instead of calling MCP tools or running nx generate immediately.

68

Quality

85%

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

81%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 well-structured, highly actionable operational guide with an explicit multi-phase workflow, validation checkpoints, and copy-paste-ready commands. Its main weaknesses are redundancy — failure handling and key principles each appear twice — and a monolithic single-file layout with no offloading of detail to reference files.

Suggestions

Merge the 'Error Handling' section into 'Handling Generator Failures' (or replace it with a pointer) to remove the duplicated checklist.

Trim the 'Key Principles' recap to only principles not already stated inline, or cut the section entirely to save tokens.

Consider moving the deep detail (generator source-locating techniques, common failure reasons) into a references/ file and keeping SKILL.md as a lean overview.

DimensionReasoningScore

Conciseness

The body is mostly imperative and avoids explaining concepts Claude already knows, but it has redundant material: the 'Error Handling' section repeats the earlier 'Handling Generator Failures' checklist almost verbatim, and 'Key Principles' restates rules already stated inline (local-first, --no-interactive, verify changes). This is more than the 'minor instances' of the 4 anchor, but well short of the heavy padding of a 1 or 2.

3 / 5

Actionability

Commands are concrete and executable throughout: 'npx nx list @nx/react', 'npx nx g @nx/react:library --help', the node require.resolve trick for locating generators.json, 'nx generate @nx/react:library --name=my-utils --no-interactive', 'nx format --fix', and 'nx lint/test/build <new-project>'. Specific examples cover the common cases, matching the top anchor.

5 / 5

Workflow Clarity

A clear end-to-end sequence (discover generators → match to request → schema + source inspection → reevaluate choice → repo context → validate options → dry-run → execute → verify → handle failures) with explicit validation checkpoints and feedback loops: the '2.5 Reevaluate' step, the diagnose→fix→retry loop for generator failures, and the escalate-to-user protocol when verification failures are extensive.

5 / 5

Progressive Disclosure

No bundle files exist, so all content is inline in a single well-sectioned file; for a process skill of this size that is defensible and navigation is easy via clear headers. It falls short of a 5 because it is a ~225-line monolith with duplicated failure-handling sections that would benefit from consolidation or splitting, which is a minor organization gap rather than the misplaced-content problems of a 2 or 3.

4 / 5

Total

17

/

20

Passed

Description

83%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.

A strong description that clearly states what the skill does and when to use it, with explicit trigger phrases and a precedence rule against MCP tools. It is slightly held back by generic phrasing ('generate code', 'automating repetitive tasks') and a few missing natural trigger synonyms like 'migrate' or 'scaffold'.

Suggestions

Tighten capability wording toward concrete nx operations, e.g., 'Scaffold libraries, applications, and custom generators; run code migrations' instead of generic 'generate code'.

Add missing natural trigger synonyms such as 'migrate', 'scaffold', or 'move/convert code' that users commonly phrase nx generator requests with.

Narrow the very broad 'anything else that is boilerplate code' clause to reduce overlap with generic scaffolding skills.

DimensionReasoningScore

Specificity

The description lists several concrete actions — 'scaffolding code or transforming existing code', 'creating libraries or applications', 'automating repetitive tasks' — giving good capability coverage. It stops short of the 5 anchor because phrases like 'generate code' and 'automating repetitive tasks' are generic compared to the crisp action list in the top anchor, but it clearly exceeds anchor 3's '1-2 concrete actions'.

4 / 5

Completeness

It explicitly answers both questions: the what ('Generate code using nx generators') and a concrete when clause ('USE WHEN scaffolding code or transforming existing code - for example creating libraries or applications...') plus a precedence rule ('ALWAYS use this first when generating code with Nx'). This matches the top anchor's pattern of what + explicit trigger phrases, and is well above anchor 4's 'when could be more explicit'.

5 / 5

Trigger Term Quality

Natural trigger phrases users would say are present: 'scaffolding code', 'creating libraries or applications', 'boilerplate code', 'automating repetitive tasks', 'generating code with Nx'. A few common variations are missing (e.g., 'migrate', 'scaffold a new app', 'update/move code'), so it fits the 'good coverage, a few natural terms missing' anchor rather than the comprehensive 5.

4 / 5

Distinctiveness Conflict Risk

The nx/monorepo generator niche is fairly distinct ('nx generators', 'generating code with Nx'), but 'anything else that is boilerplate code or automates repetitive tasks' is broad enough to overlap with generic scaffolding skills. Mostly distinct with minor overlap risk — the 4 anchor, not the 5's 'clear niche with minimal conflict risk'.

4 / 5

Total

17

/

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.