注意
- 本库中的示例旨在提供灵感——我们鼓励您根据自己的项目、语言和团队流程进行更具体的调整。
- 欲查看社区贡献的针对特定语言和场景的自定义指令示例,请参阅 超赞的 GitHub Copilot 定制 仓库。
- 您可以根据创建自定义指令的平台或 IDE,在不同范围内应用它们。如需了解更多信息,请参阅“关于定制 GitHub Copilot 响应”。
以下示例展示了自定义指令,指导 GitHub Copilot 创建结构良好、可操作的 GitHub 问题,并提供有效的问题管理。
When creating or managing GitHub issues: ## Bug Report Essentials **Description**: Clear, concise summary of the problem **Steps to Reproduce**: Numbered list of exact actions that cause the issue **Expected vs Actual Behavior**: What should happen vs what actually happens **Environment**: OS, browser/client, app version, relevant dependencies **Additional Context**: Screenshots, error logs, or stack traces ## Feature Request Structure **Problem**: What specific problem does this solve? **Proposed Solution**: Brief description of the suggested approach **Use Cases**: 2-3 concrete examples of when this would be valuable **Success Criteria**: How to measure if the feature works ## Issue Management Best Practices - Use clear, descriptive titles that summarize the request - Apply appropriate labels: bug/feature, priority level, component areas - Ask clarifying questions when details are missing - Link related issues using #number syntax - Provide specific next steps and realistic timelines ## Key Response Guidelines - Request reproduction steps for unclear bugs - Ask for screenshots/logs when visual issues are reported - Explain technical concepts clearly for non-technical users - Update issue status regularly with progress information Focus on making issues actionable and easy for contributors to understand.
When creating or managing GitHub issues:
## Bug Report Essentials
**Description**: Clear, concise summary of the problem
**Steps to Reproduce**: Numbered list of exact actions that cause the issue
**Expected vs Actual Behavior**: What should happen vs what actually happens
**Environment**: OS, browser/client, app version, relevant dependencies
**Additional Context**: Screenshots, error logs, or stack traces
## Feature Request Structure
**Problem**: What specific problem does this solve?
**Proposed Solution**: Brief description of the suggested approach
**Use Cases**: 2-3 concrete examples of when this would be valuable
**Success Criteria**: How to measure if the feature works
## Issue Management Best Practices
- Use clear, descriptive titles that summarize the request
- Apply appropriate labels: bug/feature, priority level, component areas
- Ask clarifying questions when details are missing
- Link related issues using #number syntax
- Provide specific next steps and realistic timelines
## Key Response Guidelines
- Request reproduction steps for unclear bugs
- Ask for screenshots/logs when visual issues are reported
- Explain technical concepts clearly for non-technical users
- Update issue status regularly with progress information
Focus on making issues actionable and easy for contributors to understand.
延伸阅读
- 关于定制 GitHub Copilot 响应 - GitHub Copilot 响应定制概览
- 为 GitHub Copilot 配置自定义指令 - 如何配置自定义指令
- 超赞的 GitHub Copilot 定制 - 社区贡献的针对特定语言和场景的自定义指令及其他定制的仓库