docs: Fix SKILL.md规范 violations - Remove ## 方法列表 and flatten ### sub-headers in ## 公共方法

This commit is contained in:
2026-03-19 02:01:18 +08:00
parent 8e85fd98b8
commit 5257f3d75c
68 changed files with 718 additions and 1289 deletions

View File

@@ -37,9 +37,7 @@
| `Failed` | 失败 |
| `Canceled` | 已取消 |
## ITask 公共方法
### 生命周期
## 公共方法
| 方法 | 描述 |
|------|------|
@@ -49,22 +47,12 @@
| [`Execute`](execute.md) | 任务执行逻辑(纯虚) |
| [`OnComplete`](oncomplete.md) | 任务完成回调(可重写) |
| [`OnCancel`](oncancel.md) | 任务取消回调(可重写) |
### 属性
| 方法 | 描述 |
|------|------|
| [`GetPriority`](getpriority.md) | 获取优先级 |
| [`GetStatus`](getstatus.md) | 获取状态 |
| [`GetId`](getid.md) | 获取任务 ID |
| [`SetId`](setid.md) | 设置任务 ID |
| [`SetPriority`](setpriority.md) | 设置优先级 |
| [`SetStatus`](setstatus.md) | 设置状态 |
### 引用计数
| 方法 | 描述 |
|------|------|
| [`AddRef`](addref.md) | 增加引用计数 |
| [`Release`](release.md) | 减少引用计数(引用归零时自动 delete |