本文へ移動
cccskills
無料GitHub で公開

skillit-cli-docs

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

インストール方法を見る

含まれるファイル(1)

  • SKILL.md1.9 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

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

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

同じリポジトリのスキル

概要と使いどころ

skillit

無料

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

日本語の概要は準備中です。原文の説明を表示しています。

pradeepmouli/skillit72026年10月6日 更新

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.

日本語の概要は準備中です。原文の説明を表示しています。

pradeepmouli/skillit72026年10月6日 更新

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

日本語の概要は準備中です。原文の説明を表示しています。

pradeepmouli/skillit72026年10月6日 更新

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

日本語の概要は準備中です。原文の説明を表示しています。

pradeepmouli/skillit72026年10月6日 更新

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'.

日本語の概要は準備中です。原文の説明を表示しています。

pradeepmouli/skillit72026年10月6日 更新

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.

日本語の概要は準備中です。原文の説明を表示しています。

pradeepmouli/skillit72026年10月6日 更新

pradeepmouli のスキルをすべて見る

このスキルの問題を報告する