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
.claude/commands/claude-code-skill-factory-review.mdWhat 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-reviewto inspect changes and watch GitHub Actions
How to install review
Manually: put the files in place
.claude/commands/claude-code-skill-factory-review.mdThe 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/
Manually: put the files in place
~/.codex/prompts/review.mdCall it with /prompts:review. Codex marks this format deprecated in favour of skills
Manually: put the files in place
.github/prompts/review.prompt.mdManually: put the files in place
.gemini/commands/review.tomlGemini stores commands as TOML: the prompt text goes into the prompt field
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.