🎨 style(tsl-syntax-reference): run prettier on unguarded tables

- SKILL.md and 02 were the only files prettier still reported in this
  skill; their tables carry no prettier-ignore guard like the wide ones on
  06 and 15, so `prettier -w` pads the cells
- formatting only, no wording change

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
csh
2026-07-30 21:33:42 +08:00
co-authored by Claude Opus 5
parent 948a3ed85b
commit 21e688a436
2 changed files with 20 additions and 20 deletions
+2 -2
View File
@@ -97,7 +97,7 @@ Section ID 抄自 `--section` 输出首部的 `Section ID:` 行。多个要素
你的输出: 你的输出:
| 身份 | 允许的用法 | | 身份 | 允许的用法 |
| --- | --- | | --------------------- | --------------------------------------------------------------------- |
| `可直接照写示例` | 作为源码外形照写,替换业务内容后使用;依赖的 API 仍按事实边界另行核对 | | `可直接照写示例` | 作为源码外形照写,替换业务内容后使用;依赖的 API 仍按事实边界另行核对 |
| `反例 / 不可照写` | 只用于说明错误边界,不得作为实现出现在输出里 | | `反例 / 不可照写` | 只用于说明错误边界,不得作为实现出现在输出里 |
| `输出片段` | 只用于说明运行结果,不得当作源码 | | `输出片段` | 只用于说明运行结果,不得当作源码 |
@@ -151,7 +151,7 @@ python <this-skill-dir>/scripts/lookup.py --map
## 退出码 ## 退出码
| 退出码 | 含义 | 处理方式 | | 退出码 | 含义 | 处理方式 |
| --- | --- | --- | | ------ | --------------------------------------------------------------------- | ------------------------------------------------------- |
| 0 | 查询或取回成功 | 读取输出并继续两步流程 | | 0 | 查询或取回成功 | 读取输出并继续两步流程 |
| 1 | `--check` 发现参考页问题,或参考目录内没有可校验的参考页 | 修复参考页,或检查 `--references-dir` 路径与 skill 安装 | | 1 | `--check` 发现参考页问题,或参考目录内没有可校验的参考页 | 修复参考页,或检查 `--references-dir` 路径与 skill 安装 |
| 2 | 参数不合法、`--query` 无匹配或候选全部为弱命中、`--section` ID 不存在 | 见下 | | 2 | 参数不合法、`--query` 无匹配或候选全部为弱命中、`--section` ID 不存在 | 见下 |
@@ -216,7 +216,7 @@ function:__main__:line 9: invalid statement
已经确定任务目标时,按下表选择起手形态: 已经确定任务目标时,按下表选择起手形态:
| 任务 | 起手形态 | 写法 | | 任务 | 起手形态 | 写法 |
| --- | --- | --- | | ---------------------------------- | ------------------------------ | -------------------------------------------------------------------------------------------------------------------- |
| 入口流程、脚本任务或一次性执行逻辑 | `.tsl` 脚本语句区 | 直接写会顺序执行的语句 | | 入口流程、脚本任务或一次性执行逻辑 | `.tsl` 脚本语句区 | 直接写会顺序执行的语句 |
| 脚本逻辑需要调用本文件内函数 | `.tsl` 语句区 + 后置函数声明区 | 语句区之后写 `function ... begin ... end;``procedure ... begin ... end;` | | 脚本逻辑需要调用本文件内函数 | `.tsl` 语句区 + 后置函数声明区 | 语句区之后写 `function ... begin ... end;``procedure ... begin ... end;` |
| 脚本逻辑需要对象状态、字段、方法 | `.tsl` 语句区 + 后置类声明区 | 语句区之后写 `type Name = class ... end;` | | 脚本逻辑需要对象状态、字段、方法 | `.tsl` 语句区 + 后置类声明区 | 语句区之后写 `type Name = class ... end;` |