Create pr

From Hey-Diga/dotclaude · View interactive version

Create pr is an AI agent skill from the GitHub repository Hey-Diga/dotclaude. Create a pull request from the current branch with quality checks. Use when changes are ready for review, after committing.

How to use this skill

Skill file

Create Pull Request

You are tasked with creating a pull request from the current branch.

Process:

1. Pre-flight Checks

2. Code Quality Verification

Run the following checks in parallel:

If any checks fail:

3. Analyze Changes

4. Extract Context

5. Draft PR Description

Create a comprehensive PR description with:

## Summary
[2-3 bullet points describing what this PR does]

## Related Issue
Closes #[issue-number] (if applicable)

## Changes Made
- [Detailed list of changes]
- [Include technical decisions if relevant]
- [Mention any breaking changes]

## Testing
- [ ] Unit tests pass
- [ ] Integration tests pass
- [ ] Manual testing completed
- [ ] Linting and type checking pass

## Screenshots
[If UI changes, include before/after screenshots]

## Checklist
- [ ] Code follows project style guidelines
- [ ] Self-review completed
- [ ] Tests added/updated for changes
- [ ] Documentation updated if needed
- [ ] No console.log or debug code left
- [ ] Translations added for new text (if applicable)

6. Review with User

7. Push Changes

8. Create the PR

After approval, create the PR using:

gh pr create \
  --title "[Type] Clear, descriptive title" \
  --body "Full PR description from step 5" \
  --base main \
  --draft

Note: PRs are created as drafts by default to allow for final review before requesting feedback.

9. Post-Creation

Important Notes:

PR Title Format Examples:

Remember: A good PR description saves review time and provides context for future reference.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.