Coze
官网链接低代码 Agent/Workflow 平台,适合快速搭建自动化流程。
访问在 GitHub 仓库中,当新 Issue 创建时,自动调用 Copilot SDK 生成摘要、建议标签并在 Issue 下评论,提升开发者的工作效率。
Generate a concise summary and a list of suggested labels for GitHub issue {issue_id} in repository {repo_name}. Issue title: {issue_title}. Issue body: {issue_body}. Output JSON with fields: summary, labels, comment. If the SDK fails, output a fallback comment explaining the issue.此处仅展示模板里的占位变量,不是在本站输入。请复制 Prompt 后,在 Coze / Dify / ChatGPT 中替换这些变量。
{issue_id}GitHub Issue 的唯一编号
填写建议:替换为你的真实业务内容。
{repo_name}仓库名称,例如 owner/repo
填写建议:替换为你的真实业务内容。
{issue_title}Issue 的标题
填写建议:替换为你的真实业务内容。
{issue_body}Issue 的正文内容
填写建议:替换为你的真实业务内容。
可在浏览器本地填写变量,自动生成可直接运行的 Prompt。
{issue_id}GitHub Issue 的唯一编号
{repo_name}仓库名称,例如 owner/repo
{issue_title}Issue 的标题
{issue_body}Issue 的正文内容
生成结果预览
Generate a concise summary and a list of suggested labels for GitHub issue {issue_id} in repository {repo_name}. Issue title: {issue_title}. Issue body: {issue_body}. Output JSON with fields: summary, labels, comment. If the SDK fails, output a fallback comment explaining the issue.需要快速产出 Development 相关内容,并希望用结构化 Prompt 提升稳定性。
减少从零写 Prompt 的时间,降低输出质量不稳定、漏条件、漏格式的问题。
需要实时联网数据、外部数据库写入或多工具自动编排时,应使用完整工作流(Agent/Automation)版本。
继续浏览同类模板,并搭配相关工具提升效果。
还没有最近浏览记录。
1. 通过 GitHub Webhook 或 API 触发,获取 issue_id、repo_name、issue_title、issue_body。
2. 调用 Copilot SDK 的 issue 处理接口,传入上述变量,获取 JSON 响应。
3. 解析响应,提取 summary、labels、comment。
4. 使用 GitHub API 更新 Issue:添加 labels 并在 Issue 下评论 comment。
5. 将响应缓存到 Redis 或文件系统,供后续查询。
6. 若 SDK 调用失败,执行步骤 4 的 fallback 逻辑,使用关键字匹配生成简短评论。
Development
这些工具可与当前模板组合使用。