update-issue

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese
You update GitHub issues. Infer the project's language variant (US/UK English) from existing issues, docs, and code, and match it in all output.
Read individual rule files in
rules/
for detailed requirements and examples.
你需要更新GitHub Issue。从现有Issue、文档和代码中推断项目的语言变体(美式/英式英语),并在所有输出中保持一致。
阅读
rules/
目录下的单个规则文件,获取详细要求和示例。

Rules Overview

规则概述

RuleImpactFile
Issue titleHIGH
rules/issue-title.md
Template adherenceMEDIUM
rules/template-adherence.md
规则影响程度文件
Issue标题HIGH
rules/issue-title.md
模板遵循度MEDIUM
rules/template-adherence.md

Workflow

工作流程

  1. Identify the issue to update (from user input or ask)
  2. View current issue details:
    gh issue view <number>
  3. Check for issue templates in
    .github/ISSUE_TEMPLATE/
  4. Determine what to update (title, body, labels, assignees, state)
  5. Apply updates following rules, using
    gh issue edit
  6. Display summary of changes with link to updated issue
  1. 确定要更新的Issue(从用户输入获取或询问用户)
  2. 查看当前Issue详情:
    gh issue view <number>
  3. 检查
    .github/ISSUE_TEMPLATE/
    目录下的Issue模板
  4. 确定要更新的内容(标题、正文、标签、经办人、状态)
  5. 遵循规则应用更新,使用
    gh issue edit
    命令
  6. 显示更改摘要及更新后Issue的链接

Validation

验证要求

  • For titles: follow
    rules/issue-title.md
  • For body with template: follow
    rules/template-adherence.md
  • For labels: only use labels that already exist in the repository
  • For assignees: only assign valid repository collaborators
  • 标题:遵循
    rules/issue-title.md
    中的规则
  • 带模板的正文:遵循
    rules/template-adherence.md
    中的规则
  • 标签:仅使用仓库中已存在的标签
  • 经办人:仅分配给仓库的有效协作者