ascii-ansi-colorizer
12
总安装量
4
周安装量
#27016
全站排名
安装命令
npx skills add https://github.com/partme-ai/full-stack-skills --skill ascii-ansi-colorizer
Agent 安装分布
opencode
4
codex
4
amp
3
cursor
3
kimi-cli
3
github-copilot
3
Skill 文档
When to use this skill
CRITICAL TRIGGER RULE
- Use this skill ONLY when the user explicitly mentions the exact skill name:
ascii-ansi-colorizer.
Trigger phrases include:
- “ascii-ansi-colorizer”
- “use ascii-ansi-colorizer”
- “ç¨ ascii-ansi-colorizer ç» ASCII ä¸è²”
- “ä½¿ç¨ ascii-ansi-colorizer å ANSI æ¸å/彩蹔
Boundary
- This skill only adds color to existing text. It does not generate the ASCII art itself (pair with
ascii-cli-logo-bannerif needed). - Required outputs:
coloredText+plainTextFallback. - ANSI must not break alignment: do not colorize spaces by default; colorize visible characters only.
How to use this skill
Inputs
- textOrAscii (required)
- palette (rainbow | gradient | brandColors)
- direction (leftToRight | topToBottom, default leftToRight)
- colorDepth (ansi16 | ansi256 | truecolor, default ansi256)
- scope (logoOnly | highlightsOnly | fullText, default logoOnly)
Outputs (required)
- coloredText: ANSI-colored output
- plainTextFallback: no-color fallback (identical content, no ANSI)
- compatNotes: copy/paste and redirection guidance (NO_COLOR / –no-color suggestions)
Steps
- Pick
colorDepth(default: ansi256). - Choose a stable coloring strategy:
- Column-wise gradients (leftToRight) are usually the safest
- Colorize non-space characters only
- Output both
coloredTextandplainTextFallback. - Provide no-color guidance (semantic suggestions):
NO_COLOR/--no-color.
Script
scripts/colorize.py: apply ANSI 256 gradient or rainbow to stdin
Examples
examples/gradient.md
Quality checklist
- Removing ANSI keeps the same readable content (
plainTextFallback). - Alignment does not change after coloring.
- Colors should not overpower the informational lines.
Keywords
English: ascii-ansi-colorizer, ansi, color, gradient, rainbow, terminal, no-color, plain text, ascii 䏿: ascii-ansi-colorizer, ANSI, ä¸è², æ¸å, 彩è¹, ç»ç«¯, æ è²åé, çº¯ææ¬, ASCII