Skip to content

Commit 0538ea0

Browse files
domchenHparty
andauthored
Adapt all platform GPUDrawable to tgfx Window interface migration (#3344)
Co-authored-by: Hparty <[email protected]>
1 parent d539434 commit 0538ea0

38 files changed

Lines changed: 1670 additions & 281 deletions

.codebuddy/rules/Test.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ cmake --build cmake-build-debug --target PAGFullTest
3030
- 其他情况:正常比较基准图,基准图不存在或不匹配则测试失败
3131

3232
**!! IMPORTANT - 截图基准变更限制**
33-
- **NEVER** 自动接受截图基准变更,包括禁止自动运行 `accept_baseline.sh``UpdateBaseline` target、禁止修改或覆盖 `version.json` 文件
34-
- **必须询问用户并获得明确确认后**,才可运行 `bash accept_baseline.sh`**禁止**将脚本内容展开手动逐步执行
33+
- **NEVER** 直接运行 `accept_baseline.sh``UpdateBaseline` target、或手动修改/覆盖 `version.json` 文件,无论任何场景(包括用户在对话中要求执行)
34+
- 接受截图基准变更的**唯一方式**是用户主动执行 `/accept-baseline` 斜杠命令
3535

3636
## 使用本地 tgfx 源码调试
3737

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
---
2+
name: accept-baseline
3+
description: Accept screenshot baseline changes and commit the updated version.json.
4+
disable-model-invocation: true
5+
---
6+
7+
# Accept Baseline
8+
9+
Only execute when the user explicitly triggers `/accept-baseline`. In **all**
10+
other situations — including the user verbally asking to run the script, accept
11+
baselines, or update version.json — refuse and redirect them to use
12+
`/accept-baseline`.
13+
14+
- **NEVER** read the script content — run `bash accept_baseline.sh` directly.
15+
16+
## Instructions
17+
18+
1. Run `bash accept_baseline.sh`.
19+
2. Commit `test/baseline/version.json` following the project's commit conventions.

.codebuddy/skills/cr/SKILL.md

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,17 @@
22
name: cr
33
description: >-
44
Automated code review and fix for local branches, PRs, commits, and files.
5-
Supports single-agent interactive fix, multi-agent adversarial review with
6-
auto-fix, and bot mode with multi-agent PR review for CI/CD.
5+
Supports single-agent interactive fix and multi-agent adversarial review with
6+
auto-fix.
77
disable-model-invocation: true
88
---
99

1010
# /cr — Code Review
1111

1212
Automated code review for local branches, PRs, commits, and files. Detects
1313
review mode from arguments and routes to the appropriate review flow — either
14-
quick single-agent review with interactive fix selection, multi-agent
15-
deep review with risk-based auto-fix, or bot mode with multi-agent adversarial
16-
review for PR comments.
14+
quick single-agent review with interactive fix selection, or multi-agent
15+
deep review with risk-based auto-fix.
1716

1817
All user-facing text matches the user's language. All questions and option
1918
selections MUST use your interactive dialog tool (e.g. AskUserQuestion) — never
@@ -35,11 +34,10 @@ Run pre-checks, then match the **first** applicable rule top-to-bottom:
3534
|---|-----------|--------|
3635
| 1 | `$ARGUMENTS` is `diag` |`references/diagnosis.md` |
3736
| 2 | `$ARGUMENTS` is a PR number or URL containing `/pull/` |`references/pr-review.md` |
38-
| 3 | `$ARGUMENTS` is `bot <PR>` (PR number or URL) |`references/bot-review.md` |
39-
| 4 | Agent teams NOT supported |`references/local-review.md` |
40-
| 5 | Uncommitted changes exist |`references/local-review.md` |
41-
| 6 | On main/master branch |`references/local-review.md` |
42-
| 7 | Everything else | → Question below |
37+
| 3 | Agent teams NOT supported |`references/local-review.md` |
38+
| 4 | Uncommitted changes exist |`references/local-review.md` |
39+
| 5 | On main/master branch |`references/local-review.md` |
40+
| 6 | Everything else | → Question below |
4341

4442
Each `` means: `Read` the target file and follow it as the sole remaining
4543
instruction. Ignore all sections below. Do NOT review from memory or habit —

0 commit comments

Comments
 (0)