issue-writing
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseIssue and PR Writing
Issue与PR撰写
Write issue, pull request, and merge request titles, bodies, and comments for GitHub, GitLab, and similar platforms. Keep the wording concise, accurate, calm, skeptical, and human. Prefer concrete context over boilerplate, and use platform-neutral wording unless the user or surrounding context calls for platform-specific terms.
Writing rules
撰写规则
- For English prose, follow these style guides, and apply their language-agnostic rules to prose in any language:
- The Elements of Style
- The Sense of Style
- Chicago Manual of Style
- Use consistent formatting within the same response.
- Insert spaces between English words and CJK characters.
- Use (hyphen plus space) for unordered list items; never use
-or*.+ - Use for italics and
_italics_for bold.**bold** - Avoid horizontal dividers (or
<hr>); never place them immediately before or after headings.--- - Never number headings (e.g., , not
## About me).## 1. About me - For list items, omit the trailing period when all items are fragments; if any item is a complete sentence, end every item with a period.
- 英文文案需遵循以下风格指南,且其语言无关规则适用于任何语言的文案:
- 《The Elements of Style》
- 《The Sense of Style》
- 《Chicago Manual of Style》
- 同一回复内使用一致的格式。
- 英文单词与中日韩字符之间需添加空格。
- 无序列表项使用 (连字符加空格);禁止使用
-或*。+ - 斜体使用 ,粗体使用
_italics_。**bold** - 避免使用水平分隔线(或
<hr>);切勿将其直接置于标题前后。--- - 标题切勿编号(例如:,而非
## About me)。## 1. About me - 对于列表项,若所有项均为片段,则省略末尾句号;若有任何项为完整句子,则所有项均需以句号结尾。
Formatting rules
格式规则
Titles
标题
- Issue titles use "Sentence case" (capitalize the first word only).
- Pull request and merge request titles use Conventional Commits format, following the skill:
git-commit<type>[optional scope]: <description>
- Issue标题采用「句首大写」格式(仅首单词大写)。
- Pull Request和Merge Request标题采用Conventional Commits格式,遵循技能规范:
git-commit<type>[可选范围]: <描述>
Body headings
正文标题
- Use headings only when they add structural clarity.
- When headings are useful, skip and
#; start visible section headings at##so they do not render too large.### - Do not force the text to begin with a heading. Even when headings are useful, a short opening sentence or paragraph can come first.
- 仅当标题能提升结构清晰度时才使用。
- 当需要使用标题时,跳过和
#;从##开始使用可见章节标题,避免渲染过大。### - 无需强制文本以标题开头。即使使用标题,也可先添加简短的开篇句子或段落。
Quality bar
质量标准
- Keep it concise. If it does not fit on one screen, it is too long.
- State the issue, request, or purpose clearly. Explain why it matters. Include concrete evidence.
- 保持简洁。内容超过一屏长度即为过长。
- 清晰说明问题、请求或目的。解释其重要性。包含具体证据。