

Challenges
Working across roughly 20 parallel projects with different specialists, the MMC team set out to integrate artificial intelligence into its day-to-day engineering process – but the question was where to begin. Rather than launching a broad, high-risk rollout, the team needed a focused entry point that would deliver immediate value while building internal confidence in working with LLMs.
Code review was selected as that entry point. The goal was to plug an AI assistant directly into the existing GitLab workflow, so that whenever an engineer opened a merge request, they would automatically receive feedback generated by a language model. Making this work required indexing the entire project, capturing the team’s code-review rules in a form the model could use, and defining a reference module to serve as the standard for quality.
About the Project
MMC is an enterprise marketing automation platform built and maintained for a German marketing agency with a complex organizational structure and over 155 people. The product is actively used across roughly 30 clients, each with bespoke customizations that QA must validate.
Full project background is available in the original case study: MMC – Marketing Automation Software
The initiative described here focused on introducing an LLM into the existing GitLab-based code-review process.
- Region
- Germany
- Team
- 155+ specialists
- Stage
- Ongoing
- Model
- Claude
Solution
After analyzing the available models, the team chose Claude as the foundation for the experiment. The deciding factors were the quality of its code reasoning, the large context window that made it practical to load an entire project into a single session, and the ability to provide structured, actionable review comments rather than generic observations.
The first step was to give the model the context it needed. The team indexed the full project – loading all source files so the model could reason about architecture, naming patterns, and dependencies across the codebase, not just the changed lines in isolation. Where written code-review rules did not yet exist, an initial set was generated directly from the reference module: the team designated a representative, well-structured part of the project as the quality benchmark, asked Claude to derive the conventions it observed there, and used that output as the starting rule set. The result was a working baseline the team could review and refine rather than having to author from scratch.
In parallel, the team evaluated existing tooling for AI-assisted review. GitLab Duo was tested but proved too expensive relative to what it offered. The team moved away from it and instead built a direct integration: Claude Code hooks into the GitLab CI/CD pipeline so that every opened or updated merge request automatically triggers a review pass. The model receives the diff, the full project index, and the current CLAUDE.md rules file, then posts its findings as a structured comment on the MR – inserting itself into the workflow engineers already use without requiring any change in how they work.
- Index the codebase Code, test cases, docs, wiki
- Derive baseline rules Benchmark module → CLAUDE.md
- Hook into CI/CD pipeline Claude Code + GitLab integration
- Merge request opened Review pass triggers automatically
- Post review comment Structured feedback on the MR
- Engineer reviews & refines Updates CLAUDE.md rules
feeds back into rules
Key Development Stages
-
Architect First
The tool was first given to the architect and tech lead, Andrey, who reviews every merge request. The aim was to let him work faster and deliver higher-quality results across his parallel responsibilities.
-
Scaling to Engineers
Kirill was the next adopter, with the specific need to maintain consistent review quality while switching between many projects. Early results were striking: across five open merge requests already reviewed manually, Claude surfaced oversights that had been missed.
-
Building the Knowledge Base
As Claude flagged points that conflicted with established team conventions, those conventions were captured in a CLAUDE.md file – a document loaded into context by default. Over successive reviews, the model stopped flagging accepted conventions as errors and began actively enforcing them, while the team continued to refine the file alongside each review.
-
Key Outcomes
- The team now has a documented set of rules covering code review, architecture, and code style – built up evolutionarily through real review cycles rather than written in advance.
- The full project has been indexed and prepared for future prototyping based on user stories.
- Review quality became more consistent across context switches, with the model catching issues human reviewers had overlooked.
-
Lessons Learned
A central principle emerged early: Claude’s output should never be trusted blindly. The model provides a strong first baseline, but the engineer reviews alongside it and refines the rules in turn. The value comes not from delegation but from the combination – an AI baseline plus human judgment, with each review making the shared knowledge base sharper.
Ready to bring AI-assisted code review into your team's workflow? Let's talk.
Key Benefits
-
Higher throughput for the architect
The single reviewer responsible for all merge requests across 20+ parallel projects gets an AI-generated first pass on every MR, cutting the time spent on routine checks and freeing attention for architectural decisions that genuinely require human judgment.
-
Consistent quality across context switches
Engineers switching between projects no longer rely solely on working memory to maintain review standards. The model applies the same rule set regardless of which project or sprint is in focus, catching issues that slip through when human attention is divided.
-
A living rule base that grows with the project
Rather than a documentation effort that happens once and then ages, CLAUDE.md is updated incrementally after each review cycle. Conventions are captured the moment they are contested, so the knowledge base reflects the team’s actual current standards rather than a snapshot from the past.
-
Foundation for broader automation
Indexing the full codebase for review also prepared it for the next stage: the same project context is now available as a starting point for prototyping features directly from user stories, making code review the first step in a larger AI-assisted development workflow.
Frequently Asked Questions
How does Claude fit into an existing GitLab code review process?
Claude Code hooks directly into the GitLab CI/CD pipeline. Every time a merge request is opened or updated, the model receives the diff, the full indexed project, and the team's CLAUDE.md rules file, then posts its findings as a structured comment on the MR, without requiring engineers to change how they work.
Why did the team move away from GitLab Duo?
GitLab Duo was tested first but proved too expensive relative to what it delivered. The team replaced it with a direct Claude Code integration into the existing pipeline, built around the team's own rules and full project context rather than a generic review tool.
Where do the code review rules come from?
Where written rules didn't already exist, the team designated a well-structured part of the codebase as a quality benchmark and asked Claude to derive the conventions it followed there. That output became the starting rule set, captured in a CLAUDE.md file and refined after each review cycle.
Does Claude replace human code reviewers?
No. The team's core principle is that Claude's output should never be trusted blindly. The model gives a strong first pass, but engineers still review it and refine the rules. Value comes from combining the AI baseline with human judgment, not from replacing it.
What results has the team seen so far?
Across five merge requests already reviewed manually, Claude surfaced oversights the human reviewer had missed. Review quality also became more consistent across context switches, since the model applies the same rule set regardless of which of the 20+ parallel projects is in focus.





