跳到正文
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(原文)

安装前可以查看交给 AI 代理的指令内容。

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

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

skillit

免费

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

中文简介正在准备中。当前显示原文说明。

pradeepmouli/skillit72026年10月19日 更新

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月19日 更新

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月19日 更新

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

中文简介正在准备中。当前显示原文说明。

pradeepmouli/skillit72026年10月19日 更新

Generate AI agent skills from TypeScript documentation

中文简介正在准备中。当前显示原文说明。

pradeepmouli/skillit72026年10月19日 更新

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月19日 更新

查看 pradeepmouli 的全部技能

报告此技能的问题