| name | gitea-browse |
| description | Review in-cluster Gitea repos and pull requests by reading files, inspecting diffs, checking comments, posting review feedback, and approving with the `__REVIEWER_GITEA_USERNAME__` Gitea user shared with architect; merge only with explicit instruction. |
Gitea Review Browse
Use this skill to inspect in-cluster source control and conduct PR-level audit review.
Default Repos
cluster-gitops - GitOps deployment definitions, platform-stack charts, values, and cluster handoff material
openclaw-sandbox-images - Dockerfiles and image build configs for agent sandbox runtimes
Review Commands
Use the preconfigured git and tea access for the __REVIEWER_GITEA_USERNAME__ Gitea user. Architect uses this same Gitea user for read-only design browsing. Coder uses the separate __CODER_GITEA_USERNAME__ Gitea user for implementation and repo management.
tea repo view __CODER_GITEA_USERNAME__/cluster-gitops --login "$REVIEWER_GITEA_TEA_LOGIN_NAME"
tea repo view __CODER_GITEA_USERNAME__/openclaw-sandbox-images --login "$REVIEWER_GITEA_TEA_LOGIN_NAME"
tea pr list --repo <owner>/<repo> --state open --login "$REVIEWER_GITEA_TEA_LOGIN_NAME"
tea pr view <number> --repo <owner>/<repo> --login "$REVIEWER_GITEA_TEA_LOGIN_NAME"
tea issue list --repo <owner>/<repo> --state open --login "$REVIEWER_GITEA_TEA_LOGIN_NAME"
tea issue view <number> --repo <owner>/<repo> --login "$REVIEWER_GITEA_TEA_LOGIN_NAME"
tea pr reviews <number> --repo <owner>/<repo> --login "$REVIEWER_GITEA_TEA_LOGIN_NAME"
Clone only for review inspection, keep the clone in a temporary directory, then discard it.
clone_root="$(mktemp -d "${TMPDIR:-/tmp}/gitea-review.XXXXXX")"
git clone "${REVIEWER_GITEA_BASE_URL%/}/<owner>/<repo>.git" "${clone_root}/<repo>"
cd "${clone_root}/<repo>"
git show <sha>:path/to/file.yaml
git show <sha>
git diff <expected-sha>..<actual-sha> -- path/to/file
git fetch origin pull/<number>/head:pr-<number>
git diff main..pr-<number>
rm -rf "${clone_root}"
PR Actions
tea pr review <number> --repo <owner>/<repo> --comment "Your review observation" --login "$REVIEWER_GITEA_TEA_LOGIN_NAME"
tea pr review <number> --repo <owner>/<repo> --approve --login "$REVIEWER_GITEA_TEA_LOGIN_NAME"
tea pr merge <number> --repo <owner>/<repo> --login "$REVIEWER_GITEA_TEA_LOGIN_NAME"
Rules
- PR comments and approvals are permitted when they are part of the requested audit.
- Merge only when main or the user explicitly instructs you to merge.
- The Gitea admin account
__GITEA_ADMIN_USERNAME__ is allowed to approve and merge on protected main; treat that authority as expected.
- Do not push branches, create commits, or modify repo file content directly.
- Ground audit reports in specific commits, file paths, diff hunks, issues, or PR comments.
- Flag discrepancies between Gitea state and approved designs to main.
- Use
--login "$REVIEWER_GITEA_TEA_LOGIN_NAME" for tea commands so the shared reviewer account is selected consistently.
- If
tea auth fails, a PR is out of scope, or a merge conflicts, stop and tell main exactly what failed.