Agent skill
pr-creation
Create (draft) pull requests on GitHub. Use when user requests to create a pr, pull request, draft pr, draft pull request.
Install this agent skill to your Project
npx add-skill https://github.com/thomasmol/opencode-config/tree/main/skill/pr-creation
SKILL.md
What I do
- Create draft pull requests to the main or master branch on GitHub for code changes using the GitHub CLI (
gh pr create --draft). - Add a relevent title with proper prefixes (choose from: "feat:", "fix:", "chore:", "refactor:") based on the type of changes made.
- If currently on the main or master branch, create a new branch with relevant name and prefix (choose from: "feat/", "fix/", "chore/", "refactor/") and commit before creating the draft PR.
- Add a description with a summary of the changes made. Do not add generic titles or headers like "Draft PR" or "Changes made" or "Summary". Just list the changes and refer to methods, files, classes for references where needed.
- Link (Linear) issues by ids if specified by adding "Closes ISSUE_ID ISSUE_ID_2" in the description. Ask for issue ids if not provided.
- Return the URL of the created draft pull request.
When to use me
- Use me when you want to create a (draft) pull request on GitHub for your code changes.
- If my current branch is the main or master branch, create a new branch with relevant name and prefix (choose from: "feat/", "fix/", "chore/", "refactor/") before creating the draft PR.
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
ui-design
Opinionated constraints for building better interfaces with agents. Use when user mentions UI, design, UX, or interface.
linear
Create, read, update, and list Linear issues. Use when user requests to create, read, update, or list Linear projects, issues, tickets, or tasks.
Hono Documentation Search
Use the hono CLI to search and view Hono framework documentation. Use this when planning or building with Hono.
agent-browser
Automates browser interactions for web testing, form filling, screenshots, and data extraction. Use when the user needs to navigate websites, interact with web pages, fill forms, take screenshots, test web applications, or extract information from web pages.
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.
handoff
Compact the current conversation into a handoff document for another agent to pick up.
Didn't find tool you were looking for?