Software Development

Nodejs CLI Best Practices

Guide and audit Node.js CLI application development against 41 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, help output, shell completion/autocomplete, 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.

Publisher / source
lirantal/nodejs-cli-apps-best-practices (found on GitHub top repositories)
Upstream record
lirantal/nodejs-cli-apps-best-practices
Version
Version 1
Published
Publication review
Approved for publication
Content fingerprint
3921087ee614cc48258aa5e34e99cfc9ed38b2858762ae0a7521d63b2d7a7326