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

paratest-cap4-a-336477

该 Skill 将用户提供的 Markdown 表格逐行拆分、去除空白并计算各列最大宽度,再填充对齐并重新生成带分隔行的表格;保留原有行列顺序和数据,不处理非表格输入。

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

安装技能

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

执行命令安装此 skill: npx secure-skills-cli add paratest-cap4-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.