Add shared prompt quality gate for plateaued agent-review workflows#43527
Conversation
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
There was a problem hiding this comment.
Pull request overview
Adds a shared “quality gate” prompt fragment and applies it across key agent-review workflows to improve prompt-driven quality feedback loops and reduce low-signal outputs.
Changes:
- Added a reusable
shared/quality-gate.mdrubric and wired it into the affected compiled workflows. - Tightened reviewer/gate prompts with explicit success criteria and improved approval/check-run guidance.
- Updated the Agent Performance Analyzer prompt to drive a bottom-10, prompt-deficiency-focused improvement backlog.
Show a summary per file
| File | Description |
|---|---|
| .github/workflows/shared/quality-gate.md | Introduces a reusable rubric for completeness/accuracy/actionability/freshness and noop guidance. |
| .github/workflows/mattpocock-skills-reviewer.md | Adds success criteria and imports the shared quality rubric. |
| .github/workflows/mattpocock-skills-reviewer.lock.yml | Recompiled workflow prompt to include the shared quality gate. |
| .github/workflows/impeccable-skills-reviewer.md | Adds success criteria and imports the shared quality rubric. |
| .github/workflows/impeccable-skills-reviewer.lock.yml | Recompiled workflow prompt to include the shared quality gate. |
| .github/workflows/design-decision-gate.md | Adds a gate-specific quality bar and imports the shared quality rubric. |
| .github/workflows/design-decision-gate.lock.yml | Recompiled workflow prompt to include the shared quality gate. |
| .github/workflows/agent-performance-analyzer.md | Adds a prompt-improvement initiative and imports the shared quality rubric. |
| .github/workflows/agent-performance-analyzer.lock.yml | Recompiled workflow prompt to include the shared quality gate. |
Review details
Tip
Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
- Files reviewed: 9/9 changed files
- Comments generated: 5
- Review effort level: Low
| - approves only when no actionable issue remains | ||
| - uses `noop` instead of generic praise when there is nothing useful to say | ||
|
|
||
| {{#runtime-import shared/quality-gate.md}} |
| - uses `REQUEST_CHANGES` only for genuinely blocking issues | ||
| - uses `noop` instead of posting generic praise or filler commentary when nothing actionable is found | ||
|
|
||
| {{#runtime-import shared/quality-gate.md}} |
| - gives the author one clear next action | ||
| - stops immediately after the single final safe-output action | ||
|
|
||
| {{#runtime-import shared/quality-gate.md}} |
| - Always evaluate **Matt Pocock Skills Reviewer**, **Impeccable Skills Reviewer**, and **Design Decision Gate** as explicit redesign-vs-deprecation candidates when they continue to underperform. | ||
| - Prefer prompt fixes that sharpen success criteria, add a quality rubric, remove stale guidance, and make outputs easier for humans to act on. | ||
|
|
||
| {{#runtime-import shared/quality-gate.md}} |
🤖 PR Triage — Run §28741077056
Rationale: Adds shared quality gate prompt rubric targeting stalled 61/62 agent effectiveness score. Targets 9 workflow files. 1× COMMENTED only — needs human review of prompt design before merge.
|
|
@copilot please run the
|
Co-authored-by: gh-aw-bot <259018956+gh-aw-bot@users.noreply.github.com>
Implemented and pushed fixes in |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
|
Hey One item worth addressing before merge:
If you'd like a hand, you can assign this prompt to your coding agent:
|
|
🎉 This pull request is included in a new release. Release: |
The Q workflow was scoring quality 10/100 and effectiveness 5/100 per the agent performance deep report. PR #43527 added the quality-gate prompt fragment for reviewer workflows but did not apply it to Q itself. This change adds `shared/quality-gate.md` to Q's imports so the agent runs a silent self-check (completeness, accuracy, actionability, freshness) before emitting any safe output, reducing the auto-rejection rate and improving overall output quality. Recompiled q.lock.yml to include the runtime-import directive. Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Agent quality/effectiveness has been stuck around 61/62 for weeks, which points to prompt design issues rather than more engine/runtime bug-fixing. This change adds a reusable quality rubric and applies it to the analyzer and the recurring low-signal reviewer/gate workflows that most directly influence prompt quality feedback loops.
Shared quality gate
shared/quality-gate.mdas a reusable prompt fragment.noopover low-confidence or generic output.Agent Performance Analyzer
Reviewer prompt tightening
noopinstead of filler praiseDesign Decision Gate
Compiled workflow updates
Example of the shared gate now imported by affected workflows: