- name
SKILL.md
技能檔案保留在發布者的儲存庫中。
在終端機中貼上複製的指令。它會將這個 SKILL.md 安裝到對應的代理中。
npx skills add notque/vexjoy-agent --skill cli-design -a cursor -y在終端機中貼上複製的指令。它會將這個 SKILL.md 安裝到對應的代理中。
npx skills add notque/vexjoy-agent --skill cli-design -a claude-code -y在終端機中貼上複製的指令。它會將這個 SKILL.md 安裝到對應的代理中。
npx skills add notque/vexjoy-agent --skill cli-design -a codex -y在終端機中貼上複製的指令。它會將這個 SKILL.md 安裝到對應的代理中。
npx skills add notque/vexjoy-agent --skill cli-design -a grok -y在 Grok Bot 聊天中傳送複製的訊息。Bot 會從 GitHub 取得這個 SKILL.md,並加入你所有 Bot 共用的技能中。
Install this skill: https://github.com/notque/vexjoy-agent/tree/HEAD/skills/engineering/cli-design來自發布者
Design a command-line tool's interface before implementation: human-first, script-friendly, Linux-only. Output is a compact spec the user or an agent can implement directly. Rubric source: clig.dev (rebuilt as references/clig-checklist.md).
Lock the interface with the minimum questions. Proceed with the conventions in Phase 2 when the user is unsure.
ps and shell history.--json, --plain, exit codes.--no-input needed? confirmation for destructive ops?Gate: name, purpose, and I/O contract are known. Proceed only when gate passes.
Load references/clig-checklist.md and apply it as the default rubric. For each section, pick the convention and record it in the spec. Diverge from a convention only deliberately, and document the divergence in the spec — interfaces are contracts, and surprising contracts break scripts.
Produce the spec from this skeleton. Drop a section only when it genuinely has no content; fill every other section.
--help will print it, global flags and subcommand slot included0, failure 1, bad usage 2; mint extra codes only for cases scripts must distinguish--dry-run, confirmation rules, --force, --no-inputGate: every flag used in the examples appears in the flags table, and every failure mode shown maps to an exit code.
Cause: user says "design and build." Solution: deliver the spec first, get confirmation, then implement against it.
Cause: subcommand sprawl or speculative flags. Solution: cut flags that lack a named user need; defaults should serve most users without aliases.
Design a CLI interface: args, flags, help, output, errors, exit codes, config.
---name: cli-designdescription: Design a CLI interface: args, flags, help, output, errors, exit codes, config.---# skills/engineering/cli-design/SKILL.md常見問題
從發布者下載 skills/engineering/cli-design/SKILL.md,或複製路徑後開啟儲存庫。PlugMCP 只收錄這項技能,不代管檔案。
發布者將它存放在 https://github.com/notque/vexjoy-agent。
Claude、Cursor、Codex 和 Grok Build 可以讀取你從發布者儲存庫加入的 SKILL.md。在聊天中傳送技能的 GitHub 資料夾連結,Grok Bot 就會安裝它。