[prompt-analysis] Copilot PR Prompt Pattern Analysis - January 25, 2026 #11749
Closed
Replies: 1 comment
-
|
This discussion was automatically closed because it expired on 2026-02-01T12:03:07.780Z. |
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.
-
📊 Summary
Analysis Period: Last 30 days (1,000 PRs analyzed)
Total PRs: 1000 | Merged: 644 (64.7%) | Closed: 352 (35.3%) | Open: 4
📈 Prompt Categories and Success Rates
🎯 Key Findings
Prompt Length Analysis
Category Insights
✅ Successful Prompt Patterns
Most common keywords in merged PRs:
workflow(1183 occurrences)github(852 occurrences)workflows(546 occurrences)changes(517 occurrences)agent(481 occurrences)githubnext(425 occurrences)actions(409 occurrences)campaign(368 occurrences)run(346 occurrences)mcp(343 occurrences)Example successful prompts:
PR #11730: Add missing MCP properties to main workflow schema
Category: testing
Word count: 257
Outcome: ✅ Merged
View PR
💡 Key Insights
Based on analysis of 996 completed PRs (merged or closed):
Conciseness Matters: Merged PRs average 120 words vs 144 words for closed PRs. Shorter, focused prompts correlate with higher success rates.
Category Performance: Feature additions (71.6%) outperform bug fixes (62.8%), suggesting Copilot handles new functionality better than fixing existing issues.
Common Ground: Both merged and closed PRs share similar technical vocabulary (workflow, github, actions), indicating keyword choice alone doesn't determine success.
Success Rate: Overall 64.7% merge rate shows Copilot-generated PRs have better-than-chance success, but there's room for improvement.
🎯 Recommendations
Based on today's analysis:
DO Keep prompts concise: Aim for 100-150 words. Provide necessary context but avoid excessive detail.
DO Focus on feature additions: When possible, frame work as adding new functionality rather than fixing existing code.
DO Provide clear objectives: Successful prompts clearly state what needs to be done and why.
AVOID Overly long explanations: Prompts exceeding 200 words show diminishing returns.
AVOID Vague categorization: The "other" category has lowest success at 54.2% - be specific about what you're asking for.
📝 Methodology
This analysis:
References:
Beta Was this translation helpful? Give feedback.
All reactions