mpt-ext-workflow-send-to-review
Skill3 starsChanged 4 months agoApache-2.0View on GitHub
Run the whole send-to-review flow that takes committed work to a review-ready PR and moves Jira to Code Review. Orchestrates the docs, checks, PR, and Jira tasks.
- 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-address-review-feedbackSkill
- 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-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
23 rules. About 0 are common, 11 are distinctive, and 12 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈11
Distinctive · estimate
This author's own choices. Worth a look.
12
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-update-docs-from-changes against the uncommitted change set to map the change to affected documents and edit them.
- Distinctive: line 55
Call the task directly here.
- Very specific: line 58
Use mpt-ext-task-run-repository-checks to execute the repository-required local validation flow for the current change scope.
- Very specific: line 59
If repository checks or tests fail, hand the failing output to mpt-ext-task-fix-repository-check-failures once.
- Very specific: line 63
Use mpt-ext-task-commit-changes to stage the intended files and create a repository-compliant commit.
- Very specific: line 64
If the commit is blocked by automatic pre-commit hook failures or hook-generated file rewrites, hand control to …
- Distinctive: line 69
Stop and report the blocker when branch push permissions, remote configuration, or branch protection prevent publication.
- Very specific: line 72
Use mpt-ext-task-open-pull-request to create or update the PR for the current branch.
- Distinctive: line 73
Keep PR formatting, base-branch rules, and reporting format delegated to the task skill and repository docs.
- Very specific: line 76
Use mpt-ext-task-move-jira-to-code-review after the PR is ready for review.
- Distinctive: line 77
Stop if the issue should not move to review yet.
- Very specific: line 81
Follow the reporting format defined by mpt-ext-task-open-pull-request so the user receives the PR URL, Jira item URL when available, and …
- Distinctive: line 86
Never duplicate the lower-level instructions already owned by the task skills used in this workflow.
- Distinctive: line 87
Never skip repository-required validation before commit and PR creation.
- Very specific: line 88
Never publish a change that affects documented behaviour without updating documentation first.
- Very specific: line 89
Never retry failing validation or pre-commit loops blindly without routing through the relevant failure-handling task.
- Distinctive: line 90
Never wrap a fix task that already owns its bounded loop in a second retry loop.
- Distinctive: line 91
Never rely on unpublished local commits when opening or updating the review PR.
- Very specific: line 92
Never move Jira to Code Review without a review-ready PR.
- Distinctive: line 93
Never continue into review-comment or post-merge handling inside this workflow.
- Distinctive: line 94
Prefer the narrower task skill when the user request is only for one step of the workflow.
≈ “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
Send To Review
Purpose
Coordinate the path from completed local implementation to a review-ready pull request and Jira handoff.
Use When
- The user has finished implementation and wants to publish the current branch for review.
- The task requires repository checks, commit creation, PR publication, and Jira transition to
Code Review. - The work should stop once the branch is ready for human or bot review.
Do Not Use When
- The task is only to run checks, create a commit, or open a pull request.
- The task is to process review comments on an existing PR.
- The task is to move Jira to
QAafter merge. - The task is to wait for review or merge inside the same workflow.
Inputs
- Current repository worktree and branch context.
- Jira issue key for the work being published.
- Repository contribution, validation, commit, and PR rules from repo docs.
- GitHub authentication that can push the branch and create or update pull requests.
- Jira authentication for the
Code Reviewtransition and Jira-linked reporting. - Local Git identity and repository access needed to commit and push changes.
- Installed shared package root:
${MPT_EXTENSION_SKILLS_HOME:-$HOME/.mpt-extension-skills}/currentAssumptions
- Implementation is complete enough to enter review.
- The repository state is clean enough to run validation and create the intended commit, or the user is available to resolve blockers surfaced by the underlying tasks.
- The workflow should stop after review handoff instead of waiting for comments or merge.
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.
- Bring documentation up to date for the change.
- Use
mpt-ext-task-update-docs-from-changesagainst the uncommitted change set to map the change to affected documents and edit them. That task does not stage; then stage only those updated documentation files here so docs are validated and committed together with the change. - The task no-ops when the change has no documentation impact, so this step is safe to always run.
- Call the task directly here; do not enter a separate documentation workflow, to avoid nested workflow loading and repeated context rebuilds.
- Run repository validation.
- Use
mpt-ext-task-run-repository-checksto execute the repository-required local validation flow for the current change 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, redirecting back to implementation when the work is not yet ready to publish.
- Create the commit.
- Use
mpt-ext-task-commit-changesto stage the intended files and create a repository-compliant commit. - 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.
- Publish the branch for review.
- Push the committed branch before creating or updating the PR so review state is based on the published branch instead of unpublished local history. For a branch not yet published, use a normal push; when the commit was amended on an already-published branch, push with
git push --force-with-lease(never a baregit push --force, which can clobber concurrent remote commits). - Stop and report the blocker when branch push permissions, remote configuration, or branch protection prevent publication.
- Open or update the pull request.
- Use
mpt-ext-task-open-pull-requestto create or update the PR for the current branch. - Keep PR formatting, base-branch rules, and reporting format delegated to the task skill and repository docs.
- Move Jira to
Code Review.
- Use
mpt-ext-task-move-jira-to-code-reviewafter the PR is ready for review. - Stop if the issue should not move to review yet.
- Report the handoff clearly.
- State that the branch is now ready for review.
- Follow the reporting format defined by
mpt-ext-task-open-pull-requestso the user receives the PR URL, Jira item URL when available, and testing status in a compact final message. - Surface blockers clearly when repository rules, Git push permissions, Jira workflow, GitHub permissions, or failing validation stop the flow.
Guardrails
- Never duplicate the lower-level instructions already owned by the task skills used in this workflow.
- Never skip repository-required validation before commit and PR creation.
- Never publish a change that affects documented behaviour without updating documentation first; delegate the update to
mpt-ext-task-update-docs-from-changes. - Never retry failing validation or
pre-commitloops blindly without routing through the relevant failure-handling task. - 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 rely on unpublished local commits when opening or updating the review PR; publish the branch first.
- Never move Jira to
Code Reviewwithout a review-ready PR. - Never continue into review-comment or post-merge handling inside this workflow.
- Prefer the narrower task skill when the user request is only for one step of the workflow.
Expected Outcome
Completed implementation is validated, committed, published in a compliant PR, and handed off in Jira for review, with clear blocker reporting when any step cannot proceed.
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.

