Repository navigation
chore: restructure PR template with new sections, add write-pr and review-pr skills - #3992
Conversation
|
|
Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits. |
There was a problem hiding this comment.
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.
commit: |
…r, require write-pr skill in AGENTS.md
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.
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:
Template section changes:
The
write-prskill teaches agents to use visual outlines (diff blocks, call trees, file trees, component trees) instead of prose when describing code changes. Thereview-prskill 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 changedNo code logic affected. Template renders correctly in GitHub PR preview.
Checklist
/approve).gen-changesetsskill, or this PR needs no changeset.gen-docsskill, or this PR needs no doc update.