Loading...
Loading...
Compare original and translation side by side
gh auth status
gh repo view --json name,owner,urlghgh auth status
gh repo view --json name,owner,urlghbugenhancementcriticaluibackendbugenhancementcriticaluibackendj***@example.com[user_id][redacted][REDACTED_API_KEY][REDACTED_TOKEN][internal_ip][internal_host]j***@example.com[user_id][redacted][REDACTED_API_KEY][REDACTED_TOKEN][internal_ip][internal_host]undefinedundefined
If templates exist, read them and use their structure for the proposed issues. Match each issue to the most appropriate template (e.g., bug report template for bugs, feature request template for enhancements).
If no templates exist, use this default structure:
```markdown
如果存在模板,请读取并使用其结构生成提案Issue。将每个Issue与最合适的模板匹配(例如:bug使用bug报告模板,功能需求使用功能请求模板)。
如果没有模板,请使用以下默认结构:
```markdownundefinedundefinedgh issue list --state open --limit 30gh issue list --state open --limit 30undefinedundefinedbugui[Show the full issue body as it will appear on GitHub]
If proposing updates to existing issues, show what will be added (as a comment or body edit) and link to the existing issue.
End with a clear prompt:
> **Does this look right?** You can:
> - Say **"go"** or **"approve"** to create/update all issues as shown
> - Say **"skip 2"** to exclude a specific issue
> - Ask me to modify any issue before creating it
> - Say **"cancel"** to abort
**Do not proceed until the user explicitly approves.** This is critical — creating issues is a visible action that others will see.bugui[展示将在GitHub上显示的完整Issue正文]
如果提案是更新现有Issue,请展示将要添加的内容(作为评论或正文编辑)并链接到现有Issue。
结尾给出明确提示:
> **这样是否合适?** 您可以:
> - 回复**"go"**或**"approve"**以按所示创建/更新所有Issue
> - 回复**"skip 2"**以排除特定Issue
> - 要求我修改任意Issue后再创建
> - 回复**"cancel"**以中止操作
**在获得用户明确批准前请勿继续。** 这一点至关重要——创建Issue是会被其他人看到的公开操作。ghgh issue create --title "TITLE" --body "$(cat <<'ISSUE_BODY'
... issue body ...
ISSUE_BODY
)" --label "bug,ui"gh issue comment ISSUE_NUMBER --body "$(cat <<'COMMENT_BODY'
... update content ...
COMMENT_BODY
)"gh issue edit ISSUE_NUMBER --add-label "label1,label2"Done! Created/updated the following issues:
- #42: Login button unresponsive on mobile Safari
- #38: (updated) Add dark mode support — added reproduction details
ghgh issue create --title "TITLE" --body "$(cat <<'ISSUE_BODY'
... issue body ...
ISSUE_BODY
)" --label "bug,ui"gh issue comment ISSUE_NUMBER --body "$(cat <<'COMMENT_BODY'
... 更新内容 ...
COMMENT_BODY
)"gh issue edit ISSUE_NUMBER --add-label "label1,label2"完成! 创建/更新了以下Issue:
- #42:移动端Safari登录按钮无响应
- #38:(已更新)添加深色模式支持——补充了复现细节
Done! Created/updated the following issues:
- #47: Login button unresponsive on mobile Safari
https://github.com/acme/webapp/issues/47
Labels: bug, ui, mobileundefinedDone! Created/updated the following issues:
- #47: Login button unresponsive on mobile Safari
https://github.com/acme/webapp/issues/47
Labels: bug, ui, mobileundefinedundefinedundefinedgh auth status.ymlgh auth status.ymlgh auth statusgh repo viewgh label listgh auth statusgh repo viewgh label list◆ [Step Name] ([step N of M] — [context])
··································································
[Check 1]: √ pass
[Check 2]: √ pass (note if relevant)
[Check 3]: × fail — [reason]
[Check 4]: √ pass
[Criteria]: √ N/M met
____________________________
Result: PASS | FAIL | PARTIAL√×—◆ [步骤名称] ([第N步/共M步] — [上下文])
··································································
[检查项1]: √ 通过
[检查项2]: √ 通过(相关备注)
[检查项3]: × 未通过 — [原因]
[检查项4]: √ 通过
[验收标准]: √ 已满足N/M项
____________________________
结果: 通过 | 未通过 | 部分通过√×—◆ Extract (step 1 of 3 — [input type: screenshot/email/text])
··································································
Input parsed: √ pass | × fail — [parse error]
Data extracted: √ pass ([N] issues identified)
PII redacted: √ pass | × fail — [what was found/removed]
____________________________
Result: PASS | FAIL | PARTIAL◆ Template Detection (step 2 of 3 — [repo name])
··································································
Templates found: √ pass ([N] templates) | × fail — using default
Fields mapped: √ pass | × fail — [unmapped fields]
____________________________
Result: PASS | FAIL | PARTIAL◆ Create/Update (step 3 of 3 — [N issues])
··································································
Issue created: √ pass (#[number]: [title])
Labels applied: √ pass | × fail — [labels missing]
Assignees set: √ pass | × fail — [assignees not set]
____________________________
Result: PASS | FAIL | PARTIAL◆ 提取(第1步/共3步 — [输入类型:截图/邮件/文本])
··································································
输入解析: √ 通过 | × 未通过 — [解析错误]
数据提取: √ 通过(识别出[N]个Issue)
PII脱敏: √ 通过 | × 未通过 — [发现/移除的内容]
____________________________
结果: 通过 | 未通过 | 部分通过◆ 模板检测(第2步/共3步 — [仓库名称])
··································································
找到模板: √ 通过([N]个模板) | × 未通过 — 使用默认模板
字段映射: √ 通过 | × 未通过 — [未映射字段]
____________________________
结果: 通过 | 未通过 | 部分通过◆ 创建/更新(第3步/共3步 — [N个Issue])
··································································
Issue创建: √ 通过(#[编号]: [标题])
标签应用: √ 通过 | × 未通过 — [缺失标签]
经办人设置: √ 通过 | × 未通过 — [未设置经办人]
____________________________
结果: 通过 | 未通过 | 部分通过gh label list --limit 50.ymlgh label list --limit 50.yml