ascii-text-art-library

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

When to use this skill

何时使用该技能

CRITICAL TRIGGER RULE
  • Use this skill ONLY when the user explicitly mentions the exact skill name:
    ascii-text-art-library
    .
Trigger phrases include:
  • "ascii-text-art-library"
  • "use ascii-text-art-library"
  • "用 ascii-text-art-library 生成 ASCII 模板库"
  • "使用 ascii-text-art-library 输出提示框/分隔线/标题样式"
核心触发规则
  • 仅当用户明确提及确切技能名称
    ascii-text-art-library
    时,才可使用该技能。
触发短语包括:
  • "ascii-text-art-library"
  • "use ascii-text-art-library"
  • "用 ascii-text-art-library 生成 ASCII 模板库"
  • "使用 ascii-text-art-library 输出提示框/分隔线/标题样式"

Boundary

适用边界

  • Output templates + naming/selection rules only; do not modify repository files.
  • ASCII-only by default to avoid ambiguous-width Unicode.
  • Templates must be width-tunable (default 80 columns).
  • 仅输出模板+命名/选择规则;不得修改仓库文件。
  • 默认仅使用ASCII字符,避免宽度不明确的Unicode字符。
  • 模板必须支持宽度可调(默认80列)。

How to use this skill

如何使用该技能

Inputs

输入参数

  • width (default 80)
  • language (zh | en, default zh)
  • tone (serious | fun, default serious)
  • categories (title/divider/info/warn/error/success/cta, default all)
  • variantsPerCategory (default 2)
  • width(默认80):宽度(默认80)
  • language(zh | en,默认zh):语言(中文 | 英文,默认中文)
  • tone(serious | fun,默认serious):语气(正式 | 趣味,默认正式)
  • categories(title/divider/info/warn/error/success/cta,默认全部):分类(标题/分隔线/信息/警告/错误/成功/行动号召,默认全部)
  • variantsPerCategory(默认2):每个分类的变体数量(默认2)

Outputs (required)

输出要求(必填)

  • templates: grouped by category (>= 2 variants per category)
  • namingRules: e.g.
    TITLE_COMPACT_A
    ,
    WARN_BOX_B
  • usageRules: selection guidance + anti-spam thresholds
  • templates:按分类分组(每个分类至少2个变体)
  • namingRules:例如
    TITLE_COMPACT_A
    WARN_BOX_B
  • usageRules:选择指南+防滥用阈值

Script

脚本

  • scripts/generate_templates.py
    : generate a baseline template set for a given width (local preview)
  • scripts/generate_templates.py
    :针对指定宽度生成基础模板集(本地预览用)

Examples

示例

  • examples/templates-80.md
  • examples/templates-80.md

Quality checklist

质量检查清单

  1. Stable alignment at 80 columns; no trailing spaces
  2. Templates are semantically clear and not over-decorated
  3. Notice boxes support multi-line content and remain readable
  1. 在80列宽度下对齐稳定;无尾随空格
  2. 模板语义清晰,不过度装饰
  3. 提示框支持多行内容且保持可读性

Keywords

关键词

English: ascii-text-art-library, templates, ascii, divider, banner, notice box, warning, error, success, plain text 中文: ascii-text-art-library, 模板库, ASCII, 分隔线, 标题, 提示框, 警告, 错误, 成功, 纯文本
English: ascii-text-art-library, templates, ascii, divider, banner, notice box, warning, error, success, plain text 中文: ascii-text-art-library, 模板库, ASCII, 分隔线, 标题, 提示框, 警告, 错误, 成功, 纯文本