askill
inquirerer-anti-patterns

inquirerer-anti-patternsSafety --Repository

Anti-patterns for CLI development. Do NOT use commander, inquirer.js, yargs, or other CLI libraries in Constructive projects. Use inquirerer instead. Triggers on "commander", "inquirer.js", "yargs", "CLI library", or when reviewing CLI code.

0 stars
1.2k downloads
Updated 2/3/2026

Package Files

Loading files...
SKILL.md

CLI Anti-Patterns: Avoid These Libraries

This skill defines what NOT to do when building CLI tools in Constructive projects. All CLI development should use inquirerer instead of other CLI libraries.

When to Apply

Apply this skill when:

  • Reviewing code that imports commander, inquirer.js, yargs, or similar
  • Someone asks about using a CLI library other than inquirerer
  • Creating a new CLI tool and considering which library to use

Forbidden Libraries

Do NOT use these libraries in Constructive projects:

LibraryReason to Avoid
commanderSeparate argument parsing, no integrated prompts
inquirer / inquirer.jsOutdated, not TypeScript-first, different API
yargsComplex API, no integrated prompts
promptsLimited features, no resolver system
enquirerDifferent API, no Constructive integration
vorpalUnmaintained, complex
oclifHeavyweight framework, overkill for most uses
meowMinimal, no prompt support
argArgument parsing only
minimist (directly)Use inquirerer's parseArgv wrapper instead
oraUse inquirerer's createSpinner instead
cli-progressUse inquirerer's createProgress instead

Why inquirerer is the Standard

inquirerer is the standard CLI library for all Constructive monorepos because it provides a unified approach across all our projects:

  1. Consistency: All Constructive CLIs have the same look, feel, and behavior
  2. TypeScript-first: Full type safety for questions and answers
  3. Integrated: Single library for argument parsing, prompts, and UI components
  4. Dynamic defaults: Built-in resolvers for git config, npm, dates, workspace info
  5. CI/CD ready: Non-interactive mode works without code changes
  6. Maintained: Actively developed as part of Constructive tooling

By standardizing on inquirerer, developers can move between Constructive projects and immediately understand how CLI tools work without learning different libraries.

References

Install

Download ZIP
Requires askill CLI v1.0+

AI Quality Score

AI review pending.

Metadata

Licenseunknown
Version-
Updated2/3/2026
Publisherconstructive-io

Tags

apici-cdgithubprompting