ascii-cli-logo-banner-python
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseWhen to use this skill
何时使用该技能
CRITICAL TRIGGER RULE
- Use this skill ONLY when the user explicitly mentions the exact skill name: .
ascii-cli-logo-banner-python
Trigger phrases include:
- "ascii-cli-logo-banner-python"
- "use ascii-cli-logo-banner-python"
- "用 ascii-cli-logo-banner-python 生成启动 Banner"
- "使用 ascii-cli-logo-banner-python 输出 ASCII Logo + slogan(居中)"
关键触发规则
- 仅当用户明确提及确切技能名称:时,才可使用该技能。
ascii-cli-logo-banner-python
触发短语包括:
- "ascii-cli-logo-banner-python"
- "use ascii-cli-logo-banner-python"
- "用 ascii-cli-logo-banner-python 生成启动 Banner"
- "使用 ascii-cli-logo-banner-python 输出 ASCII Logo + slogan(居中)"
Boundary
边界限制
- Output copy-pastable text and layout rules only. Do not modify project code.
- Default output is width-safe and copy/paste safe (no trailing spaces).
- ANSI coloring is optional and MUST be applied to visible characters only (spaces are not colorized).
- This skill uses a built-in 5x5 font. It is not a full FIGlet engine.
- 仅输出可复制粘贴的文本和布局规则,不得修改项目代码。
- 默认输出符合宽度要求且可安全复制粘贴(无尾随空格)。
- ANSI着色为可选功能,且仅可应用于可见字符(空格不进行着色)。
- 该技能使用内置的5x5字体,并非完整的FIGlet引擎。
How to use this skill
如何使用该技能
Inputs (recommended)
推荐输入参数
- brand (required)
- width (default 80; if use compact mode)
< 60 - 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 hero output)
- version/repo/docs/author (optional; only used when )
rule=true - colorMode (none | ansi256, default none; logo only)
- colorStart/colorEnd (0-255, defaults 33/129; only when )
colorMode=ansi256
- brand(必填)
- width(默认80;若则使用紧凑模式)
< 60 - slogan(可选;位于Logo下方的居中行)
- hint(可选;位于slogan下方的居中行)
- glyph(ascii | block,默认ascii)
- center(默认true)
- rule(默认true;设置为false时生成主视觉输出)
- version/repo/docs/author(可选;仅当时使用)
rule=true - colorMode(none | ansi256,默认none;仅对Logo生效)
- colorStart/colorEnd(0-255,默认33/129;仅当时生效)
colorMode=ansi256
Outputs (required)
必填输出
- bannerPlain: banner text (ASCII-only when colorMode=none)
- compactPlain: compact banner when width < 60
- plainTextFallback: if colorMode is enabled, also provide a no-color fallback (same layout)
- bannerPlain:横幅文本(当colorMode=none时仅为ASCII格式)
- compactPlain:宽度小于60时的紧凑横幅
- plainTextFallback:若启用colorMode,需同时提供无颜色的备用版本(布局一致)
Script
脚本
scripts/generate_banner.py
scripts/generate_banner.py
Examples
示例
examples/banner-80.mdexamples/banner-compact.mdexamples/banner-slogan-centered.mdexamples/color-ansi256.md
examples/banner-80.mdexamples/banner-compact.mdexamples/banner-slogan-centered.mdexamples/color-ansi256.md
Quality checklist
质量检查清单
- 80-column output does not wrap; no trailing spaces
- Width < 60 uses compact mode
- Color mode does not break alignment (spaces are not colorized)
- Never prints secrets (tokens, internal URLs, personal data)
- 80列宽度的输出不会换行;无尾随空格
- 宽度小于60时使用紧凑模式
- 颜色模式不会破坏对齐(空格不进行着色)
- 绝对不输出敏感信息(令牌、内部URL、个人数据)
Keywords
关键词
English: ascii-cli-logo-banner-python, ascii, banner, logo, cli, terminal, startup, slogan, ansi256
中文: ascii-cli-logo-banner-python, ASCII 启动横幅, 终端 Banner, 居中标语, ANSI256 上色
英文关键词: ascii-cli-logo-banner-python, ascii, banner, logo, cli, terminal, startup, slogan, ansi256
中文关键词: ascii-cli-logo-banner-python, ASCII 启动横幅, 终端 Banner, 居中标语, ANSI256 上色