Skip to content

feat: add create-update-pr skill#1419

Merged
hwbrzzl merged 1 commit intomasterfrom
bowen/add-create-update-pr-skill
Mar 23, 2026
Merged

feat: add create-update-pr skill#1419
hwbrzzl merged 1 commit intomasterfrom
bowen/add-create-update-pr-skill

Conversation

@hwbrzzl
Copy link
Copy Markdown
Contributor

@hwbrzzl hwbrzzl commented Mar 22, 2026

Summary

  • Adds a create-update-pr Copilot skill that automates PR creation and description formatting
  • Enforces a strict two-section PR body format with separate rules for feature and bug-fix PRs
  • Implements a nine-step workflow covering branch detection, diff analysis, body composition, and PR creation or update

Why

Pull request descriptions in this repository previously lacked a consistent structure, making reviews harder and change history less traceable. This skill gives the AI agent a repeatable spec-driven procedure for writing PR bodies so every PR follows the same format without manual effort.

When triggered, the skill detects the current branch and any linked issue number, computes the diff against origin/master, derives behavior-oriented summary bullets, and creates or updates the PR via gh pr create or gh pr edit. The resulting body always contains a Summary section with 2-3 behavior bullets and a Why section with explanatory prose and real user-facing code examples derived from test cases.

@hwbrzzl hwbrzzl requested a review from a team as a code owner March 22, 2026 14:13
@codecov
Copy link
Copy Markdown

codecov Bot commented Mar 22, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 67.98%. Comparing base (966a11f) to head (1a80ace).
⚠️ Report is 2 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1419   +/-   ##
=======================================
  Coverage   67.97%   67.98%           
=======================================
  Files         354      354           
  Lines       27521    27521           
=======================================
+ Hits        18708    18710    +2     
+ Misses       7964     7963    -1     
+ Partials      849      848    -1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@hwbrzzl hwbrzzl merged commit de1f301 into master Mar 23, 2026
18 checks passed
@hwbrzzl hwbrzzl deleted the bowen/add-create-update-pr-skill branch March 23, 2026 07:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants