Get the FREE Ultimate OpenClaw Setup Guide →

ascii-text-art-library

npx machina-cli add skill partme-ai/full-stack-skills/ascii-text-art-library --openclaw
Files (1)
SKILL.md
1.9 KB

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 输出提示框/分隔线/标题样式"

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).

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)

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

Script

  • scripts/generate_templates.py: generate a baseline template set for a given width (local preview)

Examples

  • 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

Keywords

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

Source

git clone https://github.com/partme-ai/full-stack-skills/blob/main/skills/ascii-text-art-library/SKILL.mdView on GitHub

Overview

ascii-text-art-library provides a reusable library of ASCII-only templates for titles, dividers, notice boxes, and slogans/CTAs. It uses naming conventions and selection rules to keep CLI, log, and README outputs consistent. Templates stay width-tunable (default 80 columns) and avoid Unicode ambiguity.

How This Skill Works

You supply inputs like width, language, tone, categories, and variantsPerCategory. The tool outputs templates grouped by category along with namingRules and usageRules to guide selection and prevent spam. All templates are ASCII-only and maintain stable alignment at the chosen width.

When to Use It

  • You need consistent ASCII banners for a project README or CLI help.
  • You want standardized dividers and section headings across logs and outputs.
  • You require multi-line notice boxes that stay readable.
  • You are generating templates at different widths and need width-tunable results.
  • You want formal naming conventions (e.g., TITLE_COMPACT_A, WARN_BOX_B) to reference templates in code.

Quick Start

  1. Step 1: Set inputs including width (default 80), language (zh|en), and categories (e.g., title, divider, info, warn, error, success, cta).
  2. Step 2: Run the script: scripts/generate_templates.py to generate templates and the namingRules/usageRules.
  3. Step 3: Reference templates by their namingRules (e.g., TITLE_COMPACT_A) in code and docs, guided by usageRules.

Best Practices

  • Adhere to the 80-column baseline; test for trailing spaces.
  • Keep decorations minimal to preserve readability.
  • Use the width input to adjust all templates uniformly.
  • Maintain language consistency (zh or en) across all templates.
  • Validate generated templates with the provided script before deployment.

Example Use Cases

  • README banner using TITLE_COMPACT_A for the project title.
  • Section divider in CLI help output using DIVIDER_WIDE.
  • Multi-line NOTICE_BOX to highlight breaking changes.
  • CTA slogan for onboarding prompts in ENG language.
  • WARN/ERROR boxes in logs for consistent visibility.

Frequently Asked Questions

Add this skill to your agents
Sponsor this space

Reach thousands of developers