update-issue
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseYou 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 for detailed requirements and examples.
rules/你需要更新GitHub Issue。从现有Issue、文档和代码中推断项目的语言变体(美式/英式英语),并在所有输出中保持一致。
阅读目录下的单个规则文件,获取详细要求和示例。
rules/Rules Overview
规则概述
| Rule | Impact | File |
|---|---|---|
| Issue title | HIGH | |
| Template adherence | MEDIUM | |
| 规则 | 影响程度 | 文件 |
|---|---|---|
| Issue标题 | HIGH | |
| 模板遵循度 | MEDIUM | |
Workflow
工作流程
- Identify the issue to update (from user input or ask)
- View current issue details:
gh issue view <number> - Check for issue templates in
.github/ISSUE_TEMPLATE/ - Determine what to update (title, body, labels, assignees, state)
- Apply updates following rules, using
gh issue edit - Display summary of changes with link to updated issue
- 确定要更新的Issue(从用户输入获取或询问用户)
- 查看当前Issue详情:
gh issue view <number> - 检查目录下的Issue模板
.github/ISSUE_TEMPLATE/ - 确定要更新的内容(标题、正文、标签、经办人、状态)
- 遵循规则应用更新,使用命令
gh issue edit - 显示更改摘要及更新后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 - 标签:仅使用仓库中已存在的标签
- 经办人:仅分配给仓库的有效协作者