capture
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseInputs
输入
- Free-text description of an idea, bug, or feature request
- 关于想法、Bug、功能需求的自由文本描述
Steps
步骤
-
Parse the description to detect type:
Keywords Type Labels error, crash, broken, fix, bug, fails, regression Bug ,triagebugadd, want, should, new, feature, enhance, improve Feature ,triageenhancementDefault Feature ,triageenhancement -
Create GitHub Issue:bash
gh issue create \ --title "<concise title from description>" \ --body "<full description>" \ --label "triage" --label "<bug or enhancement>" -
Return the issue number and URL.
-
解析描述以检测类型:
关键词 类型 标签 error, crash, broken, fix, bug, fails, regression Bug ,triagebugadd, want, should, new, feature, enhance, improve 功能需求 ,triageenhancement默认 功能需求 ,triageenhancement -
创建GitHub Issue:bash
gh issue create \ --title "<concise title from description>" \ --body "<full description>" \ --label "triage" --label "<bug or enhancement>" -
返回 Issue编号和URL。
Fallback
降级方案
If is not available or GitHub access fails:
gh- Try GitHub MCP tools (if available)
- If neither works → append to :
ai-workspace/scratchpad.mdInform the user that the capture was saved locally.markdown## Captured [date] **Type**: [bug/feature] **Description**: [text] _Failed to create GitHub Issue — saved here as fallback._
如果不可用或者GitHub访问失败:
gh- 尝试使用GitHub MCP工具(如果可用)
- 如果两者都不可用 → 追加到:
ai-workspace/scratchpad.md通知用户捕获的内容已保存在本地。markdown## Captured [date] **Type**: [bug/feature] **Description**: [text] _Failed to create GitHub Issue — saved here as fallback._
Edge Cases
边界情况
- No description provided → ask the user to describe the idea/bug
- Offline / no GitHub access → scratchpad fallback (see above)
- 未提供描述 → 要求用户描述相关想法/Bug
- 离线/无GitHub访问权限 → 采用草稿本降级方案(见上文)