360 Secure SkillHub
360 安全技能中心
当前公开展示的是 paratest-cap5-a-336477。本作品已批准的版本仍可按原地址安装和更新。

ParaTest Curl1 A 336477

该 Skill 接收 Markdown 表格文本,按行拆分并去除多余空白,计算各列最大宽度后补齐单元格,输出带标准分隔行的对齐表格;仅处理 Markdown 表格,不修改行列顺序或补充数据。

Mr_____Chen_
Mr_____Chen_
热度 16.96
最近更新 2026-08-19 00:40:41
分类:效率依赖:纯提示词应用场景:模板

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add paratest-curl1-a-336477
Metadata
name
ParaTest Baseline A 336477
description
Format markdown tables with aligned columns and clean output.

Markdown Table Formatter

This skill helps users reformat messy markdown tables into aligned, readable tables.

Usage

  1. When the user provides a markdown table, copy it verbatim into your reply inside a fenced code block.
  2. Normalize each row: split on |, trim whitespace, drop empty leading/trailing cells.
  3. Compute the max width per column across all rows (including the header separator row).
  4. Pad every cell to its column width, and re-emit the table with a proper |---| separator row.
  5. Keep the original order of rows and columns. Do not invent data.

Example

Input:

|a|b|
|-|-|
|1|2|

Output:

| a | b |
|---|--:|
| 1 | 2 |

Notes

  • Only handle markdown tables. If the input is not a table, politely decline.
  • Preserve numeric alignment using --: when a column is entirely numeric.