[prompt-analysis] Copilot PR Prompt Pattern Analysis - 2026-02-04 #13707
Closed
Replies: 1 comment
-
|
This discussion was automatically closed because it expired on 2026-02-11T12:16:49.492Z.
|
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-02-04
Summary
Analysis Period: Last 30 days (1000 PRs analyzed)
Total PRs: 1000 | Merged: 679 (68.0%) | Closed: 320 (32.0%)
Key Finding: [WIP] Titles Strongly Correlate with Closure
🚨 Critical Pattern Discovered: PRs with
[WIP]in the title are 11.7x more likely to be closed than merged:This suggests that incomplete or experimental PRs rarely reach completion.
Prompt Categories and Success Rates
Top performers: Remove/delete operations (76.2%) and refactoring tasks (72.5%) have the highest success rates.
Prompt Characteristic Analysis
What Makes Prompts Successful?
✅ Successful Prompt Patterns
Common characteristics in merged PRs:
View Example Successful Prompts
PR #13684: Fix cache race condition in parallel integration tests
PR #13677: Fix gosec G104 violations in MCP config renderers
Changes
❌ Unsuccessful Prompt Patterns
Common characteristics in closed PRs:
View Example Unsuccessful Prompts
PR #13686: Add "Use Shared Agentic Workflows" subsection to create.md
PR #13681: [WIP] Fix failing GitHub Actions workflow for CLI completion
(!-- ST...
) ## ToC Grouping for Design Pattern Sections
Investigating whether Monitoring and Orchestration design pattern sections should be in a separate ToC gr...
Key Insights
Based on analysis of 1,000 Copilot PRs from the last 30 days:
🎯 Avoid [WIP] Titles: PRs marked as work-in-progress are 11.7x more likely to be closed. Start with a clear, complete prompt rather than iterative development.
📝 Simple > Complex: Remove/delete operations (76.2%) and refactoring (72.5%) succeed more than bug fixes (67.1%) or features (67.9%). Simpler, well-scoped tasks perform better.
💻 Code Specificity Matters: 99.7% of merged PRs reference specific files or functions, compared to 90.9% of closed PRs. Being explicit about what to change improves success.
🔗 Issue References Don't Help: Surprisingly, closed PRs reference issue numbers more often (51.9%) than merged PRs (39.8%). Linking to issues doesn't guarantee success.
📏 Length Doesn't Matter: Merged and closed PRs have similar average lengths (417 vs 421 words). Verbosity isn't the deciding factor—clarity is.
Recommendations
Based on pattern analysis, follow these best practices:
✅ DO:
❌ AVOID:
📋 Recommended Prompt Template
Historical Trends
This is the first analysis run. Historical trends will appear in future reports as data accumulates.
Analysis of 1,000 Copilot-generated PRs from the last 30 days
Generated: 2026-02-04
Run: §21670919805
Beta Was this translation helpful? Give feedback.
All reactions