zereight/skill · Archived

ascii-draw-comments

Create clean ASCII diagrams for code comments and documentation. Use when the user wants box-and-arrow diagrams, flow charts, tables, trees, or other ASCII art that can be pasted into source-code comments, README files, design notes, or issue/PR explanations.

First seen May 11, 2026

Installation

$ npx skills add zereight/skill --skill ascii-draw-comments

Stronger alternatives

This repository is archived — consider an actively maintained alternative.

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from zereight/skill · top by installs.

npx skills add zereight/skill

Browse all from zereight/skill

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Repository health

Default branch main
Open issues 0
Status Archived

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 2,851 B
  • docs SUMMARY.md 286 B

History

  1. First seen on skills.sh
  2. First recorded snapshot · 1 installs

SKILL.md

ASCII Draw Comments

Use this skill to make ASCII diagrams that survive copy/paste into code comments and plain-text docs.

Workflow

  1. Clarify the target comment style only when needed:

- / ... / for JavaScript, TypeScript, C, Java, Kotlin, Swift block comments. - # ... for shell, Ruby, Python line comments. - Plain fenced text for Markdown docs.

  1. Convert the user's idea into a simple ASCII layout before adding polish.
  2. Keep diagrams monospace-safe:

- Use ASCII characters only unless the user asks for Unicode box drawing. - Prefer +---+, |, -, >, v, and spaces. - Avoid tabs. Use spaces. - Keep line widths consistent.

  1. Make labels short. Long labels break comment readability.
  2. If the user wants to use the GUI app, point them to ascii-draw as a manual drawing tool:

- Draw the diagram in ASCII Draw. - Copy the resulting text. - Paste it inside the target comment block.

  1. If the user wants the diagram directly in chat or a file, generate the final comment-ready ASCII yourself.

Bundled Script

Use scripts/wrapasciicomment.py when the user already has ASCII art and wants it wrapped as a source-code comment without breaking alignment.

Examples:

python3 scripts/wrap_ascii_comment.py --style block < diagram.txt
python3 scripts/wrap_ascii_comment.py --style line --prefix "# " < diagram.txt
python3 scripts/wrap_ascii_comment.py --style markdown < diagram.txt

Comment Templates

JavaScript/TypeScript/C-style:

/*
+----------+      +----------+
| Request  | ---> | Handler  |
+----------+      +----------+
                      |
                      v
                 +----------+
                 | Storage  |
                 +----------+
*/

Python/shell-style:

# +----------+      +----------+
# | Request  | ---> | Handler  |
# +----------+      +----------+
#                       |
#                       v
#                  +----------+
#                  | Storage  |
#                  +----------+

Markdown:

+----------+      +----------+
| Request  | ---> | Handler  |
+----------+      +----------+
                      |
                      v
                 +----------+
                 | Storage  |
                 +----------+

Review Checklist

  • Diagram explains flow or structure faster than prose.
  • Every arrow has a clear direction.
  • Box labels fit inside the box.
  • Comment prefix does not distort alignment.
  • Result uses plain ASCII unless Unicode was requested.