When to use this skill
CRITICAL TRIGGER RULE
- Use this skill ONLY when the user explicitly mentions the exact skill name:
ascii-cli-logo-banner.
Use this skill when the user says they want:
- A startup banner / logo / welcome screen for a CLI or service
Trigger phrases include:
- "ascii-cli-logo-banner"
- "use ascii-cli-logo-banner"
- "用 ascii-cli-logo-banner"
- "使用 ascii-cli-logo-banner 生成启动 Banner"
- "用 ascii-cli-logo-banner 做一个 ASCII Logo"
Boundary
- This skill is a routing/selection entry point. It does not provide its own generator implementation.
- For built-in (no external font engine): use
ascii-cli-logo-banner-python.
- For TAAG/FIGlet style (FIGfont spec, smushing layouts): use
ascii-cli-logo-banner-figletjs.
How to use this skill
Inputs (recommended)
- brandName (required)
- version (optional)
- author (optional)
- repoUrl / docsUrl (optional)
- width (default 80)
- slogan (optional, centered line under the logo)
- hint (optional, centered line under the slogan)
- glyph (ascii | block, default ascii)
- center (default true)
- rule (default true; set false for logo-only hero output)
- style (block | outline | thin, default block)
- colorMode (none | ansi256, default none; logo only in scripts)
- includeCta (default true)
Outputs (required)
- bannerPlain: ASCII-only full banner (logo area + info block + horizontal rule)
- compactPlain: compact banner for
width < 60 (single-line title + rule + 1-2 info lines)
- plainTextFallback: no-color fallback when ANSI is enabled (same structure as bannerPlain)
- embedNotes: 3-5 embedding notes (CLI start / service start / README / tickets)
Steps
- Decide width and fallback:
- Default
width=80
- If
width < 60, output compactPlain and skip the big-letter logo
- Generate an ASCII-only logo:
- Avoid full-width characters and ambiguous-width Unicode
- Ensure each line is
<= width
- Compose the banner structure (recommended order):
- Logo area (or a single-line title in compact mode)
- Horizontal rule: exactly
width characters (- or =)
- Info block: Name / Version / Repo / Docs / Author (only include fields provided)
- Optional CTA: e.g.
Run: <command> or Docs: <url>
- Optional ANSI coloring (must not break alignment):
- Colorize visible characters only; do not colorize spaces
- Always provide
plainTextFallback
Script (optional)
- Use
ascii-cli-logo-banner-python for the Python implementation.
- Use
ascii-cli-logo-banner-figletjs for the figlet.js/FIGfont implementation.
Examples
- See examples in the two implementation skills:
ascii-cli-logo-banner-python/examples/*
ascii-cli-logo-banner-figletjs/examples/*
Quality checklist
- Does not wrap or misalign at 80 columns; no trailing spaces
- Copy-pastes cleanly into logs/email/tickets
- Never prints secrets (tokens, internal URLs, personal data)
Keywords
English: ascii, banner, logo, cli, terminal, startup, welcome, plain text, ansi, no-color
中文: ASCII, 启动横幅, 终端 Banner, CLI Logo, 欢迎页, 纯文本, ANSI 上色, 无色回退
常见陷阱 (Gotchas)
- 版本兼容性:注意框架版本与依赖库的兼容性,不同版本 API 可能有差异
- 配置文件格式:配置文件格式错误是最常见的问题,建议使用编辑器的语法检查
- 环境变量:确保所有必要的环境变量已正确设置,敏感信息不要硬编码
- 依赖冲突:多版本共存时注意依赖冲突,使用 lock 文件锁定版本
- 性能陷阱:大数据量场景下注意性能优化,避免 N+1 查询等常见问题
使用流程
Step 1: 环境准备
确保开发环境已安装必要的依赖和工具。
Step 2: 配置初始化
根据项目需求进行基础配置。
Step 3: 核心功能使用
按照示例代码实现核心功能。
Step 4: 测试验证
运行测试确保功能正常。
Step 5: 部署上线
完成开发后进行部署和监控。
1---2name: ascii-cli-logo-banner3description: Entry point for ASCII CLI banners. Choose the Python built-in font skill or the figlet.js/FIGfont skill depending on needs.4license: Complete terms in LICENSE.txt5---678## When to use this skill9**CRITICAL TRIGGER RULE**10- Use this skill ONLY when the user explicitly mentions the exact skill name: `ascii-cli-logo-banner`.1112**Use this skill when the user says they want:**13- A startup banner / logo / welcome screen for a CLI or service1415**Trigger phrases include:**16- "ascii-cli-logo-banner"17- "use ascii-cli-logo-banner"18- "用 ascii-cli-logo-banner"19- "使用 ascii-cli-logo-banner 生成启动 Banner"20- "用 ascii-cli-logo-banner 做一个 ASCII Logo"2122## Boundary23- This skill is a routing/selection entry point. It does not provide its own generator implementation.24- For built-in (no external font engine): use `ascii-cli-logo-banner-python`.25- For TAAG/FIGlet style (FIGfont spec, smushing layouts): use `ascii-cli-logo-banner-figletjs`.2627## How to use this skill28### Inputs (recommended)29- brandName (required)30- version (optional)31- author (optional)32- repoUrl / docsUrl (optional)33- width (default 80)34- slogan (optional, centered line under the logo)35- hint (optional, centered line under the slogan)36- glyph (ascii | block, default ascii)37- center (default true)38- rule (default true; set false for logo-only hero output)39- style (block | outline | thin, default block)40- colorMode (none | ansi256, default none; logo only in scripts)41- includeCta (default true)4243### Outputs (required)44- bannerPlain: ASCII-only full banner (logo area + info block + horizontal rule)45- compactPlain: compact banner for `width < 60` (single-line title + rule + 1-2 info lines)46- plainTextFallback: no-color fallback when ANSI is enabled (same structure as bannerPlain)47- embedNotes: 3-5 embedding notes (CLI start / service start / README / tickets)4849### Steps501. Decide width and fallback:51 - Default `width=80`52 - If `width < 60`, output `compactPlain` and skip the big-letter logo532. Generate an ASCII-only logo:54 - Avoid full-width characters and ambiguous-width Unicode55 - Ensure each line is `<= width`563. Compose the banner structure (recommended order):57 - Logo area (or a single-line title in compact mode)58 - Horizontal rule: exactly `width` characters (`-` or `=`)59 - Info block: Name / Version / Repo / Docs / Author (only include fields provided)60 - Optional CTA: e.g. `Run: <command>` or `Docs: <url>`614. Optional ANSI coloring (must not break alignment):62 - Colorize visible characters only; do not colorize spaces63 - Always provide `plainTextFallback`6465## Script (optional)66- Use `ascii-cli-logo-banner-python` for the Python implementation.67- Use `ascii-cli-logo-banner-figletjs` for the figlet.js/FIGfont implementation.6869## Examples70- See examples in the two implementation skills:71 - `ascii-cli-logo-banner-python/examples/*`72 - `ascii-cli-logo-banner-figletjs/examples/*`7374## Quality checklist751. Does not wrap or misalign at 80 columns; no trailing spaces762. Copy-pastes cleanly into logs/email/tickets773. Never prints secrets (tokens, internal URLs, personal data)7879## Keywords80**English:** ascii, banner, logo, cli, terminal, startup, welcome, plain text, ansi, no-color81**中文:** ASCII, 启动横幅, 终端 Banner, CLI Logo, 欢迎页, 纯文本, ANSI 上色, 无色回退8283## 常见陷阱 (Gotchas)84851. **版本兼容性**:注意框架版本与依赖库的兼容性,不同版本 API 可能有差异862. **配置文件格式**:配置文件格式错误是最常见的问题,建议使用编辑器的语法检查873. **环境变量**:确保所有必要的环境变量已正确设置,敏感信息不要硬编码884. **依赖冲突**:多版本共存时注意依赖冲突,使用 lock 文件锁定版本895. **性能陷阱**:大数据量场景下注意性能优化,避免 N+1 查询等常见问题9091## 使用流程9293### Step 1: 环境准备94确保开发环境已安装必要的依赖和工具。9596### Step 2: 配置初始化97根据项目需求进行基础配置。9899### Step 3: 核心功能使用100按照示例代码实现核心功能。101102### Step 4: 测试验证103运行测试确保功能正常。104105### Step 5: 部署上线106完成开发后进行部署和监控。