[prompt-analysis] Copilot PR Prompt Analysis - 2025-12-10 #6006
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-10
Summary
Analysis Period: Last 30 days
Total PRs: 1000 | Merged: 782 (78.5%) | Closed: 214 (21.5%) | Open: 4
The overall merge rate of 78.5% indicates that most Copilot-generated PRs successfully land, with key patterns emerging around prompt structure and specificity.
Full Analysis Details
Prompt Categories and Success Rates
Key Finding: Test prompts have the highest success rate at 80.0%, while Documentation prompts show the lowest at 78.3%. However, differences are minimal (< 2%), suggesting prompt type matters less than prompt quality.
Prompt Analysis
✅ Successful Prompt Patterns
Common characteristics in merged PRs:
copilot,agent,coding,details,summary,workflow,start,github,command,testsExample successful prompts:
/planis called from an issue comment, it now uses that issue as the parent instead of creating a new tracking issue. Discussion-triggered `/pl... → Mergeddev-hawk.mdworkflow used the deprecatedagentic-workflows:tool configuration. Updated to use the standardizedshared/mcp/gh-aw.mdimport p... → MergedSuccess Indicators:
❌ Unsuccessful Prompt Patterns
Common characteristics in closed PRs:
copilot,agent,coding,details,summary,start,workflow,tests,add,mcpExample unsuccessful prompts:
add_comment.cjsImplement functionality to track and report safe output job failures:
(!-- ST... → Closed
Failure Indicators:
Key Insights
Based on analysis of 1000 PRs over 30 days:
Prompt Length: Merged PRs average 465 words vs 418 words for closed PRs. Longer, more detailed prompts correlate with success (+47 words).
Specificity Matters: Merged PRs reference specific files, functions, and error messages. Closed PRs often use generic language ("fix issues", "update documentation").
Technical Context: Successful prompts include error messages, reproduction steps, and code references. Failed prompts lack concrete details.
WIP Anti-Pattern: PRs with "[WIP]" titles have significantly lower merge rates. These indicate incomplete planning or exploratory work.
Recommendations
Based on 30-day analysis of 1000 Copilot PRs:
✅ DO: Write Detailed, Specific Prompts
pkg/cli/compile.go:CompileWorkflow()" vs "Fix compile errors"✅ DO: Structure Your Prompt
❌ AVOID: Vague or Incomplete Prompts
Category Performance Summary
All prompt categories show similar success rates (78.3% - 80.0%), suggesting how you write the prompt matters more than what type of change you're making.
Historical Trends
First analysis - no historical data available yet.
Future reports will track:
</details)
References:
Beta Was this translation helpful? Give feedback.
All reactions