CtrlK
BlogDocsLog inGet started
Tessl Logo

lirantal/nodejs-cli-best-practices

Guide and audit Node.js CLI application development against 37 established best practices covering UX, distribution, interoperability, accessibility, testing, error handling, development setup, analytics, versioning, and security. Use this skill when building, extending, reviewing, or scaffolding a Node.js CLI — including when someone says "audit my CLI", "review my CLI code", "I'm building a CLI tool", or asks about adding argument parsing, error handling, color output, STDIN, --json flags, exit codes, --version flags, or npm publishing. Applies even when best practices are not explicitly mentioned. Also trigger for "how should I implement X in my CLI" or "what's the right way to do Y in a Node.js CLI". Do NOT use for Node.js backend or API development with no CLI entry point.

72

Quality

90%

Does it follow best practices?

Impact

No eval scenarios have been run

SecuritybySnyk

Passed

No known issues

Overview
Quality
Evals
Security
Files

Quality

Content

77%

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

This is a well-structured skill that clearly defines two operational modes with concrete output formats, actionable templates, and good workflow sequencing. Its main strengths are the unambiguous mode determination, structured audit report format, and phased development guidance. Minor weaknesses include some redundancy between sections (examples restating mode descriptions) and the inability to verify the critical `references/best-practices.md` dependency since no bundle files were provided.

Suggestions

Trim the Examples section — the three examples mostly restate the mode descriptions above them; consider reducing to just one non-obvious example or removing the section entirely.

Ensure the `references/best-practices.md` file is included in the bundle, as the skill explicitly depends on it and instructs Claude to read it before any output.

DimensionReasoningScore

Conciseness

The skill is mostly efficient and well-structured, but includes some redundancy — the examples section largely restates what the mode descriptions already cover, and the quick reference table duplicates information that lives in the referenced best-practices.md. The common mistakes table adds value but could be tighter.

2 / 3

Actionability

The skill provides concrete, structured output formats for both audit and development guide modes, with specific section references (§X.Y), exact report templates with markdown tables, code fix examples, and clear checklists. The development guidance format includes copy-pasteable templates and package installation commands.

3 / 3

Workflow Clarity

Both modes have clearly sequenced workflows: audit mode follows a systematic compare → report → prioritize flow with explicit output format and priority grouping; development guide mode has a clear phased approach (setup → args → I/O → errors → UX → versioning → security). The mode determination table provides unambiguous routing. Validation is embedded via the priority recommendations requiring concrete fixes.

3 / 3

Progressive Disclosure

The skill correctly references `references/best-practices.md` as the source of truth and directs Claude to read it first, which is good one-level-deep referencing. However, no bundle files were provided, so we cannot verify the reference exists. The quick reference table serves as a navigation aid but the SKILL.md itself is fairly long (~150 lines of substantive content) and some of the detailed format templates could potentially be split into separate reference files.

2 / 3

Total

10

/

12

Passed

Description

100%

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

This is an excellent skill description that hits all the marks. It provides specific capabilities, comprehensive natural trigger terms, explicit 'Use when' and 'Do NOT use' clauses, and a clearly distinct niche. The description is thorough without being padded, and uses proper third-person voice throughout.

DimensionReasoningScore

Specificity

Lists multiple specific concrete actions ('guide and audit', 'building, extending, reviewing, scaffolding') and enumerates specific domains covered (UX, distribution, interoperability, accessibility, testing, error handling, etc.). Also mentions concrete features like argument parsing, color output, STDIN, --json flags, exit codes, --version flags, npm publishing.

3 / 3

Completeness

Clearly answers both 'what' (guide and audit Node.js CLI development against 37 best practices across 10 categories) and 'when' (explicit 'Use this skill when...' clause with detailed trigger scenarios, plus a 'Do NOT use' exclusion clause for additional clarity).

3 / 3

Trigger Term Quality

Excellent coverage of natural trigger terms users would say: 'audit my CLI', 'review my CLI code', 'I'm building a CLI tool', 'argument parsing', 'error handling', 'color output', 'STDIN', '--json flags', 'exit codes', '--version flags', 'npm publishing', 'how should I implement X in my CLI'. These are highly natural phrases a user would actually type.

3 / 3

Distinctiveness Conflict Risk

Very clearly scoped to Node.js CLI applications specifically, with an explicit exclusion ('Do NOT use for Node.js backend or API development with no CLI entry point') that prevents overlap with general Node.js development skills. The niche of CLI best practices auditing is distinct.

3 / 3

Total

12

/

12

Passed

Validation

90%

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

Validation10 / 11 Passed

Validation for skill structure

CriteriaDescriptionResult

metadata_field

'metadata' should map string keys to string values

Warning

Total

10

/

11

Passed

Reviewed

Table of Contents