Agent skill
cli-ascii-logo
“Generate CLI ASCII art logos and banners with box drawing borders, block characters, and ANSI 24-bit gradients, plus runnable scripts and integration code. Use when the user needs a terminal logo, colored ASCII banner, figlet-style title, or CLI startup welcome page.”
Install this agent skill to your Project
npx add-skill https://github.com/partme-ai/full-stack-skills/tree/main/skills/ascii-skills/cli-ascii-logo
SKILL.md
CLI ASCII Logo
目标
- 生成可直接在终端输出的 ASCII 艺术 Logo(含边框与渐变色)
- 输出“可复制粘贴”的结果(纯文本/带 ANSI 颜色),并提供在 CLI 启动时展示的集成方式
- 提供可运行的生成脚本:
scripts/generate_logo.py
工作流
-
明确输入
- 名称:如
auto-cli - 副标题:如
Command Line Interface - 终端宽度:默认 80(可根据项目/CI 输出调整)
- 风格:粗块(
█)/ 细线条(#/*)/ 无颜色 - 边框:
╔═╗║ ║╚═╝或纯文本 - 配色:青 → 紫(Spec Kit 风格)、青 → 蓝、橙 → 粉等
- 名称:如
-
生成结果
- 直接运行脚本生成(最可靠):见下方“快速开始”
- 或按需在目标语言里生成(Node/Python/Go),核心是:
- 先得到“等宽字符画”(多行字符串)
- 再做边框拼接
- 再做逐字符渐变(输出 ANSI TrueColor 序列)
-
集成到 CLI
- 运行入口(
main/bin/__main__)启动时输出一次 - 支持禁用颜色:
- 尊重
NO_COLOR=1 - 提供
--no-color参数 - CI 环境默认关闭(可按需打开)
- 尊重
- 运行入口(
快速开始(脚本)
在支持 TrueColor 的终端(macOS Terminal / iTerm2 / VS Code 终端)效果最佳。
python3 scripts/generate_logo.py --text auto-cli --subtitle "Command Line Interface"
常用参数:
python3 scripts/generate_logo.py \
--text auto-cli \
--subtitle "Command Line Interface" \
--width 46 \
--palette spec-kit \
--frame box
交付格式
- 纯文本(无颜色):适合 README / 日志 / 不支持 ANSI 的环境
- ANSI 颜色文本:适合 CLI 启动页(建议提供
--no-color切换) - 建议同时提供:
banner.txt(无颜色)banner.ansi.txt(带颜色)renderBanner()(在你的 CLI 里按环境输出)
Validation
- Test in terminal: Run
cat banner.ansi.txtto verify color rendering - Test plain text: Run
cat banner.txtto verify alignment without ANSI - Width check: Ensure no line exceeds the target width (default 80)
- NO_COLOR compliance: Verify the CLI respects
NO_COLOR=1and--no-color
Reference
- Color palettes and compatibility notes: palettes.md
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
ocrmypdf-batch
OCRmyPDF batch processing skill — process multiple PDFs, Docker automation, shell scripting, and CI/CD integration. Use when the user needs to OCR many PDFs, set up automated OCR pipelines, or integrate OCR into workflows.
ocrmypdf-optimize
OCRmyPDF optimization skill — compress PDFs, configure PDF/A output, JBIG2 encoding, and lossless optimization. Use when the user needs to reduce PDF file size, create archival PDF/A files, or optimize OCR output.
ocrmypdf-image
OCRmyPDF image processing skill — deskew, rotate, clean, despeckle, remove border from scanned documents. Use when the user needs to improve scanned PDF quality, fix skewed pages, remove noise, or clean up scanned documents before OCR.
ocrmypdf-api
OCRmyPDF Python API and plugin skill — use OCRmyPDF programmatically from Python, integrate with applications, and extend with plugins (EasyOCR, PaddleOCR, AppleOCR). Use when the user needs to call OCRmyPDF from Python code, build OCR pipelines, or use alternative OCR engines.
ocrmypdf
OCRmyPDF core skill — add searchable OCR text layer to scanned PDFs, convert images to searchable PDFs, support 100+ languages via Tesseract. Use when the user needs to OCR a PDF, make a scanned PDF searchable, or extract text from scanned documents.
svelte
Guides Svelte and SvelteKit development including reactive components, stores, transitions, lifecycle hooks, SSR, file-based routing, and deployment. Use when the user needs to build Svelte components, create SvelteKit applications, implement reactivity patterns, or configure Svelte with Vite.
Didn't find tool you were looking for?