14 lines
696 B
Markdown
14 lines
696 B
Markdown
# Automated Code-Review-Pipeline (The Gatekeeper)
|
|
|
|
## Problem
|
|
Manual code review is tedious and spesso inconsistent. Architectural anti-patterns often slip through PRs.
|
|
|
|
## Instructions
|
|
1. **Webhook Integration:** Set up a Gitea webhook that triggers a function on your VPS when a PR is opened.
|
|
2. **Analysis Engine:** Use an LLM (e.g., via Gemini API) to analyze the .
|
|
3. **Prompt Engineering:** Define a system prompt for the agent to focus on *architectural integrity* and *complexity metrics* rather than just syntax checking.
|
|
4. **Feedback Loop:** Have the agent post its review directly back to the PR comments.
|
|
|
|
## Goal
|
|
Automate the "High-Level Review" stage of your development pipeline.
|