mirror of
https://github.com/MAKS-IT-COM/maksit-gitea-cursor.git
synced 2026-09-30 04:58:10 +02:00
20 lines
741 B
Markdown
20 lines
741 B
Markdown
---
|
|
name: gitea-code-review
|
|
description: Review Gitea pull requests using the Gitea MCP tools and write a structured review. Use when the user asks to review a Gitea PR or inspect a pull request diff on a self-hosted Gitea instance.
|
|
---
|
|
|
|
# Gitea code review
|
|
|
|
1. Fetch `gitea_pull` `get`, `files`, `commits`, `reviews`, and `diff`.
|
|
2. Read only the changed files that matter (skip lockfiles and generated assets unless they are the change).
|
|
3. Report:
|
|
|
|
- **Must fix**
|
|
- **Should consider**
|
|
- **Nice to have**
|
|
|
|
4. End with a recommended review event: `COMMENT`, `APPROVE`, or `REQUEST_CHANGES`.
|
|
5. Submit a review only if the user asks to post it.
|
|
|
|
Do not merge, force-push, or approve your own unreviewed changes without an explicit request.
|