ai-reviewed-commit

Review staged changes and generate Conventional Commits messages.

12|1|Updated Feb 6, 2026
One-click install
npx skills add https://github.com/RyderFreeman4Logos/cli-sub-agent --skill ai-reviewed-commit
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ai-reviewed-commit
Source: https://github.com/RyderFreeman4Logos/cli-sub-agent/tree/main/patterns/ai-reviewed-commit/skills/ai-reviewed-commit
Command: npx skills add https://github.com/RyderFreeman4Logos/cli-sub-agent --skill ai-reviewed-commit

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Automates pre-commit review and commit generation by routing staged changes through model-based review or debate.

Core Features & Use Cases

  • Authorship-aware review: distinguish self-authored vs. others and route to debate or review accordingly.
  • Fixed three-round loop: fix-and-retry within a strict cap to ensure issues are resolved before commit.
  • Compliance and governance: enforces AGENTS.md checks and produces a Conventional Commits message.
  • End-to-end workflow: coordinates staging, review, debate, and final commit within CSA.

Quick Start

Stage the changes with git and invoke CSA to review and commit the staged changes using the ai-reviewed-commit skill.

Frequently Asked Questions about ai-reviewed-commit

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

FAQPage Schema
How do I automate pre-commit code review for staged git changes?

Automating pre-commit code review for staged git changes involves routing modifications through a model-based review or debate loop. The process enforces AGENTS.md rules, applies a 3-round fix-and-retry cycle, and generates a Conventional Commits message for the final commit.

Can I use AI to generate Conventional Commits messages automatically?

Yes, AI can generate Conventional Commits messages automatically. After validating staged changes against AGENTS.md rules and resolving issues through a fix-and-retry loop, the orchestrator produces a compliant Conventional Commits message for the final commit.

Does AI pre-commit review distinguish between self-authored and others' code?

Yes, AI pre-commit review distinguishes between self-authored changes and changes by others. It routes self-authored modifications to a standard model review, while routing changes by others to a debate for more rigorous evaluation before committing.

What is a 3-round fix-and-retry loop in an AI code review workflow?

A 3-round fix-and-retry loop in an AI code review workflow is a strict cap for resolving identified issues. The orchestrator attempts to fix review findings and retries the review up to three times, ensuring issues are resolved before the commit proceeds.

How do I enforce AGENTS.md compliance checks before a git commit?

You can enforce AGENTS.md compliance checks before a git commit by routing staged changes through an automated orchestrator. The process validates modifications against AGENTS.md rules during the review loop, ensuring governance before generating the final commit message.

When should I not use an automated pre-commit review loop?

You should not use an automated pre-commit review loop when changes are not yet staged, as the workflow requires staged inputs to function. Additionally, the orchestrator will not work unless SA-mode propagation is explicitly honored with --sa-mode true on CSA commands.