create-pr
Create Pull Request Skill
To satisfy the user's request to create a pull request on a GitHub repository, follow these steps:
- Create a new branch for the changes (if not already done).
- Commit the changes to the new branch.
- Push the branch to the remote repository.
- Use the
ghCLI to create a pull request. The target branch ismasterunless specified otherwise.
Then inform the user that the pull request has been created successfully, providing the URL to the pull request.
Merging the Pull Request
After the user reviews the pull request and requests to merge it, you can use the gh CLI to merge the pull request.
Before merging, ensure that CI checks have passed.
Steps After Merging the Pull Request
After merging the pull request, follow these steps so that the local repository is ready for future work:
- Switch back to the
masterbranch. - Pull the latest changes from the remote
masterbranch to ensure the local repository is up to date. - Delete the local branch that was used for the pull request. (Note: remote branch is automatically deleted by GitHub)
- Inform the user that the pull request is merged and the local repository is now up to date and ready for future work.
More from uhyo/funstack-router
funstack-static-knowledge
Use this skill when you need information about `@funstack/static` (the React framework your app is built with). What it is even about, API references, best practices, etc.
21funstack-router-knowledge
Use this skill when you need information about `@funstack/router` (the React router your app uses). What it is, API references, best practices, etc.
7docs-consistency
Ensure consistency of documentation files. Should be used automatically when you made a significant change to the codebase that may affect the documentation, or when you made a significant change to the documentation itself.
1release-funstack
A skill to make a GitHub release for the `@funstack/router` package. Use this skill when the user wants to release a new version of the package.
1