woocommerce-git-draft-pr
Skill by woocommerce
Creates a concise, reviewer-friendly draft pull request from the current git branch. It is written for WooCommerce repositories and fills in the repo's PR template.
Install woocommerce-git-draft-pr
Built from the published package, never by AI.
git clone --depth 1 https://github.com/woocommerce/woocommerce /tmp/woocommerce && mkdir -p ~/.claude/skills && cp -r /tmp/woocommerce/.ai/skills/woocommerce-git-draft-pr ~/.claude/skills/woocommerce-git-draft-prRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
Step-by-step: install woocommerce-git-draft-pr in Claude Code
git clone --depth 1 https://github.com/woocommerce/woocommerce /tmp/woocommerce && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/woocommerce/.ai/skills/woocommerce-git-draft-pr ~/.gemini/antigravity-cli/skills/woocommerce-git-draft-prAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install woocommerce-git-draft-pr in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill creates a draft pull request from the current git branch. Before doing anything, it checks that the branch is not trunk, that commits exist ahead of trunk, and that there are no uncommitted changes. It then reads the commits, diff stat, changelog files and the repo's .github/PULL_REQUEST_TEMPLATE.md to decide the change type, significance, base branch and whether the change affects the plugin.
It writes a verb-first title under 70 characters and fills in the template section by section, leading with why the change matters. It shows the title and body for review, then pushes the branch and runs gh pr create with the --draft flag. It is built for WooCommerce repositories and is aimed at developers who want a clear draft PR without writing the description by hand.
Written from the project's SKILL.md and checked against it.
What it can do
- Preflight checksStops if the branch is trunk, has no commits ahead of trunk, or has uncommitted changes.
- Change analysisDetermines change type, significance, bug-fix status, UI changes and whether the change affects the plugin.
- Context gatheringPulls issue references from commits and branch names and looks up the PR that introduced a bug.
- Title and body generationWrites a verb-first title under 70 characters and fills the repo's PR template.
- Preview before pushShows the generated title and body before pushing or creating the PR.
- Draft PR creationPushes the branch and runs gh pr create with --draft and the chosen base branch.
What you need
- git
- GitHub CLI (gh)
- A repository with a trunk branch
- A .github/PULL_REQUEST_TEMPLATE.md file in the repo
Try asking
- Create a draft PR for the current branch
- Open a PR for my changes and push the branch
- Make a PR with a changelog entry for this fix
Good to know
- Stops if the branch is trunk, has no commits ahead of trunk, or has uncommitted changes
- Never commits code; it only pushes and creates the PR
- Does not add Co-Authored-By lines or self-attribution
- Preserves the template's HTML comments and section headings
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: .ai/skills/woocommerce-git-draft-pr/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md4 KB
Alternatives to woocommerce-git-draft-pr
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
woocommerce-git-draft-pr: common questions
Which base branch does it use for the PR?
It uses a release/* branch if the current branch was created from one, otherwise trunk.
Does it commit my code?
No. The skill never commits code. It pushes the branch and creates the draft PR.
What happens if the working tree has uncommitted changes?
The skill stops and does not create the PR until the changes are dealt with.
How do I install woocommerce-git-draft-pr?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is woocommerce-git-draft-pr free?
The code is published under the GPL-2.0 licence. The service it connects to may have its own pricing.
Is woocommerce-git-draft-pr safe to use?
It scores 86 of 100. Grades: maintenance A, licence C, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to woocommerce-git-draft-pr?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
