Skip to content
cccskills
FreePublished on GitHub

skillit-cli-docs

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.

See how to install

Files included (1)

  • SKILL.md1.9 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

CLI Documentation Conventions

Use this skill when documenting command-line programs for @skillit/cli.

Focus Areas

  • .description() text on commands and subcommands
  • .option() and --help descriptions for every flag
  • .argument() descriptions for positional inputs
  • .usage() strings and example help text
  • Environment-variable documentation and config-surface JSDoc correlation

Routing Tags via Option Interfaces

For routing tags (@useWhen, @avoidWhen, @never), add them as JSDoc on a <PascalCommandName>Options interface in a TypeScript source file. The interface needs no properties — only the JSDoc block matters:

/**
 * @useWhen - Server advertises callHierarchyProvider capability
 * @avoidWhen - Server doesn't support call hierarchy; lsproxy will error
 * @never - NEVER invoke without verifying server supports this capability. Fix: check --help output or use `lsproxy call` to probe the server first
 */
interface CallHierarchyOptions {}

CliRefineSource discovers these interfaces via the source glob (**/*.ts) and correlates their tags onto the corresponding command in the generated skill. Create one per command that needs routing guidance; the filename is arbitrary (e.g. src/command-options.ts). After adding the interface, re-run skillit gen to regenerate — resolveTargetLocation will now resolve and skillit refine can write tags into the interface directly.

Fix Patterns

  • Describe command intent in one sentence, not just the verb
  • Explain what each option changes in behavior
  • Document positional arguments with expected format or values
  • Mention env vars explicitly when an option supports them

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 13, 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 13, 2026

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.

pradeepmouli/skillit7Updated Oct 13, 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 13, 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.

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

pradeepmouli/skillit7Updated Oct 13, 2026

Generate AI agent skills from TypeScript documentation

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

pradeepmouli/skillit7Updated Oct 13, 2026

See all skills by pradeepmouli

Report a problem with this skill