CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

nx-generate

Generate code using Nx generators — scaffold projects, libraries, features, or run workspace-specific generators with proper discovery, validation, and verification. Use when user says "create a new library", "scaffold a component", "generate code with Nx", "run a generator", "nx generate", or any code scaffolding task in a monorepo. Prefers local workspace-plugin generators over external plugins. Do NOT use for running build/test/lint tasks (use nx-run-tasks) or workspace configuration (use nx-workspace).

Quality

92%

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.

The body delivers an excellent, executable workflow with strong validation checkpoints and error-recovery loops. Its weaknesses are moderate padding (concept re-explanation and duplication of the description) and a monolithic single-file structure with no overview-to-detail split.

Suggestions

Trim the intro paragraph ("Nx generators are powerful tools...") and the "This skill applies when" section — both restate what the frontmatter description already conveys — and tighten padded bullets like the "Pay attention to" list.

Merge the near-duplicate "Handling Generator Failures" / "Missing Options" sections under Error Handling with the inline failure guidance in Execution, removing repetition.

Consider moving detailed failure-cause enumeration and generator-source-discovery details into a references file, keeping SKILL.md as a lean overview of the four-phase workflow.

DimensionReasoningScore

Conciseness

The opening paragraph ("Nx generators are powerful tools... They ensure consistency across the codebase and reduce boilerplate work") explains concepts Claude already knows, and the "This skill applies when" section duplicates the frontmatter description. Fits "mostly efficient but includes some unnecessary explanation or could be tightened" rather than level 4, where over-explanation would be only minor.

3 / 5

Actionability

Concrete, executable commands throughout: `npx nx list @nx/react`, `npx nx g @nx/react:library --help`, `node -e "console.log(require.resolve('@nx/<plugin>/generators.json'))"`, `nx generate @nx/react:library --name=my-utils --no-interactive`, `nx format --fix`, `nx lint/test/build <new-project>`. Commands are copy-paste ready and cover the common cases.

5 / 5

Workflow Clarity

Clear multi-phase sequence (Discovery → Pre-Execution Checklist → Execution → Post-Generation) with explicit checkpoints: a "Reevaluate if the generator is right" gate, optional dry-run, a diagnose→fix→retry loop for generator failures, and post-generation verification with defined escalation criteria. Fully matches the top anchor.

5 / 5

Progressive Disclosure

No bundle files exist, and the single-file body has well-organized headers with appropriately placed content for a linear workflow. Falls short of anchor 5 (clear overview pointing to well-signaled one-level-deep references) because it is a ~225-line monolith where error-handling detail is inlined; fits "good structure; most content is appropriately placed" at level 4.

4 / 5

Total

17

/

20

Passed

Description

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

The description is exemplary: concrete actions, natural quoted trigger phrases, explicit what/when coverage, and clear boundary guidance against neighboring Nx skills. It uses third-person imperative voice with no fluff or over-claims.

DimensionReasoningScore

Specificity

"Generate code using Nx generators — scaffold projects, libraries, features, or run workspace-specific generators with proper discovery, validation, and verification" lists multiple concrete actions (scaffold project types, run workspace generators, discover, validate, verify) with comprehensive coverage of the skill's behavior.

5 / 5

Completeness

Explicitly answers both what ("Generate code using Nx generators — scaffold projects, libraries, features, or run workspace-specific generators") and when ("Use when user says..." with concrete trigger phrases), and adds negative boundary guidance ("Do NOT use for running build/test/lint tasks...").

5 / 5

Trigger Term Quality

Natural user phrasings are quoted directly — "create a new library", "scaffold a component", "generate code with Nx", "run a generator", "nx generate", "any code scaffolding task in a monorepo" — covering synonyms and the literal CLI invocation.

5 / 5

Distinctiveness Conflict Risk

Clear Nx code-generation niche with distinct triggers, plus explicit disambiguation from sibling skills ("use nx-run-tasks", "use nx-workspace") and a stated preference for local workspace-plugin generators.

5 / 5

Total

20

/

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

tech-leads-club/agent-skills

Path

packages/skills-catalog/skills/(tooling)/nx-generate/SKILL.md

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.