1.4 KiB
1.4 KiB
description
| description |
|---|
| Create pull request with auto-generated description from plan and memory |
Use the pr-creation skill to create a pull request with auto-generated description.
Prerequisites:
- On feature branch (NOT main/master)
- Execution completed
- Changes committed to branch
ghCLI installed and authenticated
What this does:
Pre-flight Checks:
- Verify on feature branch (error if main/master)
- Check for uncommitted changes (offer to commit)
- Verify remote tracking (set up if needed)
- Check GitHub CLI installed and authenticated
Generate PR Description from:
- Plan file:
docs/plans/YYYY-MM-DD-<feature>.md - Complete memory:
YYYY-MM-DD-<feature>-complete.md(if exists) - Git diff: Files changed summary
- Commit messages: Timeline context
Description Structure:
- Summary (from plan overview)
- What Changed (git diff stat)
- Approach (from plan architecture)
- Testing (from plan + verification results)
- Key Learnings (from complete.md)
- References (plan, tasks, research)
Execute:
- Push branch to remote
- Create PR using
gh pr create - Output PR URL
- Update complete.md with PR link
Title Format: feat: ${Feature Name}
Example:
✅ Pull request created successfully!
PR: https://github.com/user/repo/pull/42
Branch: feature/user-authentication
Base: main
View PR: https://github.com/user/repo/pull/42