[prompt-analysis] Copilot PR Prompt Analysis - 2026-06-15 #39458
Closed
Replies: 1 comment
-
|
This discussion has been marked as outdated by Copilot PR Prompt Pattern Analysis. A newer discussion is available at Discussion #39685. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
🤖 Copilot PR Prompt Pattern Analysis — 2026-06-15
Summary
Analysis Period: Last 30 days (up to 1,000 PRs)
Total PRs: 1,000 | Merged: 792 (79.4%) | Closed: 205 (20.6%) | Open: 3
Overall merge rate is 79.4%, consistent with the 30-day historical average of ~80% across 20 tracked snapshots (2026-05-15 → 2026-06-15).
Prompt Categories and Success Rates
Bug fix is by far the dominant category (62.4% of all PRs), and its 78.9% rate drives the overall average.
Prompt Analysis
✅ Successful Prompt Patterns
Common characteristics in merged PRs:
Top action verbs by success rate (title):
Conventional commit prefix rates:
docs:fix:chore:feat:Example successful prompts:
Show examples
PR #39437
[bug_fix]: "The Copilot Centralization Optimizer workflow failed during task collection because it authenticated the Copilot Agents API withgithub.token, which is not accepted by that endpoint. This change switches the auth to thecopilot-tokeninstead..." → MergedPR #39266
[bug_fix]: "GitHub Actions caches are branch-scoped, so treatingcache-hit != 'true'as a miss produced incorrect behavior for the daily AIC cache flow. This change makes miss detection semantic (actual restore failures)..." → MergedPR #39280
[bug_fix]: "The Daily Ambient Context Optimizer flagged two workflows with significant redundant prompt content:smoke-copilothad a 1,179-char section duplicating the framework-injected<mcp-clis>block..." → Merged❌ Unsuccessful Prompt Patterns
Common characteristics in closed PRs:
awf-labeled PRs had a 0% merge rate (8 PRs, likely automated/probe runs)copilot/lint*branches: 58.3% |copilot/deep*branches: 60.8%Example unsuccessful prompts:
Show examples
PR #39282
[feature]: "The Copilot SDK driver had no mid-turn watchdog — when the agent stalled afterreport_intent,sendAndWaitwaited silently for up to 24.5 min (derived from the 25-min action timeout) before the action timeout..." → Closed (complex speculative feature)PR #39299
[bug_fix]: "Whencreate-pull-request-review-comment.targetis"*", the handler silently accepted items missingpull_request_numberand only failed at finalization time..." → Closed (edge-case handling rejected)PR #39164
[feature]: Wrapped a third-party TTS SDK in aworkflow_dispatchworkflow for on-demand speech synthesis → Closed (out-of-scope feature)Key Insights
Verb precision predicts success: "optimize", "handle", "move", "correct", "update", "replace", "remove" all yield 88–100% merge rates. "fix" — the second most-used verb — only reaches 73.7%. Choosing a precise, scope-limited verb signals a well-understood change.
Prompt length sweet spot is 20–49 words: Counterintuitively, short-but-specific prompts (88.9%) outperform long ones (200+ words = 78.8%). Closed PRs average 28 more words than merged ones, suggesting verbosity often accompanies under-specified or over-ambitious scope.
Structured commit prefixes lift quality: The
docs:prefix yields 92.1% andfix:85.7%, both above the 78.5% baseline for unstructured titles. Conventional commits signal intent clearly and correlate with more disciplined, merge-ready PRs.Recommendations
Based on today's analysis:
update,remove,replace,optimize,handle— instead of the genericfixwhen the change type permits.docs:,fix:,chore:) — they predict a 5–14 pp lift in merge rate over unstructured titles.copilot/deep*,copilot/lint*) — these show 58–61% success vs 82–100% for targeted action branches.Historical Trends
update/removeverbs 92%+; WIP tags drop to 34%optimize/handle/move100%; short prompts 88.9%30-day average: 80% across 21 daily snapshots. Merge rate is stable; verb and length patterns are persistent signals.
Generated by Copilot PR Prompt Analysis · Run §27577956135
Beta Was this translation helpful? Give feedback.
All reactions