cli-developer
仓库创建 2025年10月21日最近提交 2 个月前SkillHot 收录 20 天前
▸ 精选理由
适合开发 CLI 工具与统一命令体验的工程师
这个 Skill 做什么
协助设计与实现跨平台命令行工具、参数解析与补全脚本。
帮你设计并实现体验友好的命令行工具:从命令/子命令规划、参数解析到进度条、交互提示和自动补全(bash/zsh/fish)都能覆盖。适合在做跨平台终端应用、需要统一 CLI 体验或用 commander/click/typer/cobra 等框架时调用。重点是把用户体验放第一,给出一致的 flag 设计、错误处理和补全脚本的实战方案。
▸ 展开 SKILL.md 英文原文
Use when building CLI tools, implementing argument parsing, or adding interactive prompts. Invoke for parsing flags and subcommands, displaying progress bars and spinners, generating bash/zsh/fish completion scripts, CLI design, shell completions, and cross-platform terminal applications using commander, click, typer, or cobra.
1.1w
Stars
984
Forks
40
仓库内 Skill
+310
7 日增星
安装 / 使用
给你的 Agent 一句话(通用)
帮我安装这个 skill:https://raw.githubusercontent.com/Jeffallan/claude-skills/main/skills/cli-developer/SKILL.md或 curl 直取 SKILL.md
curl -fsSL "https://raw.githubusercontent.com/Jeffallan/claude-skills/main/skills/cli-developer/SKILL.md"SKILL.MD 节选查看完整文件 ↗
# CLI Developer ## Core Workflow 1. **Analyze UX** — Identify user workflows, command hierarchy, common tasks. Validate by listing all commands and their expected `--help` output before writing code. 2. **Design commands** — Plan subcommands, flags, arguments, configuration. Confirm flag naming is consistent and no existing signatures are broken. 3. **Implement** — Build with the appropriate CLI framework for the language (see Reference Guide below). After wiring up commands, run `<cli> --help` to verify help text renders correctly and `<cli> --version` to confirm version output. 4. **Polish** — Add completions, help text, error messages, progress indicators. Verify TTY detection for color
via SKILL·HOT · 数据来自 GitHub 公开信息 · 原文版权归作者所有