Skip to main content
command CX Codex

review · alirezarezvani — Claude Code command: what it does, how to install

review runs local quality checks, updates the commit template, and triggers CI workflows via GitHub CLI before pushing changes.

MIT ★ 907 updated 2025-11-12

Install into Claude Code · Manually: put the files in place All methods and platforms ↓
.claude/commands/claude-code-skill-factory-review.md
Open on GitHub

What review does

The command acts as a pre-push quality gate. First, it triggers the /git/rv helper and requires resolving any errors flagged by yamllint, check-jsonschema, markdown-link-check, or safety. Test commands run during this phase are logged into the Testing section of the commit template.

Next, the remote visibility step calls /ci-guard and triggers the ci-quality-gate.yml GitHub Actions workflow using the gh CLI. It tracks progress with gh run watch against the current branch. Without an active gh CLI setup and a matching ci-quality-gate.yml file, the remote verification step fails.

What it helps with

  • lint project files with yamllint, check-jsonschema, and markdown-link-check
  • audit dependencies for known vulnerabilities with safety
  • trigger and watch the ci-quality-gate.yml GitHub Actions workflow
  • populate the commit template Testing section with ran checks

Example prompts for the agent

  • Run the pre-push review gate before pushing code to the repository
  • Execute local linters and dispatch the remote CI quality gate workflow
  • Trigger /claude-code-skill-factory-review to inspect changes and watch GitHub Actions

How to install review

Manually: put the files in place

.claude/commands/claude-code-skill-factory-review.md

The built-in /review overrides a file with the same name, so the file is renamed. Call it with /claude-code-skill-factory-review. For all projects use ~/.claude/commands/

Questions about review

How to install review in Claude Code?

Add the command file to your repository at .claude/commands/claude-code-skill-factory-review.md.

What does the review command do?

It runs linters like yamllint and safety locally, then dispatches and tracks ci-quality-gate.yml via the gh tool.

What tools are needed to run the review command?

You need yamllint, check-jsonschema, markdown-link-check, safety, and the GitHub CLI (gh) available in your environment.

Source text

review.md · MIT
---
description: Run the full review gate locally and trigger CI visibility.
---

## Local Checks
1. Execute the git review helper: `/git/rv`
2. Fix any issues reported by yamllint, check-jsonschema, markdown-link-check, or safety.
3. Update the commit template’s Testing section with the commands executed.

## Remote Visibility
1. Trigger Commit & Branch Guard: `/ci-guard`
2. Trigger CI Quality Gate:
   ```bash
   gh workflow run ci-quality-gate.yml --ref $(git branch --show-current)
   gh run watch --workflow "CI Quality Gate"
   ```

## Tips
- Run `/review` before every push to keep the main branch green.
- If workflows fail, fix the root cause and rerun `/review` to confirm.

© alirezarezvani · MIT · alirezarezvani/claude-code-skill-factory

Similar slash commands

All slash commands for Code review and refactoring →

review by other authors comes first.

review CloudAI-X Sets Claude Code to run strict engineering reviews, triaging issues from critical security flaws to minor stylistic fixes. CX Codex +1 ★ 1,424repo stars review INDX review — a Claude Code command checks what got worse in a pull request or recent commits. Run it with a PR number or revision. CX Codex +1 ★ 113repo stars gemini-review alinaqi The gemini-review skill routes code reviews through Gemini CLI, covering branch changes, security issues, and large repositories. It also describes CI/CD use. CX Codex +1 283installs github-workflow-automation sickn33 github-workflow-automation — a skill that hands the agent patterns for GitHub work: AI-assisted PR review, issue triage, Actions workflows, CI/CD hooks, rebases and cherry-picks. CX Codex +1 1,500installs review-pr-lite dyoshikawa review-pr-lite is a Claude Code skill that reviews pull requests for code defects and security risks without subagents. It also checks GitHub Actions after reviewing changes. CX Codex +1 ★ 1,636repo stars Dark Matter Analyzer daffy0208 Dark Matter Analyzer audits codebases for hidden friction, documentation inflation, and divergence between goals and commits. Useful before major refactorings. CX Codex +1 128installs Diffinery codician-team MCP server for git repositories, pull requests, CI pipelines and issues on a self-hosted Diffinery instance. CX Codex +1 ★ 84repo stars github-workflow Mindrally github-workflow — a rule set that tells your agent how to work with GitHub: pull requests, review comments, Actions workflows, issue templates and branch protection. Useful whenever the agent touches a repo. CX Codex +1 829installs

From the same set36

The whole set →

Project sponsors

Companies that keep this analytics open