·building-python-clis
</>

building-python-clis

wdm0006/python-skills

使用 Click 或 Typer 為 Python 庫建立命令列介面。包括命令組、參數處理、進度條、shell 完成以及使用 CliRunner 進行 CLI 測試。在為庫新增 CLI 功能或建置獨立的命令列工具時使用。

12安裝·0熱度·@wdm0006

安裝

$npx skills add https://github.com/wdm0006/python-skills --skill building-python-clis

SKILL.md

Click (Recommended): Mature, extensive features Typer: Modern, type-hint focused argparse: Zero dependencies, standard library

This skill is based on the Guide to Developing High-Quality Python Libraries by Will McGinnis. See the full guide for deeper coverage of CLI patterns and library distribution.

使用 Click 或 Typer 為 Python 庫建立命令列介面。包括命令組、參數處理、進度條、shell 完成以及使用 CliRunner 進行 CLI 測試。在為庫新增 CLI 功能或建置獨立的命令列工具時使用。 來源:wdm0006/python-skills。

開啟你的終端機或命令列工具(如 Terminal、iTerm、Windows Terminal 等) 複製並執行以下指令:npx skills add https://github.com/wdm0006/python-skills --skill building-python-clis 安裝完成後,技能將自動設定到你的 AI 程式設計環境中,可以在 Claude Code 或 Cursor 中使用

查看原文

可引用資訊

為搜尋與 AI 引用準備的穩定欄位與指令。

安裝指令
npx skills add https://github.com/wdm0006/python-skills --skill building-python-clis
分類
</>開發工具
認證
收錄時間
2026-02-16
更新時間
2026-02-18

快速解答

什麼是 building-python-clis?

使用 Click 或 Typer 為 Python 庫建立命令列介面。包括命令組、參數處理、進度條、shell 完成以及使用 CliRunner 進行 CLI 測試。在為庫新增 CLI 功能或建置獨立的命令列工具時使用。 來源:wdm0006/python-skills。

如何安裝 building-python-clis?

開啟你的終端機或命令列工具(如 Terminal、iTerm、Windows Terminal 等) 複製並執行以下指令:npx skills add https://github.com/wdm0006/python-skills --skill building-python-clis 安裝完成後,技能將自動設定到你的 AI 程式設計環境中,可以在 Claude Code 或 Cursor 中使用

這個 Skill 的原始碼在哪?

https://github.com/wdm0006/python-skills

詳情

分類
</>開發工具
來源
skills.sh
收錄時間
2026-02-16