Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Generate Commander.js CLI project structure with TypeScript, commands, options, and best practices. Creates a complete scaffolded CLI application ready for development.
.claude/skills/a5c-ai-commander-js-scaffolder/SKILL.md| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-01 | ✗→✓ | ▲ Improved | 72% | 0% |
| case-02 | ✗→✓ | ▲ Improved | 82% | 0% |
| case-03 | ✗→✓ | ▲ Improved | -3% | 0% |
| case-04 | ✗→✓ | ▲ Improved | 43% | 0% |
| case-07 | ✗→✓ | ▲ Improved | 23% | 0% |
Generate a complete Commander.js CLI application with TypeScript, proper project structure, and best practices.
Invoke this skill when you need to:
| Parameter | Type | Required | Description | |-----------|------|----------|-------------| | projectName | string | Yes | Name of the CLI project (kebab-case) | | description | string | Yes | Short description of the CLI | | commands | array | No | List of commands to scaffold | | typescript | boolean | No | Use TypeScript (default: true) | | packageManager | string | No | npm, yarn, or pnpm (default: npm) |
json{ "commands": [ { "name": "init", "description": "Initialize a new project", "options": [ { "flags": "-t, --template <name>", "description": "Template to use" }, { "flags": "-f, --force", "description": "Overwrite existing files" } ], "arguments": [ { "name": "<directory>", "description": "Target directory" } ] } ] }
<projectName>/
├── package.json
├── tsconfig.json
├── .gitignore
├── README.md
├── src/
│ ├── index.ts # Entry point with shebang
│ ├── cli.ts # Main CLI setup
│ ├── commands/
│ │ ├── index.ts # Command exports
│ │ └── <command>.ts # Individual commands
│ ├── utils/
│ │ ├── logger.ts # Logging utilities
│ │ └── config.ts # Configuration helpers
│ └── types/
│ └── index.ts # Type definitions
├── bin/
│ └── <projectName> # Compiled binary entry
└── tests/
└── commands/
└── <command>.test.tstypescriptimport { Command } from 'commander'; import { version } from '../package.json'; const program = new Command(); program .name('<projectName>') .description('<description>') .version(version, '-v, --version', 'Display version number'); // Register commands program.addCommand(initCommand); program.addCommand(buildCommand); // Global options program .option('-d, --debug', 'Enable debug mode') .option('-q, --quiet', 'Suppress output'); // Error handling program.exitOverride(); try { program.parse(); } catch (err) { // Handle gracefully }
typescriptimport { Command } from 'commander'; export const <name>Command = new Command('<name>') .description('<description>') .argument('<required>', 'Required argument description') .argument('[optional]', 'Optional argument description') .option('-o, --option <value>', 'Option description', 'default') .action(async (required, optional, options) => { // Command implementation });
json{ "dependencies": { "commander": "^12.0.0" }, "devDependencies": { "@types/node": "^20.0.0", "typescript": "^5.0.0", "tsx": "^4.0.0", "vitest": "^1.0.0" } }
| Case | Status | Duration (ms) | Turns | Tokens | Tool calls | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Without | With | Δ | Without | With | Δ | Without | With | Δ | Without | With | Δ | ||
case-01 | fail→pass | 12,485 | 14,904 | +19% | 1 | 1 | 0% | 2,782 | 4,785 | +72% | 0 | 0 | — |
case-02 | fail→pass | 12,333 | 16,264 | +32% | 1 | 1 | 0% | 2,744 | 5,004 | +82% | 0 | 0 | — |
case-03 | fail→pass | 22,074 | 16,344 | -26% | 1 | 1 | 0% | 5,329 | 5,147 | -3% | 0 | 0 | — |
case-04 | fail→pass | 11,853 | 8,235 | -31% | 1 | 1 | 0% | 2,218 | 3,173 | +43% | 0 | 0 | — |
case-05 | fail→fail | 12,028 | 14,183 | +18% | 1 | 1 | 0% | 2,166 | 3,880 | +79% | 0 | 0 | — |
case-06 | fail→fail | 11,022 | 12,876 | +17% | 1 | 1 | 0% | 2,513 | 4,619 | +84% | 0 | 0 | — |
case-07 | fail→pass | 12,695 | 10,609 | -16% | 1 | 1 | 0% | 2,931 | 3,615 | +23% | 0 | 0 | — |
case-08 | pass→pass | 9,438 | 8,770 | -7% | 1 | 1 | 0% | 2,192 | 3,359 | +53% | 0 | 0 | — |
case-09 | fail→fail | 11,463 | 7,592 | -34% | 1 | 1 | 0% | 2,503 | 2,989 | +19% | 0 | 0 | — |
case-10 | fail→pass | 8,478 | 7,121 | -16% | 1 | 1 | 0% | 1,945 | 2,398 | +23% | 0 | 0 | — |
case-11 | fail→pass | 18,679 | 9,781 | -48% | 1 | 1 | 0% | 2,784 | 3,000 | +8% | 0 | 0 | — |
case-12 | fail→fail | 16,985 | 9,227 | -46% | 1 | 1 | 0% | 2,441 | 3,150 | +29% | 0 | 0 | — |
case-13 | fail→fail | 14,654 | 10,874 | -26% | 1 | 1 | 0% | 2,818 | 2,973 | +6% | 0 | 0 | — |
case-14 | fail→fail | 7,752 | 5,265 | -32% | 1 | 1 | 0% | 1,535 | 2,238 | +46% | 0 | 0 | — |
case-15 | fail→pass | 10,734 | 8,492 | -21% | 1 | 1 | 0% | 1,867 | 2,788 | +49% | 0 | 0 | — |
case-16 | fail→fail | 11,778 | 6,327 | -46% | 1 | 1 | 0% | 1,950 | 2,306 | +18% | 0 | 0 | — |
case-17 | fail→fail | 13,683 | 7,294 | -47% | 1 | 1 | 0% | 2,115 | 2,702 | +28% | 0 | 0 | — |
case-18 | fail→pass | 13,365 | 7,771 | -42% | 1 | 1 | 0% | 2,513 | 2,870 | +14% | 0 | 0 | — |
case-19 | fail→pass | 7,126 | 5,825 | -18% | 1 | 1 | 0% | 1,378 | 2,366 | +72% | 0 | 0 | — |
case-20 | fail→pass | 6,211 | 4,900 | -21% | 1 | 1 | 0% | 1,278 | 2,182 | +71% | 0 | 0 | — |
case-21 | fail→pass | 11,804 | 7,397 | -37% | 1 | 1 | 0% | 1,906 | 2,464 | +29% | 0 | 0 | — |
case-22 | fail→fail | 5,540 | 6,094 | +10% | 1 | 1 | 0% | 919 | 2,404 | +162% | 0 | 0 | — |
DecimalAI ran this skill against gemini-3.6-flash twice over the same eval suite — once with the skill loaded and once without — and compared the two runs case by case. 22 cases were attempted. The headline lift of +55 percentage points is the difference between those two pass rates over the 22 comparable cases.
Without the skill loaded, the model failed this case. With it loaded, the same prompt on the same model passed. This is one improved case from the latest verified run; every case, including any that regressed, is in the table above.
Other measured skills in the registry, with their headline benchmark lift.