[prompt-analysis] Copilot PR Prompt Analysis - February 2, 2026 #13266
Closed
Replies: 1 comment
-
|
This discussion was automatically closed because it expired on 2026-02-09T12:07:09.860Z.
|
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 - February 2, 2026
Summary
Analysis Period: Last 30 days (January 3 - February 2, 2026)
Total PRs: 1,000 | Merged: 682 (68.4%) | Closed: 315 (31.6%) | Open: 3 (0.3%)
Prompt Categories and Success Rates
Note: Categories overlap - a single PR can match multiple categories (e.g., "Add tests and fix bug").
Prompt Analysis
✅ Successful Prompt Patterns
Common characteristics in merged PRs:
Top keywords in merged PRs:
copilot,agent,workflow,github,coding,test,summary,workflows,prompt,original,actions,tips,issue,changes,filesExample successful prompts:
PR #13259: Fix dispatch_workflow MCP handler to wrap inputs per schema → Merged ✅
PR #13251: Skip lock file write when content unchanged to preserve timestamps → Merged ✅
PR #13226: Fix dispatch_workflow tool registration with explicit type validation → Merged ✅
❌ Unsuccessful Prompt Patterns
Common characteristics in closed PRs:
Top keywords in closed PRs:
copilot,agent,github,workflow,coding,githubnext,details,workflows,actions,summary,original,issue,prompt,tips,filesExample unsuccessful prompts:
PR #13221: Split handler configs into regular and project handlers → Closed ❌
PR #13182: Refactor compiler to use grouped shell redirects (fix SC2129) → Closed ❌
PR #13181: [WIP] Add explicit minimal permissions to workflows with risky triggers → Closed ❌
PR #13180: [WIP] Add secret setup guide with screenshots to documentation → Closed ❌
Key Insights
🎯 Insight 1: Removal/Cleanup PRs Have Highest Success Rate (77%)
PRs that remove code, dependencies, or deprecated features have the highest success rate. This suggests:
Recommendation: Frame prompts as "remove unused X" or "clean up deprecated Y" when possible.
🔧 Insight 2: Code Examples Correlate Strongly With Success
Merged PRs include code blocks 98.8% of the time vs 90.8% for closed PRs (8% gap). This is the strongest differentiator between successful and unsuccessful prompts.
Recommendation: Always include code examples, expected outputs, or existing code snippets in your prompt. Use markdown code blocks generously.
🚧 Insight 3: [WIP] Tags Predict Failure
Multiple closed PRs have "[WIP]" (Work In Progress) tags. This indicates:
Recommendation: Avoid submitting PRs marked as WIP. Let Copilot complete the task fully before creating the PR.
📊 Insight 4: Success Rates Are Consistent Across Most Categories
Feature additions (68%), bug fixes (67%), and documentation (66%) all hover around the overall success rate. This suggests:
Recommendations
Based on today's analysis, here are actionable guidelines for writing successful prompts:
✅ DO:
Include code examples - 98.8% of merged PRs have code blocks
Reference specific files/functions - 81% of merged PRs mention file paths
pkg/compiler/validator.go" not "fix the validator"Frame as removal/cleanup when possible - 77% success rate
Be clear about the problem - State what's broken or missing
Provide context - Explain why the change matters
❌ AVOID:
📝 Prompt Template for Success:
Why this matters
[Context on impact/importance]
Beta Was this translation helpful? Give feedback.
All reactions