[prompt-analysis] Copilot PR Prompt Pattern Analysis - 2025-12-15 #6496
Closed
Replies: 1 comment
-
|
⚓ Avast! This discussion be marked as outdated by Copilot PR Prompt Pattern Analysis. |
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 - 2025-12-15
Summary
Analysis of 1,000 Copilot-generated PRs from the last 30 days in the githubnext/gh-aw repository.
Analysis Period: Last 30 days
Total PRs: 1000 | Merged: 712 (78.2%) | Closed: 198 (21.8%) | Open: 4
Key Finding: Specificity Matters
PRs with higher specificity scores (more file references, error messages, and specific instructions) have a 78% merge rate, compared to the baseline. The most successful prompts include:
Prompt Categories and Success Rates
Detailed Analysis
Prompt Characteristics: What Works
✅ Successful Prompt Patterns
Common characteristics in merged PRs:
Example High-Quality Merged Prompts
PR #5415 - Testing
This section details on the original issue you should resolve
(issue_title)[plan] Split oversized test files to improve maintainability(/issue_title)
(issue_description)## Objective
Split the 3..."
PR #4405 - Testing
This section details on the original issue you should resolve
(issue_title)[task] Reorganize helper functions: move MCP functions and improve naming(/issue_title)
(issue_description)## Objectiv..."
PR #4404 - Testing
This section details on the original issue you should resolve
(issue_title)[cli-consistency] Inconsistent flag descriptions across commands(/issue_title)
(issue_description)## Issue Description..."
❌ Unsuccessful Prompt Patterns
Common characteristics in closed PRs:
Example Low-Quality Closed Prompts
PR #6451 - Bug_Fix
This section details on the original issue you should resolve
<filter_complete></filter_complete>..."
PR #6379 - Testing
PR #6331 - Testing
This section details on the original issue you should resolve
(issue_title)Treat test(/issue_title)
(issue_description)Test(/issue_description)
Comments on the Issue (you are
@copilotin thi..."Key Insights
Based on analysis of 910 prompts (712 merged, 198 closed):
🎯 Specificity Drives Success: Prompts with specificity scores >5 merge at 78%+ rate. Include file names, function references, and code snippets.
📊 Testing Dominates Volume: 377 PRs (41%) were test-related, with a 78% merge rate - the largest category by volume.
✨ Linting & Refactoring Win: Small, focused prompts for linting (90% merge) and refactoring (83% merge) have the highest success rates.
📏 Length Doesn't Matter Much: Merged PRs averaged 118 words vs 121 for closed PRs - brevity alone doesn't predict success.
🔧 Action Verbs Are Consistent: Both merged and closed PRs use similar verbs (update, add, test, create) - it's the context that matters.
Recommendations
✅ DO: Write High-Quality Prompts
pkg/parser/validator.go" vs "Fix error handling"❌ AVOID: Low-Quality Patterns
<__filter_complete__>tags or truncated issue templates📝 Template for Success
Statistical Summary
Generated by Copilot PR Prompt Analysis Workflow (§20226598692)
Beta Was this translation helpful? Give feedback.
All reactions