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.

67

Quality

80%

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

73%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, actionable skill body with a clear multi-step workflow and strong validation/feedback loops. The main weakness is redundancy between the failure-handling sections and the closing 'Key Principles', which inflates token use without adding information.

Suggestions

Merge the 'Error Handling' section into 'Handling Generator Failures' (or remove one) — they cover the same diagnosis/cause/fix/retry material.

Cut the 'Key Principles' section or reduce it to only points not already stated inline, since local-generators-first, read-the-source, --no-interactive, and verify-changes are all established earlier.

Tighten the opening paragraph and 'This skill applies when...' list, which repeat the frontmatter description.

DimensionReasoningScore

Conciseness

Mostly efficient and operational, but includes redundant material: the 'Error Handling' section duplicates 'Handling Generator Failures', and 'Key Principles' restates earlier guidance, so it could be tightened.

3 / 5

Actionability

Provides concrete, executable commands throughout ('npx nx list @nx/react', 'nx generate @nx/react:library --name=my-utils --no-interactive', 'nx format --fix'), with minor gaps where sections like 'Understand Repo Context' give direction without commands.

4 / 5

Workflow Clarity

Clear end-to-end sequence (Discovery -> Pre-Execution Checklist -> Execution -> Post-Generation) with a numbered checklist, explicit validation (dry-run, lint/test/build), and feedback loops (diagnose -> fix -> retry; fix -> re-run verification).

5 / 5

Progressive Disclosure

Well-organized single file with clear section headers and easy navigation; no bundle files exist and the cohesive workflow needs none, though it is longer than the simple-skill threshold where sections alone would warrant a 5.

4 / 5

Total

16

/

20

Passed

Description

87%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, specific description that clearly states both capability and trigger conditions, scoped tightly to Nx code generation. The only weakness is a mildly generic 'anything else that is boilerplate code or automates repetitive tasks' clause that could be trimmed.

Suggestions

Drop or sharpen the 'anything else that is boilerplate code or automates repetitive tasks' catch-all, which reads as vague padding beside the concrete actions already listed.

Consider adding common synonyms users might say (e.g. 'scaffold', 'create a new project') to broaden natural trigger coverage.

DimensionReasoningScore

Specificity

Names several concrete actions ('Generate code using nx generators', 'scaffolding code or transforming existing code', 'creating libraries or applications', 'boilerplate code or automates repetitive tasks'), with only minor generic padding in the 'anything else' catch-all clause.

4 / 5

Completeness

Clearly answers both what ('Generate code using nx generators...') and when ('USE WHEN scaffolding code or transforming existing code... ALWAYS use this first when generating code with Nx') with concrete trigger phrases.

5 / 5

Trigger Term Quality

Good coverage of natural phrases users say ('scaffolding code', 'creating libraries or applications', 'generating code', 'transforming existing code', 'boilerplate code', 'repetitive tasks'), missing only a few synonyms.

4 / 5

Distinctiveness Conflict Risk

Tightly scoped to Nx generators with explicit 'generating code with Nx' and 'instead of calling MCP tools or running nx generate' triggers, giving it a clear niche with minimal conflict risk.

5 / 5

Total

18

/

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.

Validation16 / 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.