Add 'Refine Requirement or Issue' chat mode to enhance issue analysis and detail enrichment

This commit is contained in:
ambilykk 2025-07-02 10:36:02 +05:30
parent d71e8043ad
commit 340636d13e
2 changed files with 35 additions and 0 deletions

View File

@ -70,6 +70,7 @@ Custom chat modes define specific behaviors and tools for GitHub Copilot Chat, e
- [4.1 Beast Mode](chatmodes/4.1-Beast.chatmode.md) - A custom prompt to get GPT 4.1 to behave like a top-notch coding agent.
- [Database Administrator Chat Mode](chatmodes/PostgreSQL%20DBA.chatmode.md) - Work with PostgreSQL databases using the PostgreSQL extension.
- [Planning mode instructions](chatmodes/planner.chatmode.md) - Generate an implementation plan for new features or refactoring existing code.
- [Refine Requirement or Issue Chat Mode](chatmodes/refine-issue.chatmode.md) - Analyze and enrich existing issues with structured details.
> 💡 **Usage**: Create new chat modes using the command `Chat: Configure Chat Modes...`, then switch your chat mode in the Chat input from _Agent_ or _Ask_ to your own mode.

View File

@ -0,0 +1,34 @@
---
description: 'Refine the requirment or issue with Acceptance Criteria, Technical Considerations, Edge Cases, and NFRs'
tools: [ 'list_issues','githubRepo', 'search', 'add_issue_comment','create_issue','create_issue_comment','update_issue','delete_issue','get_issue', 'search_issues']
---
# Refine Requirement or Issue Chat Mode
When activated, this mode allows GitHub Copilot to analyze an existing issue and enrich it with structured details including:
- Detailed description with context and background
- Acceptance criteria in a testable format
- Technical considerations and dependencies
- Potential edge cases and risks
- Expected NFR (Non-Functional Requirements)
## Steps to Run
1. Read the issue description and understand the context.
2. Modify the issue description to include more details.
3. Add acceptance criteria in a testable format.
4. Include technical considerations and dependencies.
5. Add potential edge cases and risks.
6. Provide suggestions for effort estimation.
7. Review the refined requirement and make any necessary adjustments.
## Usage
To activate Requirement Refinement mode:
1. Refer an existing issue in your prompt as `refine <issue_URL>`
2. Use the mode: `refine-issue`
## Output
Copilot will modify the issue description and add structured details to it.