[prompt-analysis] Copilot PR Prompt Analysis - May 20, 2026 #33637
Closed
Replies: 1 comment
-
|
This discussion was automatically closed because it expired on 2026-05-21T21:22:50.843Z.
|
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 - May 20, 2026
Summary
Analysis Period: Last 30 days (Apr 20 - May 20, 2026)
Total PRs: 1,000 | Merged: 806 (80.6%) | Closed: 187 (18.7%) | Open: 7 (0.7%)
Key Finding: Success rate has improved to 80.6%, up from 79.3% on May 12 and marking the highest rate in the past month. Bug fix prompts show the strongest success rate at 82.1%.
Prompt Categories and Success Rates
Prompt Analysis
✅ Successful Prompt Patterns
Common characteristics in merged PRs:
add,update,test,fix,createKey success factors:
Example successful prompts:
PR Add OTLP data quality validator workflow for end-to-end telemetry integrity checks #33623: Add OTLP data quality validator workflow for end-to-end telemetry integrity checks
PR Normalize report formatting guidelines across 7 agentic workflows #33596: Normalize report formatting guidelines across 7 agentic workflows
PR fix: guard create_discussion against PLACEHOLDER-only bodies #33595: fix: guard create_discussion against PLACEHOLDER-only bodies
safe-output-healthworkflow submitted a discussion with a body of literally "PLACEHOLDER" (11 chars), consuming 30.4M tokens..."❌ Unsuccessful Prompt Patterns
Common characteristics in closed PRs:
add,update,test,fix,resolveIssues identified:
Example unsuccessful prompts:
PR Align main workflow schema with parser allowlist by adding top-level
applyToandinputs#33594: Align main workflow schema with parser allowlist by adding top-levelapplyToandinputsapplyToandinputsin shared/main workflow frontmatter, butmain_workflow_schema.jsondid not define them..."PR Confirm CLI short-description punctuation consistency (no code delta) #33575: Confirm CLI short-description punctuation consistency (no code delta)
cobra.Command.Shorttext) is no longer reproducible..."PR Serialize
create_issuehandler execution to eliminate shared-state race conditions #33574: Serializecreate_issuehandler execution to eliminate shared-state race conditionscreate_issuekept mutable Maps (temporaryIdMap, dedup caches,parentIssueCache) in handler scope while allowing concurrent async invocations..."Key Insights
Conciseness paradox: Merged PRs average 988 words while closed PRs average 1,179 words - suggesting that focused detail beats exhaustive specification. Too much information may dilute the core intent.
Bug fixes win: The highest success rate (82.1%) belongs to bug fix prompts, likely because they have clear success criteria (does it fix the bug?) versus features which may face scope/design debates.
Verification work is risky: PRs that confirm "no issue exists" or "already compliant" tend to get closed - consider checking current state before creating a PR for verification-only work.
Recommendations
Based on today's analysis, here are actionable guidelines for writing successful Copilot prompts:
DO:
add,fix,update,implementrather than vague termsAVOID:
Historical Trends
7-Day Comparison (completed PRs only):
30-Day Range: 77.7% - 80.6% (2.9 percentage point range)
Trend Analysis: Success rate has steadily improved over the past week, from 77.7% on May 7 to 80.6% today - a +2.9 percentage point improvement. This suggests prompt quality or CI robustness is improving.
Category Performance Over Time
Bug Fix consistently performs best:
Feature Addition shows steady improvement:
Test category strong and stable:
Methodology Notes
is:pr repo:github/gh-aw head:copilot/* created:>=2026-04-20mergedAtis not nullstateis "CLOSED" andmergedAtis nullstateis "OPEN"Next Steps: Consider automating prompt quality checks pre-PR using these patterns, or adding a "prompt template" system based on the successful patterns identified here.
Beta Was this translation helpful? Give feedback.
All reactions