mirror of
https://gerrit.googlesource.com/git-repo
synced 2026-11-09 22:11:08 +00:00
Align with Google style guides and `import git_command` as a module rather than import symbols out of it. Change-Id: If80d95203e240dd6591e465ef75500c72401d2bf Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/648503 Commit-Queue: Mike Frysinger <vapier@google.com> Reviewed-by: Gavin Mak <gavinmak@google.com> Tested-by: Mike Frysinger <vapier@google.com>
git-repo AI Review Agents (WIP)
Note: This project is a work in progress and is subject to change.
This directory contains configurations and skills for AI review agents that
automatically analyze changes in the git-repo codebase.
These agents help maintain code quality, enforce style guidelines, and catch common pitfalls before code is merged.
Directory Structure
agent_configs.txtpb: Defines the active AI agents, their configurations, and which skills they are equipped with.skills/: Contains the "skills" (rules, guidelines, and traps) used by the agents.code_review_workflow/: Guidelines for code review processes, commit messages, and testing.core_internals/: Technical guidelines forgit-repocore logic (sync, manifest, git integration, etc.).
How It Works
The agents defined in agent_configs.txtpb are configured to run
automatically on new changes. They analyze the diffs against the rules defined
in their respective skills and provide feedback in the code review interface
(e.g., Gerrit).
Contributing
To improve the agent's review quality or add new rules:
- Update existing skills: Modify the
SKILL.mdfiles underskills/to add new rules, "What" explanations, "Why" rationales, and "Traps" (Don't/Do code examples). - Add new skills:
- Create a new directory under
skills/. - Add a
SKILL.mdfollowing the established format (see existing skills for reference). - Register the new skill in
agent_configs.txtpbby adding it to theskillsfield of an agent configuration.
- Create a new directory under