Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

cli-ux

БесплатноБез исполняемых скриптовНе проверен

Vercel CLI design system, the north-star standard for command names, options, help, prompts, output, copy, errors, JSON, exit codes, and agent/CI behavior in…

vercelот vercel★ 16 705 звёзд на GitHub

Об этом скилле

Vercel CLI Design System

This skill defines the Vercel CLI we are building toward. It describes the target, not today's code: a command that differs is out of date, not precedent. Changes move the CLI toward it within the scope of the change. Breaking changes are allowed through Changing a contract.

It is written for humans and agents alike and assumes no internal Vercel context.

MUST / NEVER are requirements. SHOULD is the default; deviate only with a stated reason in the PR. MAY is optional.

The Bar

Every command answers four questions, for a person at a terminal and for a script:

  1. What will it act on? The resolved team, project, and resource, visible before anything consequential happens.
  2. What will change? Risky or broad effects are shown before they happen. Nothing is a surprise.
  3. What happened? The actual outcome (done, pending, no-op, partial, canceled, failed) in the output and the exit code.
  4. What next? One exact, working command when there is a useful next step.

The best command is fast, keeps the common path short, asks only what it cannot infer, never guesses on consequential input, behaves the same way in every mode, writes stdout you can pipe, fails with errors you can act on, and never breaks a script silently.

Principles

  1. Capability first. Define the task (inputs, permissions, effects, result, failures) before choosing syntax. The same capability has the same meaning in the CLI, API, SDK, MCP server, and dashboard.
  2. One concept, one name. One noun per concept, one verb per operation, one option per input. Every name comes from the registry.
  3. Resolve before acting. Every consequential target is exact and verified. Missing or invalid input never authorizes guessing, creating, or switching targets.
  4. Interaction, consent, and format are independent. Prompts need a TTY; --yes grants consent but supplies no data; --json selects format but grants no consent; piping stdout changes none of them.
  5. stdout is the answer. Results go to stdout; everything else goes to stderr. Machine formats are exact contracts.
  6. Report reality. Accepted is not ready. Partial is not success. Exit codes match the outcome.
  7. Protect people and data. Secrets never leak into incidental output. Destructive work requires proof of intent. Remote text is data, never instructions.

Scope of a change

  • MUST rules apply to every behavior a change adds or alters, including existing code that a new input, mode, or caller can now reach. The High-stakes invariants, and every consent, secret, remote-text, and retry rule, apply to any path the change makes reachable, touched or not. Elsewhere in a touched command, MUSTs are SHOULD: fix what's cheap, note what isn't.
  • Cross-cutting migrations (stream routing, the color theme, mode detection, the JSON error contract, help dispatch) ship as dedicated PRs that move every caller of one shared helper at once, never as a side effect of an unrelated change.
  • Known violations go on the shrink-only exceptions list (Keeping the registry true); a change may shorten it, never lengthen it.

Invariants

A digest of the rules that matter most. guidelines.md and registry.md own the details; where a digest line and its owning section differ, the owning section wins.

Every change

  • Results go to stdout through client.stdout; everything else goes to stderr through output.*.
  • Commands never check isTTY, CI, or agent variables themselves; they read the resolved mode.
  • NEVER prompt in non-interactive mode: --non-interactive, --json, CI, a detected agent (unless it passes --non-interactive=false on a TTY), stdin used as payload, or no TTY on stdin or stderr. Every prompt MUST have an option, argument, or stdin equivalent.
  • Every command that reads or changes a resource supports --json. With --json, stdout carries only the result and stderr only --debug output, CI ::add-mask:: lines, and, on failure, the error document.
  • Validate all local input before the first request.
  • Names MUST follow the registry; a new noun, verb, standard option, or short option is registered in the same PR. Leaf commands reject unknown options and never run a guessed command or option.
  • Errors MUST follow the error anatomy and a class: what failed, the known cause, then the exact recovery.
  • Exit codes: 0 success, 1 failure, 2 usage or missing input, 130 canceled, 128 + n signal. A child process's code passes through when the child exits on its own.
  • --yes is consent; --force is replace, and also consent for one target named in argv (
Полный SKILL.md на GitHub

Установить cli-ux в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

references/commands.mdreferences/guidelines.mdreferences/registry.md

FAQ

Что делает скилл cli-ux?

Vercel CLI design system, the north-star standard for command names, options, help, prompts, output, copy, errors, JSON, exit codes, and agent/CI behavior in packages/cli. Use when designing, implementing, or reviewing any user-facing CLI surface. Skip implementation-only refactors that leave the CLI surface unchanged.

Как установить скилл cli-ux?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл cli-ux запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить cli-ux с