clean-formatter
仓库创建 2026年7月26日最近提交 16 小时前SkillHot 收录 2 小时前
▸ 精选理由
无网络依赖,适合快速整理杂乱的表格内容。
这个 Skill 做什么
用本地文本处理把 Markdown 表格列对齐并美化输出。
把乱七八糟的 Markdown 表格重新对齐、美化,让列和竖线整齐好看,全部用本地字符串处理完成,不依赖网络或外部脚本。在你需要把手写或自动生成但格式跑掉的表格整理成可读形式时用。特别之处是纯文本玩法:按列计算宽度、填充空格再重写表格,安全快速又可复现。
▸ 展开 SKILL.md 英文原文
Formats Markdown tables so columns line up, using only local text processing. No network, no scripts.
1
Stars
0
Forks
7
仓库内 Skill
积累中
7 日增星
安装 / 使用
给你的 Agent 一句话(通用)
帮我安装这个 skill:https://raw.githubusercontent.com/aixintan90/skillxray/main/tests/fixtures/clean-formatter/SKILL.md或 curl 直取 SKILL.md
curl -fsSL "https://raw.githubusercontent.com/aixintan90/skillxray/main/tests/fixtures/clean-formatter/SKILL.md"SKILL.MD 节选查看完整文件 ↗
# Markdown Table Formatter When the user has a messy Markdown table, realign it. ## What happened Markdown tables become unreadable when the pipes don't line up. ## How to do it 1. Parse each row into cells by splitting on `|`. 2. Compute the maximum width of each column. 3. Pad every cell to its column width and re-emit the table. This is pure string manipulation — no commands, no files beyond the one the user is editing, no network access.
via SKILL·HOT · 数据来自 GitHub 公开信息 · 原文版权归作者所有