npx claudepluginhub thebushidocollective/han --plugin githubWant just this skill?
Then install: npx claudepluginhub u/[userId]/[slug]
Create a new pull request in a GitHub repository
This skill uses the workspace's default tool permissions.
Create GitHub Pull Request
Name
github:create-pr - Create a new pull request in a GitHub repository
Synopsis
/create-pr [arguments]
Description
Create a new pull request in a GitHub repository
Implementation
Create a new pull request with source and target branches.
Usage
/create-pr [owner/repo]
This command helps you create a pull request with all necessary details.
What This Command Does
- Asks for the repository (owner/repo format)
- Prompts for source branch name (head)
- Requests target branch name (base)
- Asks for PR title
- Requests PR description (optional)
- Creates the pull request using the GitHub MCP
create_pull_requesttool - Returns the PR number and URL
Prerequisites
- GitHub MCP server must be installed and configured
- You must have push access to the repository
- Both source and target branches must exist
- OAuth authentication must be completed
Example Interaction
User: /create-pr my-org/my-repo
Claude: I'll help you create a pull request. What's the source branch?
User: feature/user-authentication
Claude: What's the target branch?
User: main
Claude: What should the pull request title be?
User: Add JWT-based user authentication
Claude: Please provide a description (optional):
User: This PR implements JWT-based authentication for the API:
- User login and registration endpoints
- Token generation and validation middleware
- Password hashing with bcrypt
- Unit tests for auth flows
Closes #42
Claude: Should this be a draft PR?
User: No
Claude: Creating pull request...
Pull request created successfully!
#15 - Add JWT-based user authentication
https://github.com/my-org/my-repo/pull/15
Status: Open
Source: feature/user-authentication -> main
Tips
- Link related issues using
Closes #123orFixes #123in the description - Use conventional commit prefixes in titles:
feat:,fix:,refactor: - Include a testing checklist in the description
- Consider creating a draft PR for work-in-progress
- Ensure your branch is up to date with the target branch
Related Commands
/review-pr: Get a comprehensive review of your PR/create-issue: Create an issue that this PR will resolve/view-workflow: Check CI/CD status for the PR
Similar Skills
Expert guidance for Next.js Cache Components and Partial Prerendering (PPR). **PROACTIVE ACTIVATION**: Use this skill automatically when working in Next.js projects that have `cacheComponents: true` in their next.config.ts/next.config.js. When this config is detected, proactively apply Cache Components patterns and best practices to all React Server Component implementations. **DETECTION**: At the start of a session in a Next.js project, check for `cacheComponents: true` in next.config. If enabled, this skill's patterns should guide all component authoring, data fetching, and caching decisions. **USE CASES**: Implementing 'use cache' directive, configuring cache lifetimes with cacheLife(), tagging cached data with cacheTag(), invalidating caches with updateTag()/revalidateTag(), optimizing static vs dynamic content boundaries, debugging cache issues, and reviewing Cache Component implementations.
Applies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand colors or style guidelines, visual formatting, or company design standards apply.
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code, generative art, algorithmic art, flow fields, or particle systems. Create original algorithmic art rather than copying existing artists' work to avoid copyright violations.