702 B
702 B
Automated Code-Review-Pipeline (The Gatekeeper)
Problem
Manual code review is tedious and often inconsistent. Architectural anti-patterns often slip through PRs.
Instructions
- Webhook Integration: Set up a Gitea webhook that triggers a function on your VPS when a PR is opened.
- Analysis Engine: Use an LLM (e.g., via LLM API) to analyze the
git diff. - Prompt Engineering: Define a system prompt for the agent to focus on architectural integrity and complexity metrics rather than just syntax checking.
- 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.