Files
claw-ideas/ideas/dev-tooling/code-review.md
Space-Banane 6fbddacfcf Sort
2026-04-02 18:59:02 +02:00

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

  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 LLM API) to analyze the git diff.
  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.