c4flow:review

Review code against the main branch and write quality-gate-status.json.

Updated Mar 14, 2026
One-click install
npx skills add https://github.com/tunneleven/C4Flow --skill c4flow-review
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: c4flow:review
Source: https://github.com/tunneleven/C4Flow/tree/main/skills/review
Command: npx skills add https://github.com/tunneleven/C4Flow --skill c4flow-review

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill automates the process of performing AI-driven code reviews, ensuring code quality before merging and providing clear feedback on issues.

Core Features & Use Cases

  • Automated Code Review: Leverages an AI sub-agent (Codex) to review code changes against a base branch.
  • Quality Gate Enforcement: Integrates with the beads CLI to create and manage quality gates, blocking progress on critical or high findings.
  • Status Reporting: Generates a quality-gate-status.json file detailing the review outcome, findings, and gate status.
  • Use Case: Integrate this into your CI/CD pipeline to automatically flag code quality issues, preventing regressions and maintaining a high standard of code.

Quick Start

Run the c4flow review skill to automatically check your code against the main branch.

Frequently Asked Questions about c4flow:review

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How does AI code review automation work for CI/CD pipelines?

AI code review automation uses a Codex subagent to analyze code changes against the main branch, identifying critical and high severity issues before merging to enforce quality gates and block regressions.

How do I set up a quality gate to block CI/CD pipeline failures on code review?

You set up a quality gate by integrating the beads CLI with your pipeline to manage review status, write outcomes to quality-gate-status.json, and block progress until critical or high findings are resolved.

Can I use Codex for automated code review against the main branch?

Yes, Codex functions as an AI subagent to perform automated code reviews against the main branch, detecting critical and high severity issues to manage quality gate resolution.

What happens to automated code review when the quality gate CLI is unavailable?

When the quality gate CLI is unavailable, the automated code review process handles tool unavailability gracefully, ensuring the pipeline does not crash and manages stale gate status appropriately.

Does AI code review generate status reports for CI/CD quality gates?

Yes, AI code review generates a quality-gate-status.json file detailing the review outcome, findings, and gate status, resolving the gate upon successful review and preflight checks.

Is automated code review suitable for preventing regressions in continuous integration?

Automated code review is suitable for continuous integration as it flags code quality issues automatically, preventing regressions and maintaining a high standard of code before merging.