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

ParaTest Baseline A 336477

该 Skill 接收用户提供的 Markdown 表格,按列计算最大宽度并用空格补齐,重写分隔行;对全数字列使用右对齐,保留原始行列顺序,不新增数据;非表格输入则礼貌拒绝。

Mr_____Chen_
Mr_____Chen_
热度 10.36
最近更新 2026-08-19 00:37:07
分类:效率依赖:纯提示词应用场景:数据处理 / 工作流

安装技能

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

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