Skip to content

docs: put screenshots and recordings first in PR descriptions - #5252

Merged
wbxl2000 merged 1 commit into
mainfrom
docs/pr-screenshots-first
Nov 23, 2026
Merged

wbxl2000 merged 1 commit into
mainfrom
docs/pr-screenshots-first

Conversation

@wbxl2000

Copy link
Copy Markdown
Collaborator

Requirement or Bug

有 UI 变化的 PR,截图和录屏目前按 write-pr skill 放在 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

行为 之前 之后 谁依赖旧行为 退路
有 UI 变化的 PR 描述里 Screenshots / Recordings 的位置 Code Changes 之后 描述最前面,Requirement or Bug 之前 按旧顺序写描述的作者和 agent;已开的 PR 不受影响 无,纯文档约定
没有 UI 变化的 PR 不加这一节 不变 — —

只改文档,不涉及产品代码和测试;pnpm run check:duplication 通过。

Checklist

  • I have read the CONTRIBUTING document.
  • I have linked a related issue (external PRs: issue must have a maintainer's /approve).
  • I have added tests that prove my feature works.
  • The behavior-change table above is complete, and every removed behavior or flipped default is named in the changeset and either has an escape hatch or was explicitly approved by a maintainer in this PR.
  • Ran gen-changesets skill, or this PR needs no changeset.
  • Ran gen-docs skill, or this PR needs no doc update.

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.
@changeset-bot

changeset-bot Bot commented Nov 23, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 00146da

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 23, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-23T05:13:31.430031Z 00146da PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@pkg-pr-new

pkg-pr-new Bot commented Nov 23, 2026

Copy link
Copy Markdown
pnpm dlx https://pkg.pr.new/@moonshot-ai/kimi-code@00146da
npx https://pkg.pr.new/@moonshot-ai/kimi-code@00146da

commit: 00146da

@wbxl2000
wbxl2000 merged commit 6d4a79c into main Nov 23, 2026
36 of 37 checks passed
@wbxl2000
wbxl2000 deleted the docs/pr-screenshots-first branch November 23, 2026 06:24
7723qqq pushed a commit to 7723qqq/kimi-code that referenced this pull request Nov 25, 2026
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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants