CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

nx-generate

Generate code using nx generators. INVOKE IMMEDIATELY when user mentions scaffolding, setup, structure, creating apps/libs, or setting up project structure. Trigger words - scaffold, setup, create a ... app, create a ... lib, project structure, generate, add a new project. ALWAYS use this BEFORE calling nx_docs or exploring - this skill handles discovery internally.

Quality

76%

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

Fix and improve this skill with Tessl

tessl review fix ./.agents/skills/nx-generate/SKILL.md
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.

The body delivers a strong, well-sequenced nine-step workflow with concrete commands, dry-run verification, source-reading guidance, and explicit error-recovery escalation. Its weaknesses are modest: an opening paragraph explaining Nx generator concepts Claude already knows, some redundancy between Key Principles and the steps, and a templated final run command.

Suggestions

Delete or compress the opening paragraph ("Nx generators are powerful tools that scaffold projects... reduce boilerplate work") — Claude already knows what generators are for.

Merge the "Key Principles" section into the steps it duplicates (the --no-interactive, source-reading, pattern-matching, and verification principles each reappear as steps) to save tokens.

Consider moving the library-buildability comparison (table plus buildable/non-buildable flag details) into a reference file and keeping only the default rule and the user question inline.

DimensionReasoningScore

Conciseness

The body is mostly efficient with concrete commands, but it opens by explaining what Nx generators are ("Nx generators are powerful tools that scaffold projects... They ensure consistency across the codebase and reduce boilerplate work"), a concept Claude already knows, and the "Key Principles" section restates the later numbered steps. This matches 'mostly efficient but includes some unnecessary explanation or could be tightened' rather than anchor 4's minor instances.

3 / 5

Actionability

Concrete, executable commands appear throughout ("npx nx g @nx/react:library --name=my-lib --dry-run --no-interactive", "node -e \"console.log(require.resolve('@nx/<plugin>/generators.json'));\"", "nx run-many -t build,lint,test,typecheck") plus a copy-paste question for the user. Step 7's "nx generate <generator-name> <options> --no-interactive" is a template rather than an executable example, a minor gap that keeps it at anchor 4.

4 / 5

Workflow Clarity

Nine clearly sequenced steps include explicit validation checkpoints ("Always run with --dry-run first to verify files will be created in the correct location") and feedback loops ("After reading the source, reconsider: Is this the right generator? If not, go back to step 2"; "If verification fails with manageable issues... fix them. If issues are extensive... escalate to the user with details"). This matches anchor 5's explicit validation with error-recovery loops.

5 / 5

Progressive Disclosure

Sections are well-organized with a clear overview, principles, and ordered steps, with no nested or buried references (no bundle files exist, and the body is self-contained). Minor gaps — the library-buildability deep-dive (table, flag lists, user question) is inline content that could live in a reference file — keep it at anchor 4 rather than 5.

4 / 5

Total

16

/

20

Passed

Description

66%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 explicitly covers both what the skill does and when to invoke it, with a solid list of natural trigger words. Its main weaknesses are a thin capability statement (just 'generate code using nx generators'), broad generic triggers that risk firing in non-nx contexts, and token budget spent on imperative meta-directives instead of capability detail.

Suggestions

Expand the 'what' into concrete capabilities, e.g., 'Scaffold new apps and libraries, run workspace generators, and automate code migrations in Nx monorepos' instead of the single generic action 'Generate code using nx generators'.

Narrow the trigger terms to the Nx context (e.g., 'when the user wants to create an app or lib in an Nx workspace, mentions Nx generators, or asks to add a project to the monorepo') to reduce conflict with generic scaffolding skills.

Trim the meta-directives ('ALWAYS use this BEFORE calling nx_docs or exploring - this skill handles discovery internally') which pad the description without adding capability or trigger information.

DimensionReasoningScore

Specificity

"Generate code using nx generators" names the domain and a single concrete action, matching the 'names domain and 1-2 concrete actions, but not comprehensive' anchor. It never enumerates what generators actually do (scaffold apps/libs, run migrations, automate repetitive tasks), so it falls short of anchor 4's 'several specific actions'.

3 / 5

Completeness

Both 'what' ("Generate code using nx generators") and 'when' ("INVOKE IMMEDIATELY when user mentions scaffolding, setup, structure, creating apps/libs") are explicitly present with concrete trigger phrases, satisfying the use-when requirement. The 'what' side is a single minimal action and the sentence budget is spent on meta-directives ("ALWAYS use this BEFORE calling nx_docs or exploring") rather than capability coverage, so it does not reach anchor 5.

4 / 5

Trigger Term Quality

"Trigger words - scaffold, setup, create a ... app, create a ... lib, project structure, generate, add a new project" gives good natural keyword coverage users would actually say. Common synonyms like "monorepo", "Nx workspace", or "init" are missing, which keeps it below anchor 5's comprehensive synonym coverage.

4 / 5

Distinctiveness Conflict Risk

The nx-generator niche is distinct, but the trigger terms "scaffold", "setup", "structure", and "generate" are generic and would fire in non-nx contexts (any project scaffolding request), creating overlap with general scaffolding skills. This matches 'somewhat specific but could still overlap with similar skills' rather than anchor 4's minor overlap risk.

3 / 5

Total

14

/

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

mlbymolly/ruview-t4est

Path

.agents/skills/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.