Agent skill
create-pr
Commits changes in logical chunks and creates a PR
Install this agent skill to your Project
npx add-skill https://github.com/yuheitomi/llm-instructions/tree/main/skills/create-pr
SKILL.md
Instruction
Please help me commit my changes and create a pull request. Here's what I need you to do:
- Check '$ARGUMENTS' for any specific instructions regarding the pull request target branch or additional context.
- Then, check the current git status to see what files have been modified
- Analyze the changes and group them into logical commits based on:
- File types (tests, docs, config, etc.)
- Feature areas (by directory/module)
- Purpose of changes
- Create separate commits for each logical group with appropriate commit messages following conventional commit format
- Run typecheck or lint commands (if available in package.json) before committing to ensure code quality
- Push the changes to the remote repository
- Create a pull request to the target branch (check '$ARGUMENTS' if provided, otherwise default to 'main')
- The PR should include:
- A descriptive title
- Summary of changes
- List of commits included
Make sure each commit message ends with:
Generated with AI assistant
For the pull request body, include a proper summary and the same attribution.
git commit-prefixes:
- feat: "Adding new features or modifying functionality"
- fix: "Bug fixes or typo corrections"
- docs: "Adding documentation"
- style: "Formatting changes, import order adjustments, or adding comments"
- refactor: "Code refactoring without affecting functionality"
- test: "Adding or modifying tests"
- build: "Changes affecting build system or dependencies"
- ci: "Changes related to CI/CD"
- perf: "Performance improvements"
- security: "Security-related changes"
- docker: "Modifications to Dockerfile or container-related changes"
- chore: "Miscellaneous changes"
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
setup-react-app-config
Set up configuratin files for the React project (Biome, Shadcn/UI)
commit
Commits changes in logical chunks with proper commit messages
set-up-framework
Setup framework development environment using configuration from setup directory
gh-issue
Creates a new GitHub issue in the current repository
set-up-llm-docs
Download LLM instruction documents from the repository
edit-article
Edit and improve articles by restructuring sections, improving clarity, and tightening prose. Use when user wants to edit, revise, or improve an article draft.
Didn't find tool you were looking for?