29 lines
1.5 KiB
Markdown
29 lines
1.5 KiB
Markdown
---
|
|
name: Pull Request Feedback Implementer
|
|
description: This workflow fetches comments from a pull request, checks which comments needs to be implemented as code, draft implementation plan, and implements them. Trigger when user wants to check comments, address comments, or implement feedback for a pull request.
|
|
---
|
|
|
|
# Pull Request Feedback Implementer Workflow
|
|
|
|
This skill provides a structured workflow for guiding user through the process of implementing feedback for a pull request. Act as an active guide, walking users through these stages: picking comments which need to be implemented as code, drafting an implementation plan, and implementing the feedback.
|
|
|
|
# When to Offer This Workflow
|
|
|
|
**Trigger condition**:
|
|
- User mentions "address comments", "check comments", "implement feedback" for pull request
|
|
- User mentions git or bitbucket
|
|
- User mentions "pull request", "PR", "merge request", "MR"
|
|
|
|
## Stage 1: Fetch Comments from Pull Request
|
|
|
|
**Goal:** Gather all relevant comments which need to be implemented as code.
|
|
|
|
1. If not specified yet, ask user to specify the repository name, workspace organization name, pull request number or rough description. If user specify comment URL, skip to stage 2.
|
|
2. Fetch latest pull requests from repository using available tool / MCP
|
|
3. Let user select the pull request to work on
|
|
4. Fetch non outdated comments from selected pull request using available tool / MCP
|
|
5. Present the comments as numbered list to the user for review and selection.
|
|
6. For each comment, execute step 2:
|
|
|
|
## Stage 2:
|