[prompt-analysis] Copilot PR Prompt Analysis - 2025-12-07 #5734
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
Analysis Period: Last 30 days (ending 2025-12-07)
Sample Size: 1,000 Copilot-generated PRs
Analyzing 1,000 Copilot PRs reveals that prompt quality significantly impacts success rates. The data shows PRs with detailed prompts and code context achieve 79.7% merge rates.
Key Statistics
Total PRs Analyzed: 1000
Overall Success Rate: 79.1%
Category Performance
All categories show similar success rates (79-82%), indicating how you describe the task matters more than what category it falls into:
Insight: Only 2.7 percentage points separate the highest and lowest categories.
🎯 Critical Success Patterns
The #1 Predictor: WIP Markers (-28.5%)
Avoid marking PRs as "[WIP]" - this is the strongest predictor of failure:
Success Indicators
These patterns strongly correlate with merged PRs:
Warning Signs
Prompt Quality Metrics
Merged PRs:
Closed PRs:
✅ Best Practices
Based on analysis of 1,000 PRs:
DO:
Include code blocks (76% of successful PRs)
Write detailed prompts (200+ words) (85% of successful PRs)
Reference specific files (64% of successful PRs)
pkg/workflow/compiler.goMention error messages (35% of successful PRs)
Complete work before PR creation
AVOID:
Example: Successful Merged PR
§5726: Store safeinputs MCP server logs in artifact and add health endpoint
Why it succeeded:
Example: Closed PR Pattern
§5727: [WIP] Add health GET endpoint to MCP server [Contains WIP]
Issues:
💡 Recommended Prompt Template
Proposed Solution
[Explain fix with file references like
pkg/cli/command.go]Expected Behavior
[Describe what should happen]
Beta Was this translation helpful? Give feedback.
All reactions