WooCommerce Code Review
woocommerce/woocommerce
Reviews WooCommerce code changes against the project's standards, flagging backend PHP architecture, naming, documentation, data integrity and testing violations.
Review staged and unstaged changes before committing. An agent skill from openshift-eng/ai-helpers.
$ npx skills add openshift-eng/ai-helpers --skill pre-commit-review -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install openshift-eng/ai-helpers pre-commit-review --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/openshift-eng/ai-helpers.git skills-src && mkdir -p .claude/skills && cp -r skills-src/plugins/code-review/skills/pre-commit-review .claude/skills/pre-commit-review && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "pre-commit-review" agent skill from https://github.com/openshift-eng/ai-helpers/tree/main/plugins/code-review/skills/pre-commit-review into .claude/skills/pre-commit-review/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "pre-commit-review", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/openshift-eng/ai-helpers/tree/main/plugins/code-review/skills/pre-commit-reviewType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add openshift-eng/ai-helpers --skill pre-commit-review -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install openshift-eng/ai-helpers pre-commit-review --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/openshift-eng/ai-helpers.git skills-src && mkdir -p .agents/skills && cp -r skills-src/plugins/code-review/skills/pre-commit-review .agents/skills/pre-commit-review && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "pre-commit-review" agent skill from https://github.com/openshift-eng/ai-helpers/tree/main/plugins/code-review/skills/pre-commit-review into .agents/skills/pre-commit-review/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "pre-commit-review", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add openshift-eng/ai-helpers --skill pre-commit-review -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install openshift-eng/ai-helpers pre-commit-review --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/openshift-eng/ai-helpers.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/plugins/code-review/skills/pre-commit-review .cursor/skills/pre-commit-review && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "pre-commit-review" agent skill from https://github.com/openshift-eng/ai-helpers/tree/main/plugins/code-review/skills/pre-commit-review into .cursor/skills/pre-commit-review/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "pre-commit-review", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/openshift-eng/ai-helpers.git --path plugins/code-review/skills/pre-commit-review--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add openshift-eng/ai-helpers --skill pre-commit-review -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install openshift-eng/ai-helpers pre-commit-review --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/openshift-eng/ai-helpers.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/plugins/code-review/skills/pre-commit-review .gemini/skills/pre-commit-review && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "pre-commit-review" agent skill from https://github.com/openshift-eng/ai-helpers/tree/main/plugins/code-review/skills/pre-commit-review into .gemini/skills/pre-commit-review/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "pre-commit-review", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install openshift-eng/ai-helpers pre-commit-reviewInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add openshift-eng/ai-helpers --skill pre-commit-review -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/openshift-eng/ai-helpers.git skills-src && mkdir -p .github/skills && cp -r skills-src/plugins/code-review/skills/pre-commit-review .github/skills/pre-commit-review && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "pre-commit-review" agent skill from https://github.com/openshift-eng/ai-helpers/tree/main/plugins/code-review/skills/pre-commit-review into .github/skills/pre-commit-review/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "pre-commit-review", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add openshift-eng/ai-helpers --skill pre-commit-review -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install openshift-eng/ai-helpers pre-commit-review --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/openshift-eng/ai-helpers.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/plugins/code-review/skills/pre-commit-review .opencode/skills/pre-commit-review && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "pre-commit-review" agent skill from https://github.com/openshift-eng/ai-helpers/tree/main/plugins/code-review/skills/pre-commit-review into .opencode/skills/pre-commit-review/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "pre-commit-review", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
pre-commit-reviewReview staged and unstaged changes before committing. An agent skill from openshift-eng/ai-helpers.
Pre Commit Review is an agent skill from openshift-eng/ai-helpers. Review staged and unstaged changes before committing. Use when asked for a pre-commit review, a code-quality review of the current diff, or when a solve workflow requests an independent review.
Its SKILL.md is about 1.6k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in Development, covering Code quality. The repository describes itself as: Developer productivity tools for Claude Code & other AI assistants. The licence is Apache-2.0.
5 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit a627176. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
gitmakegocargonpmyarnpythonFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md. Its commands use git, npm and yarn, which can reach the network depending on how they are called.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Pre Commit Review loads about 1.6k tokens when it runs. Until then it costs about 53 tokens; SKILL.md has 734 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from openshift-eng/ai-helpers at commit a627176, republished under its Apache-2.0 licence (© openshift-eng). 734 words, ~1,557 tokens.
.claude/skills/pre-commit-review/SKILL.md (or your agent's skills folder).code-review:pre-commit-review
/code-review:pre-commit-review [--language <lang>] [--profile <name>] [--skip-build] [--skip-tests]Review the current staged and unstaged changes before committing. Assess test coverage, idiomatic code, duplication, design, and build verification. Review only the current diff; do not report pre-existing issues in unchanged code.
The same-named skill replaces the former plugin command, so the /code-review:pre-commit-review invocation remains available in Claude Code. Install the plugin through APM to expose this skill to OpenCode and other supported clients.
Read options from the skill invocation or the user's request:
| Option | Behavior |
|---|---|
--language <lang> | Apply language-specific review guidance. If omitted, detect from changed-file extensions. |
--profile <name> | Apply project-specific conventions and checks. |
--skip-build | Skip build verification and report it as skipped. |
--skip-tests | Skip unit-test coverage review and report it as skipped. |
Detect the primary language from changed-file extensions: .go → Go, .py → Python, .rs → Rust, .ts/.tsx → TypeScript, and .java → Java. If files are mixed or the language has no guidance, continue with a general review.
Load optional guidance from sibling skill directories, relative to this SKILL.md:
../<language>-code-review/SKILL.md (currently available: ../go-code-review/SKILL.md).../<name>-code-review/SKILL.md (for example, ../hypershift-code-review/SKILL.md).If requested guidance is absent, say so and continue without it. Give loaded guidance to each relevant review pass.
Completion criterion: all supplied options are accounted for, and each available language/profile guide has been loaded before reviewing.
Collect and deduplicate changed paths from both git diff --name-only and git diff --cached --name-only. Categorize them as source, tests, configuration, or documentation. If the diff is empty, report that and stop. If no source files changed, narrow the review accordingly.
Completion criterion: the complete staged and unstaged file list is recorded, with no unchanged files added to scope.
Run these independent review passes:
--skip-tests was supplied, check for tests covering changed behavior, new public functions, edge cases, and error paths. A missing test for a new public function with non-trivial logic is blocking. Apply language and profile test conventions.Keep each pass independent until findings are collected. When the host supports agent delegation, delegate independent passes concurrently and provide each reviewer with the changed-file list and relevant guidance. Otherwise, perform the passes sequentially in this session. If the profile names specialist reviewers, use the host's available delegation mechanism; without delegation, apply each specialist perspective as a separate pass. Provide the full diff and available PR or issue context to profile-specific reviewers.
Completion criterion: every applicable pass has examined every in-scope change, and skipped passes are recorded with the supplied option that skipped them.
Unless --skip-build was supplied, run the most specific available build/verification command in this order:
make build (or the documented default make) when a Makefile is present; go build ./... for Go; cargo build for Rust; npm run build or yarn build for JavaScript/TypeScript; python -m py_compile on changed files for Python.Run this alongside review passes when the host supports concurrent work. Record the command and result. On failure, include the relevant output and mark the overall review as FAIL. If explicitly skipped, report it as skipped; do not imply that the build was verified.
Completion criterion: build verification is recorded as passed, failed, or explicitly skipped; no result is implied.
Return a structured report with:
PASS, FAIL, or PASS WITH RECOMMENDATIONS.Make findings specific and actionable, with file:line references where possible. Match review depth to change risk. Offer to fix straightforward issues rather than silently expanding the review into implementation.
Completion criterion: every finding is tied to changed code, has an actionable recommendation, and the verdict reflects all review and build results.
/code-review:pre-commit-review
/code-review:pre-commit-review --language go --profile hypershift
/code-review:pre-commit-review --skip-build
/code-review:pre-commit-review --language python --skip-tests© openshift-eng, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in plugins/code-review/skills/pre-commit-review of openshift-eng/ai-helpers.
Open the folder on GitHubat commit a627176
Pre Commit Review next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Pre Commit Review this skillopenshift-eng/ai-helpers | 120 | — | ~1.6k | Automated safety check: Pass | Apache-2.0 | |
| WooCommerce Code Reviewwoocommerce/woocommerce | 11k | 3 repos | ~1.1k | Automated safety check: Pass | Custom licence | |
| Systematic Code Refactoringluongnv89/claude-howto | 42k | — | ~3k | Automated safety check: Pass | MIT | |
| Install Anti-Slop Oxlint Rulesdmmulroy/anti-slop | 5.2k | — | ~2.2k | Automated safety check: Pass | MIT | |
| Constraint-Driven Developmentaddyosmani/agent-skills | 102k | 2 repos | ~5.2k | Automated safety check: Pass | MIT | |
| Skill Doli Code ReviewDolibarr/dolibarr | 7.7k | 1 repos | ~1.1k | Automated safety check: Pass | MIT |
woocommerce/woocommerce
Reviews WooCommerce code changes against the project's standards, flagging backend PHP architecture, naming, documentation, data integrity and testing violations.
luongnv89/claude-howto
Guides refactoring in phases based on Martin Fowler's method: research, test coverage check, planning and small tested steps, with your approval at each phase.
dmmulroy/anti-slop
Installs, updates or migrates the vendored anti-slop Oxlint plugin in a repository, keeping local rule changes and the plugin's license and provenance files.
addyosmani/agent-skills
Records a project's quality bar in CONSTRAINTS.md and watches diffs for signs an agent quietly weakened it, such as suppressions, skipped tests or lowered thresholds.
Dolibarr/dolibarr
Reviews Dolibarr PHP code for compliance with coding standards and security best practices, and fixes identified issues.
docling-project/docling
Applies opinionated production Python conventions chosen by the project's Python version: modern type syntax, pathlib, explicit checks and interface guidance.
openshift-eng/ai-helpers
Find and independently validate actionable reliability defects across OpenShift release jobs and presubmits, then export portable issue handoffs.
openshift-eng/ai-helpers
Fetch and address all PR review comments — categorize by priority, make code changes, post replies, and push.
openshift-eng/ai-helpers
Categorize Jira issues into Red Hat Sankey Activity Type categories using MCP Jira tools.
openshift-eng/ai-helpers
Decide whether a GitHub PR has unanswered authorized review comments or new required CI failures worth a follow-up agent.
openshift-eng/ai-helpers
Analyze OpenShift must-gather diagnostic data including cluster operators, pods, nodes, and network components.
openshift-eng/ai-helpers
Schema for the autodl JSON data file produced by payload-analysis for database ingestion — you must use this skill whenever generating the autodl JSON file
Categories
Review staged and unstaged changes before committing. An agent skill from openshift-eng/ai-helpers. Pre Commit Review is an agent skill from openshift-eng/ai-helpers. Review staged and unstaged changes before committing.
Pre Commit Review fits situations like: asked for a pre-commit review; A code-quality review of the current diff; A solve workflow requests an independent review.
Run `npx skills add openshift-eng/ai-helpers --skill pre-commit-review -a claude-code`. Or copy the skill folder (plugins/code-review/skills/pre-commit-review in openshift-eng/ai-helpers) into .claude/skills/pre-commit-review in your project. Claude Code loads it when a task matches its description.
Run `npx skills add openshift-eng/ai-helpers --skill pre-commit-review -a codex`. Or copy the skill folder (plugins/code-review/skills/pre-commit-review in openshift-eng/ai-helpers) into .agents/skills/pre-commit-review in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add openshift-eng/ai-helpers --skill pre-commit-review -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/pre-commit-review, .gemini/skills/pre-commit-review, .github/skills/pre-commit-review and .opencode/skills/pre-commit-review in your project.
Going by SKILL.md and its folder, Pre Commit Review needs the command-line tools its instructions call (git, make, go, cargo, npm and yarn). Our summary lists: Python 3.
SKILL.md contains no URLs. Its commands use git and npm, which can reach the network depending on how they are called. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Pre Commit Review is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.6k tokens (SKILL.md is roughly 6.2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Pre Commit Review: WooCommerce Code Review (woocommerce/woocommerce, 11k stars), Systematic Code Refactoring (luongnv89/claude-howto, 42k stars), Install Anti-Slop Oxlint Rules (dmmulroy/anti-slop, 5.2k stars) and Constraint-Driven Development (addyosmani/agent-skills, 102k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
openshift-eng (a GitHub organization) maintains it in openshift-eng/ai-helpers, which has 120 GitHub stars. The repository holds 118 skills in this directory. The repository was last updated on October 6, 2026.
Source: openshift-eng/ai-helpers on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.