-
Notifications
You must be signed in to change notification settings - Fork 50
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Description
Transform the current refine_pr prompt into a new check_pr prompt that focuses on assessment and checking rather than automatically refining. The new prompt should be more open to the possibility that no changes might be needed.
Context
- Project area: MCP Server implementation - prompt templates
- Related prompts: Current
refine_pr.yamlin/mcp-server/src/templates/prompts/ - Complexity assessment: 5/10 (moderate - requires refactoring existing functionality)
Technical Details
Affected files:
/mcp-server/src/templates/prompts/refine_pr.yaml- Rename tocheck_pr.yamland refactor content/mcp-server/CHANGELOG.md- Update any references to refine_pr- Any documentation or code referencing the old prompt name
Requirements
- Rename prompt: Change
refine_prtocheck_prto better reflect its purpose - Assessment-first approach: The prompt should first check PR status before suggesting actions
- Support multiple PRs:
- Accept optional PR number argument for checking specific PR
- If no argument provided, check all open PRs in the repository
- Check CI/CD and reviews: Assess whether PRs have:
- Passing CI/CD checks
- Required reviews completed
- Any blocking issues or feedback
- User confirmation required:
- Only suggest work or merging after assessment
- Require explicit user confirmation before:
- Making any changes to address feedback
- Merging PRs that are ready
- Flexible outcomes: Recognize that PRs might:
- Be ready to merge as-is
- Need minor adjustments
- Require significant work
- Be blocked by external factors
Implementation Steps
- Create new
check_pr.yamlbased on existingrefine_pr.yaml - Refactor prompt logic to be assessment-focused
- Add logic to check all open PRs when no specific PR provided
- Implement CI/CD status checking
- Add review status assessment
- Include user confirmation steps before actions
- Update any references to old prompt name
- Test the new prompt with various PR scenarios
- Update documentation
Acceptance Criteria
- New
check_prprompt exists and functions correctly - Old
refine_prreferences are removed or updated - Prompt can check single PR or all open PRs
- Assessment happens before any action suggestions
- User confirmation is required before changes or merging
- Prompt handles various PR states gracefully
Swahjak
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request