ascii-cli-logo-banner-figletjs

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

When to use this skill

何时使用该Skill

CRITICAL TRIGGER RULE
  • Use this skill ONLY when the user explicitly mentions the exact skill name:
    ascii-cli-logo-banner-figletjs
    .
Trigger phrases include:
  • "ascii-cli-logo-banner-figletjs"
  • "use ascii-cli-logo-banner-figletjs"
  • "用 ascii-cli-logo-banner-figletjs 生成 TAAG/FIGlet 大字"
  • "使用 ascii-cli-logo-banner-figletjs 调 horizontalLayout / verticalLayout"
关键触发规则
  • 仅当用户明确提及确切的Skill名称:
    ascii-cli-logo-banner-figletjs
    时,方可使用本Skill。
触发语句包括:
  • "ascii-cli-logo-banner-figletjs"
  • "use ascii-cli-logo-banner-figletjs"
  • "用 ascii-cli-logo-banner-figletjs 生成 TAAG/FIGlet 大字"
  • "使用 ascii-cli-logo-banner-figletjs 调 horizontalLayout / verticalLayout"

Boundary

边界限制

  • Output copy-pastable text and layout rules only. Do not modify project code.
  • FIGlet/TAAG style is driven by FIGfont (.flf) rendering and layout “smushing/kerning” options.
  • ANSI coloring is optional and MUST not break alignment (spaces are not colorized).
  • Dependency note:
    figlet
    npm package is commonly used as the Node interface and is powered by
    figlet.js
    .
  • 仅输出可直接复制粘贴的文本和布局规则,不得修改项目代码。
  • FIGlet/TAAG风格由FIGfont(.flf格式)渲染以及布局的“拼接/字距调整”选项决定。
  • ANSI着色为可选功能,且绝对不能破坏对齐效果(空格不得着色)。
  • 依赖说明:
    figlet
    npm包通常作为Node.js接口使用,其底层由
    figlet.js
    驱动。

How to use this skill

如何使用该Skill

Inputs (recommended)

推荐输入参数

  • brand (required)
  • width (default 80; if
    < 60
    use compact mode)
  • font (default Standard)
  • horizontalLayout (default | full | fitted | controlled smushing | universal smushing)
  • verticalLayout (default | full | fitted | controlled smushing | universal smushing)
  • whitespaceBreak (true|false, default true)
  • slogan/hint (optional; centered lines under the logo)
  • 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则启用紧凑模式)
  • font(默认值Standard)
  • horizontalLayout(默认值 | full | fitted | controlled smushing | universal smushing)
  • verticalLayout(默认值 | full | fitted | controlled smushing | universal smushing)
  • whitespaceBreak(布尔值,默认true)
  • slogan/hint(可选;位于Logo下方的居中文字行)
  • center(默认true)
  • rule(默认true;若要生成Hero样式输出则设为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 (no-color)
  • coloredText: when
    colorMode=ansi256
    , provide colored logo output
  • plainTextFallback: when colored, also provide a no-color fallback (same layout)
  • bannerPlain:无颜色的横幅文本
  • coloredText:当
    colorMode=ansi256
    时,提供带颜色的Logo输出
  • plainTextFallback:当启用着色时,同时提供无颜色的备用版本(布局一致)

Script

脚本文件

  • scripts/figlet_banner.mjs
  • scripts/figlet_banner.mjs

Examples

示例

  • examples/taag-figlet.md
  • examples/color-ansi256.md
  • examples/taag-figlet.md
  • examples/color-ansi256.md

Quality checklist

质量检查清单

  1. Layout options are honored (horizontal/vertical layout)
  2. 80-column output does not wrap; no trailing spaces
  3. Color mode does not break alignment (spaces are not colorized)
  4. Never prints secrets (tokens, internal URLs, personal data)
  1. 严格遵循布局选项(横向/纵向布局)
  2. 80列宽度的输出不得换行;无尾随空格
  3. 着色模式不得破坏对齐效果(空格不得着色)
  4. 绝对不得输出敏感信息(令牌、内部URL、个人数据)

Keywords

关键词

English: ascii-cli-logo-banner-figletjs, figlet, figlet.js, FIGfont, taag, ascii, banner, smushing, kerning, ansi256 中文: ascii-cli-logo-banner-figletjs, FIGlet 大字, TAAG, FIGfont 字体, 横向布局, 纵向布局, ANSI256 上色
英文: ascii-cli-logo-banner-figletjs, figlet, figlet.js, FIGfont, taag, ascii, banner, smushing, kerning, ansi256 中文: ascii-cli-logo-banner-figletjs, FIGlet 大字, TAAG, FIGfont 字体, 横向布局, 纵向布局, ANSI256 上色