Skip to content

chore: restructure PR template with new sections, add write-pr and review-pr skills - #3992

Merged
liruifengv merged 3 commits into
mainfrom
chore/update-pr-template
Sep 23, 2026
Merged

liruifengv merged 3 commits into
mainfrom
chore/update-pr-template

Conversation

@liruifengv

@liruifengv liruifengv commented Sep 23, 2026 •

Copy link
Copy Markdown
Collaborator

Requirement or Bug

The existing PR template is too simple — it lacks structured sections for bug reproduction steps, root cause, and impact scope that are critical for efficient review.

Bug Reproduction Steps

N/A

Root Cause

N/A

Code Changes

Rewrote the PR template and added two new agent skills:

 .github/
-└── pull_request_template.md       # old: Related Issue / Problem / What changed
+└── pull_request_template.md       # new: Requirement / Bug Steps / Root Cause / Code Changes / Impact Scope
 .agents/skills/
+├── write-pr/SKILL.md              # workflow for writing PR descriptions with visual outlines
+└── review-pr/SKILL.md             # workflow for reviewing PRs with Chinese review summaries

Template section changes:

-## Related Issue
-## Problem
-## What changed
+## Requirement or Bug
+## Bug Reproduction Steps
+## Root Cause
+## Code Changes
+## Impact Scope
 ## Checklist

The write-pr skill teaches agents to use visual outlines (diff blocks, call trees, file trees, component trees) instead of prose when describing code changes. The review-pr skill provides a structured review workflow with Chinese output, evaluating each template section against the actual diff.

Impact Scope

  • .github/pull_request_template.md — affects all future PR descriptions
  • .agents/skills/write-pr/SKILL.md — new skill, no existing behavior changed
  • .agents/skills/review-pr/SKILL.md — new skill, no existing behavior changed

No code logic affected. Template renders correctly in GitHub PR preview.

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.
  • Ran gen-changesets skill, or this PR needs no changeset.
  • Ran gen-docs skill, or this PR needs no doc update.

Copilot AI balanced review requested due to automatic review settings September 23, 2026 04:16
@changeset-bot

changeset-bot Bot commented Sep 23, 2026 •

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: a88785f

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

Copy link
Copy Markdown

Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits.
Credits must be used to enable repository wide code reviews.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot review overview

🔵 Needs a closer look

PR 模板仍与相关 skill 不一致,且 Checklist 标题尚未中文化。

Review effort: Balanced
Findings: None

What changed in this PR

将 GitHub PR 模板改写为中文结构化格式,以改善评审信息收集。

Changes:

  • 新增需求、复现步骤、根因、代码变更及影响范围章节。
  • 中文化填写说明与 Checklist 内容。
  • 保留外部 PR 限制声明。
File Review
.github/​pull_request_template.md 需同步更新 sync-changelog skill 中的旧标题,并将可见的 Checklist 标题改为中文。

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@pkg-pr-new

pkg-pr-new Bot commented Sep 23, 2026 •

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

commit: a88785f

@liruifengv liruifengv changed the title chore: rewrite PR template in Chinese with structured sections chore: restructure PR template with new sections, add write-pr and review-pr skills Sep 23, 2026
@liruifengv
liruifengv merged commit 75d6767 into main Sep 23, 2026
15 checks passed
@liruifengv
liruifengv deleted the chore/update-pr-template branch September 23, 2026 09:00
7723qqq pushed a commit to 7723qqq/kimi-code that referenced this pull request Oct 5, 2026
Step 9 of the incremental sync to 2.1.1: 24 upstream commits over 321
files. The step brings the TUI mode setting, the jump-to-bottom
indicator, click-to-toggle transcript folds, banner audience targeting
and the workspace-trust hardening.

Upstream's changes in this step, all absorbed:
- add a TUI mode setting for the fullscreen layout (MoonshotAI#4004)
- add a jump-to-bottom indicator and a steady status row (MoonshotAI#3989)
- toggle one transcript fold block with a click (MoonshotAI#3990)
- support audience targeting for startup banners (MoonshotAI#3868)
- harden workspace trust boundaries across git, file tools and the
  local web server (MoonshotAI#3964)
- turn off filesystem watch by default (MoonshotAI#3931)
- add the auto_session_title config option (MoonshotAI#3962)
- prepend a wall-time header to persisted tool results (MoonshotAI#3966)
- report enabled plugins and plugin toggles in telemetry (MoonshotAI#3963)
- include step timing and usage in cold-folded steps (MoonshotAI#3938)
- restore swarm members from persisted lifecycle events (MoonshotAI#3970)
- enforce tower protocol invariants and deny AgentSwarm (MoonshotAI#3976)
- inherit titleKind for default fork titles (MoonshotAI#3974)
- request offline_access in MCP OAuth when the authorization server
  advertises it (MoonshotAI#3979)
- cut CLI startup time and memory in the native binary and config reads
  (MoonshotAI#3975)
- avoid a stack overflow when caching large wire files (MoonshotAI#3957)
- reject non-ASCII mission titles and record token usage (MoonshotAI#3847)
- pick the credential slot and relay from the login region (MoonshotAI#3969)
- add the KIMI_CODE_REPEAT_BREAKER env switch (MoonshotAI#3995)
- update the kimi-webbridge plugin to the 2.0.11 skill (MoonshotAI#3961)
- restructure the PR template and add the write-pr and review-pr skills
  (MoonshotAI#3992)

Fork behaviour that had to survive:
- the TUI controller split: upstream's rewritten activity-pane logic
  (braille thinking/composing spinners, the shared loading-tip kind) was
  ported into the fork's ActivityPaneController, and KimiTUI keeps
  delegating to it
- the i18n layer: the new TUI mode setting, its picker, the restart
  notice and the settings entry all go through `t()` with en/zh entries
- the fork's node-local → host rename: the upstream test files that
  still imported `#/os/backends/node-local/hostFsService` now point at
  `#/os/backends/host/hostFsService`
- the fork's inline media reading: upstream's realpath guard for the
  media tool is covered by a ReadTool-based symlink-escape test
- the fork's removePlugin deletes the plugin root from disk, so the new
  toggle-telemetry fixture keeps its root inside the managed directory
- the Bun toolchain: the retired Node SEA chain stays retired

Verified: typecheck clean across every package and app; full suite
17831 passed / 0 failed / 81 skipped / 1 todo, plus kimi-inspect's own
115 tests; lint 0 errors.
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.

3 participants