Skip to content
cccskills
FreePublished on GitHub

skillit-cli

Extract CLI command structure from commander/yargs for AI agent skill generation Use when working with agent-skills, cli, commander, documentation, skill-generation, yargs.

The English summary is being prepared. Showing the original description.

See how to install

Files included (3)

  • SKILL.md1.8 KB
  • references/config.md468 B
  • references/functions.md2.3 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

@skillit/cli

Extract CLI command structure from commander/yargs for AI agent skill generation

When to Use

  • Working with agent-skills, cli, commander, documentation, skill-generation, yargs
  • You have a Commander program and want structured option/argument extraction with full fidelity
  • Runtime introspection is unavailable (no access to the program object)
  • The CLI uses a framework other than Commander (yargs, oclif, custom)
  • You have both CLI surfaces (from introspection/help) and typed config interfaces (from TypeDoc)
  • You want JSDoc @useWhen/@avoidWhen/@never tags to appear on CLI options in the generated skill
  • You have a Commander program and want to generate a skill from its command structure
  • You have raw --help output and no runtime access to the program object

Avoid when:

  • Your CLI uses yargs, oclif, or another framework — use parseHelpOutput as a fallback instead
  • Your CLI is built with a framework other than Commander — use parseHelpOutput directly instead
  • API surface: 4 functions

NEVER

  • NEVER pass both program and helpTexts — program takes precedence and helpTexts is silently ignored
  • NEVER forget to pass configSurfaces when you have typed option interfaces — JSDoc metadata won't be correlated

Configuration

CliExtractionOptions (4 options — see references/config.md)

Quick Reference

Commander: introspectCommander Fallback: parseHelpOutput Correlation: correlateFlags Extraction: extractCliSkill

Links

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

Generate structured AI agent skills (SKILL.md) and llms.txt from your TypeScript API documentation

The English summary is being prepared. Showing the original description.

pradeepmouli/skillit7Updated Oct 19, 2026

Bootstrap an AI-agent skill from a TypeScript codebase by running the deterministic skillit generate/audit loop and enriching repo source (JSDoc, README, config-type properties, MCP tool annotations, examples, package.json) until the skill reaches its grade target. Use for cli, typedoc, config, or mcp (build-mode) projects; never edit SKILL.md/references directly.

The English summary is being prepared. Showing the original description.

pradeepmouli/skillit7Updated Oct 19, 2026

CLI documentation conventions for generated skills. Use when improving Commander descriptions, help text, positional argument docs, and config-surface correlation.

The English summary is being prepared. Showing the original description.

pradeepmouli/skillit7Updated Oct 19, 2026

Shared types, SKILL.md renderer, and token budgeting for skillit plugins

The English summary is being prepared. Showing the original description.

pradeepmouli/skillit7Updated Oct 19, 2026

Generate AI agent skills from TypeScript documentation

The English summary is being prepared. Showing the original description.

pradeepmouli/skillit7Updated Oct 19, 2026

Documentation conventions for generating high-quality AI agent skills from TypeScript source. Use when preparing a library for skill generation, auditing JSDoc quality, fixing audit warnings, writing @useWhen/@avoidWhen/@never tags, or asking about documentation conventions for skills. Use this even if the user just says 'audit my docs', 'improve my JSDoc', or 'make my skills better'.

The English summary is being prepared. Showing the original description.

pradeepmouli/skillit7Updated Oct 19, 2026

See all skills by pradeepmouli

Report a problem with this skill