create-issue
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseNote: If you haveinstalled locally, you should usemcporterto invoke the MCP tool instead of directly calling the MCP tool. ThemcporterCLI provides a more convenient interface and better error handling.mcporter
注意:如果你本地安装了,请使用mcporter调用MCP工具,不要直接调用MCP工具。mcporterCLI提供了更便捷的操作接口和更完善的错误处理能力。mcporter
Create Issue via Gitee MCP
通过Gitee MCP创建Issue
Create a well-structured Issue on Gitee after clarifying the requirements with the user. This skill is designed for discussions about new requirements, improvements, or bug reports before they are formally created as Issues.
在与用户明确需求后,在Gitee上创建结构规范的Issue。此技能适用于在正式创建Issue前,针对新需求、功能优化或Bug报告进行讨论的场景。
Prerequisites
前置条件
- Gitee MCP Server configured (tools: ,
create_issue,list_repo_issues,list_user_repos)search_open_source_repositories - User must provide: repository owner/name (or search/select from available repositories)
- Optional: issue type (feature/bug/enhancement), priority, labels
- 已配置Gitee MCP Server(支持的工具:、
create_issue、list_repo_issues、list_user_repos)search_open_source_repositories - 用户需提供:仓库所属者/仓库名(或从可用仓库中搜索/选择)
- 可选信息:Issue类型(功能需求/Bug/优化)、优先级、标签
Steps
操作步骤
Step 1: Identify the Target Repository
步骤1:确定目标仓库
If the user hasn't specified a repository, ask which scenario:
Scenario A: User's own/private repository
- Use to list repositories the user has access to
list_user_repos - Let user select from the list
Scenario B: Open source/public repository
- Use to search for the repository
search_open_source_repositories - Verify by checking the repository URL format ()
owner/repo
If the user provides a repository directly (format: ), verify it exists by confirming with the user.
owner/repo如果用户未指定仓库,询问用户属于以下哪种场景:
场景A:用户自己的/私有仓库
- 使用列出用户有权限访问的仓库
list_user_repos - 让用户从列表中选择
场景B:开源/公开仓库
- 使用搜索目标仓库
search_open_source_repositories - 通过校验仓库URL格式()确认正确性
所有者/仓库名
如果用户直接提供了仓库(格式:),与用户确认该仓库是否存在。
所有者/仓库名Step 2: Clarify the Issue Content
步骤2:明确Issue内容
Discuss with the user to gather the following information:
For Bug Reports:
- What is the expected behavior?
- What is the actual behavior?
- How to reproduce the issue (reproduction steps)?
- Environment details (OS, version, browser, etc.)
- Any error messages or logs?
For Feature Requests:
- What problem does this feature solve?
- What is the proposed solution?
- Are there any similar features in other projects for reference?
- Any design preferences or constraints?
For Improvements:
- What aspect needs improvement?
- What are the suggested improvements?
- What is the expected outcome?
Use the following template to structure the discussion:
undefined与用户沟通收集以下信息:
Bug报告所需信息:
- 预期行为是什么?
- 实际行为是什么?
- 如何复现该问题(复现步骤)?
- 环境详情(操作系统、版本、浏览器等)
- 是否有错误信息或日志?
功能需求所需信息:
- 该功能要解决什么问题?
- 建议的解决方案是什么?
- 其他项目中是否有类似功能可参考?
- 是否有设计偏好或约束条件?
功能优化所需信息:
- 需要优化哪个方面?
- 建议的优化措施是什么?
- 预期的优化效果是什么?
使用以下模板结构化梳理沟通内容:
undefinedIssue Information
Issue Information
Type: [Bug / Feature / Enhancement / Question / Other]
Title: [Brief description - keep it under 50 characters]
Description:
[Detailed description of the issue]
Reproduction Steps (for bugs):
- Step 1
- Step 2
- Step 3
Expected Behavior:
[What should happen]
Actual Behavior:
[What actually happens]
Environment:
- OS:
- Version:
- Browser (if applicable):
Additional Context:
[Any other relevant information, screenshots, logs, etc.]
undefinedType: [Bug / Feature / Enhancement / Question / Other]
Title: [Brief description - keep it under 50 characters]
Description:
[Detailed description of the issue]
Reproduction Steps (for bugs):
- Step 1
- Step 2
- Step 3
Expected Behavior:
[What should happen]
Actual Behavior:
[What actually happens]
Environment:
- OS:
- Version:
- Browser (if applicable):
Additional Context:
[Any other relevant information, screenshots, logs, etc.]
undefinedStep 3: Validate and Refine
步骤3:校验与完善
Before creating the Issue:
- Check if a similar Issue already exists using
list_repo_issues - If duplicates are found, present them to the user
- Refine the title and description based on discussion
- Confirm with the user before creating
创建Issue前:
- 使用检查是否已存在类似Issue
list_repo_issues - 如果发现重复Issue,告知用户
- 根据沟通结果优化标题和描述
- 创建前与用户确认信息无误
Step 4: Create the Issue
步骤4:创建的Issue
Use to create the Issue with the following parameters:
create_issue- : repository owner
owner - : repository name
repo - : Issue title (concise and descriptive)
title - : Issue description (detailed and well-structured)
body - : (optional) comma-separated list of labels like
labels,bug,featureenhancement
Label recommendations:
| Type | Labels |
|---|---|
| Bug | |
| Feature | |
| Enhancement | |
| Question | |
| Documentation | |
使用创建Issue,传入以下参数:
create_issue- :仓库所有者
owner - :仓库名称
repo - :Issue标题(简洁清晰,描述准确)
title - :Issue描述(内容详尽,结构规范)
body - :(可选)逗号分隔的标签列表,如
labels、bug、featureenhancement
标签推荐:
| 类型 | 标签 |
|---|---|
| Bug | |
| 功能需求 | |
| 优化 | |
| 问题咨询 | |
| 文档 | |
Step 5: Confirm and Summary
步骤5:确认与总结
After successful creation:
- Display the Issue URL to the user
- Summarize what was created
- Ask if the user wants to:
- Start implementing (use skill)
implement-issue
- Start implementing (use
创建成功后:
- 向用户展示Issue的URL
- 总结已创建的Issue内容
- 询问用户是否需要:
- 开始实现该需求(使用技能)
implement-issue
- 开始实现该需求(使用
Example Conversations
对话示例
Example 1: Bug Report
User: I found a bug in the login page - it doesn't show error message when password is wrong.
You: Let me help you create a bug report. Could you please clarify:
1. What is the expected behavior? (e.g., "Show 'Invalid credentials' message")
2. What is the actual behavior? (e.g., "Nothing happens, page just reloads")
3. How to reproduce? (e.g., "Enter wrong password and click login")
4. What browser and OS are you using?
User: [Provides details...]
You: Here's the Issue I've prepared:
Title: Login page doesn't show error message for invalid credentials
...
Should I create this Issue?Example 2: Feature Request
User: I want to add dark mode to the app.
You: Great idea! Let me understand more about this feature:
1. What problem does dark mode solve? (e.g., "Reduce eye strain at night")
2. Should it follow system preference or be user-toggleable?
3. Any reference implementations you have in mind?
User: [Provides details...]
You: Here's the Issue I've prepared:
Title: Add dark mode support
...
Should I create this Issue?示例1:Bug报告
User: 我发现登录页面有个Bug——密码输错的时候不会显示错误提示。
You: 我来帮你创建Bug报告,麻烦你补充以下信息:
1. 预期行为是什么?(比如“显示'账号或密码错误'提示”)
2. 实际行为是什么?(比如“页面没有任何反应,只是重新加载”)
3. 复现步骤是什么?(比如“输入错误密码后点击登录按钮”)
4. 你使用的浏览器和操作系统是什么?
User: [提供相关信息...]
You: 这是我整理好的Issue内容:
Title: 登录页面输入错误凭证时未显示错误提示
...
是否确认创建该Issue?示例2:功能需求
User: 我想给应用加个暗黑模式。
You: 好主意!我需要再了解下这个功能的相关信息:
1. 暗黑模式要解决什么问题?(比如“减少夜间使用时的眼部疲劳”)
2. 应该跟随系统设置还是支持用户手动切换?
3. 有没有你觉得不错的参考实现?
User: [提供相关信息...]
You: 这是我整理好的Issue内容:
Title: 新增暗黑模式支持
...
是否确认创建该Issue?Notes
注意事项
- Always confirm the Issue details with the user before creating it
- Search for existing Issues first to avoid duplicates
- Use clear, descriptive titles that summarize the issue in one line
- Include all necessary details in the description to help others understand and reproduce
- For complex features, consider creating a technical design document as a comment after the Issue is created
- If the user wants to immediately work on the Issue, suggest using the skill afterwards
implement-issue
- 创建Issue前务必与用户确认所有信息无误
- 先搜索已存在的Issue,避免重复提交
- 使用清晰、描述性的标题,能一句话总结Issue内容
- 描述中包含所有必要信息,方便其他开发者理解和复现问题
- 对于复杂功能,可在Issue创建后作为评论补充技术设计文档
- 如果用户想要立即处理该Issue,建议后续使用技能
implement-issue