diff --git a/.github/PULL_REQUEST_TEMPLATE.zh_CN.md b/.github/PULL_REQUEST_TEMPLATE.zh_CN.md index c513da6..add2afd 100644 --- a/.github/PULL_REQUEST_TEMPLATE.zh_CN.md +++ b/.github/PULL_REQUEST_TEMPLATE.zh_CN.md @@ -2,7 +2,7 @@ 简体中文 · English

-> GitHub 默认使用英文 PR 模板。本文件仅作为中文填写参考,提交的 PR 标题与正文仍须使用英文。 +> GitHub 默认使用英文 PR 模板。本文件仅作为中文填写参考。PR 标题须使用英文;正文可用英文,或英文加简体中文混排(双语)。 ## 摘要 diff --git a/docs/contribution/commit-and-pr.md b/docs/contribution/commit-and-pr.md index eeeceb3..8989b88 100644 --- a/docs/contribution/commit-and-pr.md +++ b/docs/contribution/commit-and-pr.md @@ -16,8 +16,8 @@ ## Pull requests -- Use the same Conventional Commit format and English imperative style for the PR title. -- Write the PR body in English and complete `.github/PULL_REQUEST_TEMPLATE.md`. +- Use English for the PR title, following the Conventional Commit format and English imperative style. +- Write the PR body in English, or English plus Simplified Chinese (bilingual). Complete `.github/PULL_REQUEST_TEMPLATE.md`. - Report Build, Host tests, and Device tests separately. Put unperformed hardware work under `Unverified`. - Pin, rotation, codec-clock, ADC, DMA, Flash-layout, and power changes require the board revision and observed hardware results before the PR is ready to merge. - Attach a photo or screenshot for display changes and explicitly describe wiring, pin-map, persistent-format, and compatibility impacts. diff --git a/docs/contribution/commit-and-pr.zh_CN.md b/docs/contribution/commit-and-pr.zh_CN.md index 8433cb6..5ef1256 100644 --- a/docs/contribution/commit-and-pr.zh_CN.md +++ b/docs/contribution/commit-and-pr.zh_CN.md @@ -16,8 +16,8 @@ ## PR 约定 -- PR 标题与 commit 标题使用同一格式和英文祈使句,例如 `docs: streamline AI development workflow`。 -- PR body 使用英文,至少填写 `.github/PULL_REQUEST_TEMPLATE.md` 中的摘要、兼容性和验证结果。 +- PR 标题使用英文,采用 Conventional Commit 格式和英文祈使句,例如 `docs: streamline AI development workflow`。 +- PR body 使用英文,或英文加简体中文混排(双语);至少填写 `.github/PULL_REQUEST_TEMPLATE.md` 中的摘要、兼容性和验证结果。 - Build、Host tests 和 Device tests 必须分开报告;未执行的真机项目写入 `Unverified`,不能用编译成功代替实机验证。 - 对引脚、显示旋转、codec 时钟、ADC、DMA、Flash 布局或电源行为的修改,必须记录板卡版本和观察到的真机结果;未验证时不得标记 ready for merge。 - 显示类改动附照片或截图;涉及接线、引脚映射、持久化格式或兼容性的改动必须显式说明。 diff --git a/docs/development/file-issues.md b/docs/development/file-issues.md index 5462723..75e7f1f 100644 --- a/docs/development/file-issues.md +++ b/docs/development/file-issues.md @@ -32,8 +32,9 @@ Fill the template fields completely. Feature requests use these fields: - Additional context - Safety check -Write the title and body in English for an upstream-facing issue; keep the -template's field labels as the template defines them (bilingual). +Write the title in English for an upstream-facing issue; write the body in +English or English plus Simplified Chinese (bilingual). Keep the template's +field labels as the template defines them (bilingual). ## Collect and screen diff --git a/docs/development/file-issues.zh_CN.md b/docs/development/file-issues.zh_CN.md index c3f0e48..340526a 100644 --- a/docs/development/file-issues.zh_CN.md +++ b/docs/development/file-issues.zh_CN.md @@ -26,7 +26,7 @@ issue 用于提交围绕固件、BSP、硬件或文档的用户建议、功能 - 补充信息 - 安全确认 -面向上游的 issue,标题与正文用英文书写;模板的字段标签按模板定义保留双语。 +面向上游的 issue,标题用英文书写;正文可用英文,或英文加简体中文混排(双语);模板的字段标签按模板定义保留双语。 ## 收集与筛选 diff --git a/skills/issue-suggestions/SKILL.md b/skills/issue-suggestions/SKILL.md index de1e9d8..42b750e 100644 --- a/skills/issue-suggestions/SKILL.md +++ b/skills/issue-suggestions/SKILL.md @@ -74,7 +74,8 @@ matching entry: ## Draft, review, and submit -1. Draft the issue content (English title and body, keeping field labels as the +1. Draft the issue content (English title; body in English or English plus + Simplified Chinese (bilingual), keeping field labels as the template defines), sanitized of credentials and private data. 2. Present the draft to the developer and wait for explicit authorization. 3. Only after approval, submit through the first available GitHub channel diff --git a/skills/issue-suggestions/SKILL.zh_CN.md b/skills/issue-suggestions/SKILL.zh_CN.md index c0120bf..72a16cc 100644 --- a/skills/issue-suggestions/SKILL.zh_CN.md +++ b/skills/issue-suggestions/SKILL.zh_CN.md @@ -56,7 +56,7 @@ GitHub issue。它只在固件已发布(发布流程见 `docs/development/publ ## 起草、审查、提交 -1. 起草 issue 内容(标题与正文用英文,字段标签按模板定义),去除凭证和私有数据。 +1. 起草 issue 内容(标题用英文,正文可用英文或英文加简体中文混排;字段标签按模板定义),去除凭证和私有数据。 2. 把草案交给开发者,等待明确授权。 3. 仅在批准后,通过第一个可用的 GitHub 通道(GitHub MCP、GitHub skill、或 `gh issue create --repo FoloToy/ai-passport`)提交,并回读确认创建结果。