Repository navigation
docs: put screenshots and recordings first in PR descriptions - #5252
Conversation
Reviewers see the visible effect of a UI change before reading the rest of the description. The write-pr skill and the PR template now place the optional Screenshots / Recordings section above Requirement or Bug instead of after Code Changes.
|
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
commit: |
Remove the 23,200-byte root AGENTS.md budget and the checkBudgets/sizeOf machinery (MoonshotAI#5144); the instructions check now fails only when the root guide is missing, and its node:test suite covers that case. Move the Screenshots / Recordings section to the top of the PR template and the write-pr skill (MoonshotAI#5252), so reviewers see visual evidence before the requirement text.
Requirement or Bug
有 UI 变化的 PR,截图和录屏目前按
write-prskill 放在 Code Changes 后面,reviewer 要先读完需求、根因和整段代码说明才能看到改动效果。这个 PR 把这一节挪到描述最前面,打开 PR 第一眼就能看到界面变成了什么样。Bug Reproduction Steps
N/A
Root Cause
N/A
Code Changes
两处约定都只调整 Screenshots / Recordings 一节的位置,这一节的写法要求(前后对比、上传方式、脱敏)不变:
.agents/skills/write-pr/SKILL.md:第 4 步按描述里的顺序列出各节,把 Screenshots / Recordings 挪到第一项,写明放在 Requirement or Bug 之前;「UI/UX 变化的视觉证据」里的位置说明同步改掉。.github/pull_request_template.md:把「UI 变化时加 Screenshots / Recordings」的提示从 Code Changes 的注释挪到模板顶部、Requirement or Bug 上方。模板仍不预置这一节,没有 UI 变化的 PR 不用删空节。#5221 的描述已经按新顺序排好,可以作参考。
Behavior Changes and Affected Users
只改文档,不涉及产品代码和测试;
pnpm run check:duplication通过。Checklist
/approve).gen-changesetsskill, or this PR needs no changeset.gen-docsskill, or this PR needs no doc update.