mpt-ext-workflow-address-review-feedback
Skill3 starsChanged 4 months agoApache-2.0View on GitHub
Run the full re-review iteration on an open PR: process review comments, validate the changes, commit, and update the branch for re-review. Excludes initial PR creation and post-merge Jira steps.
- Deletes or force-pushes
- Commits and pushes
In this repository34 other files it gives its agents.
- AGENTS.mdAGENTS.md
- .cursor/rules/mpt-extension-skills.mdcCursor rule
- mpt-ext-task-apply-dashboard-jira-decisionSkill
- mpt-ext-task-commit-changesSkill
- mpt-ext-task-create-initial-epicSkill
- mpt-ext-task-create-work-branchSkill
- mpt-ext-task-dependabot-pr-policy-fixSkill
- mpt-ext-task-ensure-active-sprintSkill
- mpt-ext-task-fix-pre-commit-failuresSkill
- mpt-ext-task-fix-repository-check-failuresSkill
- mpt-ext-task-handle-pr-commentsSkill
- mpt-ext-task-move-jira-to-code-reviewSkill
- mpt-ext-task-move-jira-to-qaSkill
- mpt-ext-task-notify-pr-ready-in-teamsSkill
- mpt-ext-task-open-pull-requestSkill
- mpt-ext-task-run-repository-checksSkill
- mpt-ext-task-start-jira-workSkill
- mpt-ext-task-update-docs-from-changesSkill
- mpt-ext-task-write-documentationSkill
- mpt-ext-task-write-python-unittestsSkill
- mpt-ext-tool-gh-pr-opsSkill
- mpt-ext-tool-git-branch-opsSkill
- mpt-ext-tool-jira-workitem-opsSkill
- mpt-ext-tool-teams-send-messageSkill
- mpt-ext-workflow-complete-after-mergeSkill
- mpt-ext-workflow-dashboard-failure-triageSkill
- mpt-ext-workflow-decompose-tdrSkill
- mpt-ext-workflow-fix-dependabot-prsSkill
- mpt-ext-workflow-hotfix-backportSkill
- mpt-ext-workflow-notify-pr-readySkill
- mpt-ext-workflow-send-to-reviewSkill
- mpt-ext-workflow-skill-authoringSkill
- mpt-ext-workflow-start-workSkill
- mpt-ext-workflow-update-documentationSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
18 rules. About 0 are common, 10 are distinctive, and 8 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈10
Distinctive · estimate
This author's own choices. Worth a look.
8
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 49
Read repository-specific docs when they exist, because they may extend or override shared guidance.
- Very specific: line 50
Read shared docs only when the repository explicitly points to them.
- Very specific: line 53
Use mpt-ext-task-handle-pr-comments to read the unresolved and unanswered review threads, triage the actionable feedback, and apply the …
- Distinctive: line 54
Stop when comment intent is ambiguous, conflicts with repository rules, or requires explicit user direction.
- Distinctive: line 56
Run repository validation for the applied fixes.
- Very specific: line 57
Use mpt-ext-task-run-repository-checks to execute the repository-required local validation flow for the changed scope.
- Very specific: line 58
If repository checks or tests fail, hand the failing output to mpt-ext-task-fix-repository-check-failures once.
- Distinctive: line 61
Update the commit history for the branch.
- Very specific: line 62
Use mpt-ext-task-commit-changes to stage the intended files and amend or create the repository-compliant commit for this review iteration.
- Very specific: line 63
If the commit is blocked by automatic pre-commit hook failures or hook-generated file rewrites, hand control to …
- Distinctive: line 66
Update the pull request branch.
- Very specific: line 68
Use mpt-ext-task-open-pull-request only when the PR title, description, or reporting contract must be refreshed instead of reimplementing …
- Distinctive: line 83
Never start from already resolved or already answered review threads unless the user explicitly asks to revisit them.
- Distinctive: line 84
Never skip repository-required validation after code changes made for review feedback.
- Distinctive: line 85
Never wrap a fix task that already owns its bounded loop in a second retry loop.
- Distinctive: line 86
Never create a duplicate pull request when updating the existing review branch.
- Very specific: line 87
Never move Jira to Code Review or QA inside this workflow.
- Distinctive: line 88
Never assume every review comment must be fixed.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Address Review Feedback
Purpose
Coordinate one review-feedback iteration from current PR comments through updated branch publication.
Use When
- The user wants to process review comments on an existing pull request.
- The task requires triaging comments, applying selected fixes or replies, rerunning validation, and updating the branch for another review pass.
- The workflow should stop once the updated branch is back in review.
Do Not Use When
- The task is to publish a branch for the first time.
- The task is to move Jira to
QAafter merge. - The task is only to address one review comment without the surrounding validation and update flow.
- The task is to wait for review or merge inside the same workflow.
Inputs
- Existing pull request context from the current branch or an explicit PR number.
- Jira issue key when Jira-linked reporting is needed.
- Repository validation, commit, and PR update rules from repo docs.
- Optional user direction about which comments to fix, which to reply to, and which to leave unresolved.
- GitHub authentication that can read review threads and push updates to the branch.
- Local Git identity and repository access needed to validate, amend or create commits, and push the branch.
- Installed shared package root:
${MPT_EXTENSION_SKILLS_HOME:-$HOME/.mpt-extension-skills}/currentAssumptions
- A pull request already exists for the branch being updated.
- Review feedback is currently active and the user wants another review iteration.
- The workflow should stop after the updated branch is pushed back for review.
Workflow
- Build repository context first.
- Read the target repository
AGENTS.mdonce per session. If you already loaded it earlier in this session and still have its full contents, reuse them instead of re-reading; if the context was summarized or you are unsure it is complete, read it again. Do not pre-load shared docs in this step; read them lazily only when the repository points to them. - Read repository-specific docs when they exist, because they may extend or override shared guidance.
- Read shared docs only when the repository explicitly points to them. Resolve those shared docs from
${MPT_EXTENSION_SKILLS_HOME:-$HOME/.mpt-extension-skills}/currentwhen available; otherwise read them from themainbranch of the shared GitHub repository.
- Process review comments.
- Use
mpt-ext-task-handle-pr-commentsto read the unresolved and unanswered review threads, triage the actionable feedback, and apply the selected fixes or replies. - Stop when comment intent is ambiguous, conflicts with repository rules, or requires explicit user direction.
- Run repository validation for the applied fixes.
- Use
mpt-ext-task-run-repository-checksto execute the repository-required local validation flow for the changed scope. - If repository checks or tests fail, hand the failing output to
mpt-ext-task-fix-repository-check-failuresonce; that task owns the bounded fix-and-rerun loop. Do not re-loop it from here. - Act on its returned outcome: continue only on
fixed; on any other outcome stop and report the blocker when the updated branch is not ready to send back for review.
- Update the commit history for the branch.
- Use
mpt-ext-task-commit-changesto stage the intended files and amend or create the repository-compliant commit for this review iteration. - If the commit is blocked by automatic
pre-commithook failures or hook-generated file rewrites, hand control tompt-ext-task-fix-pre-commit-failuresonce; that task owns the bounded fix-and-retry loop. Do not re-loop it from here. - Act on its returned outcome: continue only on
committed; on any other outcome stop and report the blocker.
- Update the pull request branch.
- Push the updated branch so the existing PR reflects the latest review fixes. The commit step amends the existing commit, so this rewrites the already-published branch history — push with
git push --force-with-lease(never a baregit push --force, which can clobber concurrent remote commits). - Use
mpt-ext-task-open-pull-requestonly when the PR title, description, or reporting contract must be refreshed instead of reimplementing that logic locally.
- Post the deferred fix-confirmation replies.
mpt-ext-task-handle-pr-commentsdefers fix-confirmation replies inside this workflow and returns a structured entry per pending reply (stable thread/comment id + exact reply body). Now that the branch is pushed, post exactly those entries to their threads withmpt-ext-tool-gh-pr-ops.- Post the reported bodies verbatim (they already end with the
🤖 Generated by AIline); do not reconstruct reply text from the PR comments or retarget a different thread. - Skip this step when no fixes were applied (comments were only answered), since those replies were already posted in step 2.
- Report the review iteration clearly.
- State which comments were fixed versus only answered.
- State which validation was run for the updated branch.
- State that the branch is ready for another round of review.
- Show blockers clearly when comment ambiguity, validation failure, commit failure, or push permissions stop the workflow.
Guardrails
- Never start from already resolved or already answered review threads unless the user explicitly asks to revisit them.
- Never skip repository-required validation after code changes made for review feedback.
- Never wrap a fix task that already owns its bounded loop in a second retry loop; invoke it once, consume its classified outcome, and stop on anything other than success.
- Never create a duplicate pull request when updating the existing review branch.
- Never move Jira to
Code RevieworQAinside this workflow. - Never assume every review comment must be fixed; use explanation or pushback when that is the correct outcome.
Expected Outcome
Selected PR review feedback is addressed, the resulting changes are validated and committed, the existing review branch is updated for another review pass, and remaining blockers are reported clearly.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

