local-code-review

Use when user wants local code review with GitHub-like PR interface, or when reviewing branches before merge using Gitea

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "local-code-review" with this command: npx skills add fritzdavenport/gitea-review/fritzdavenport-gitea-review-local-code-review

Local Code Review

Ephemeral GitHub-like PR review via a throwaway local Gitea instance. User reviews in the web UI (line comments, suggestions, squash merge). Agent manages PRs via CLI. Nothing persists after done.

Quick Reference

CommandDescription
gitea-review start <branch> [...]Spin up Gitea, push branches, create PRs, open browser
gitea-review comments <pr#> [--hide-resolved]Fetch review comments with resolved status
gitea-review push <branch>Push fixes to existing PR
gitea-review reply <pr#> <path> <line> <msg>Reply to a comment
gitea-review merge <pr#>Squash merge PR
gitea-review listList open PRs
gitea-review open [pr#]Open in browser
gitea-review statusCheck if Gitea is running
gitea-review doneTear down Gitea, remove remote, clean up

AI assistants: Use full path ~/.claude/skills/local-code-review/bin/gitea-review.

When to Use

  • User wants to review branches with line comments before merging
  • User asks for "local code review" or "local PR review"
  • User wants GitHub-like review without pushing to GitHub
  • User says "create a PR for review" and context is local/private work

How It Works

Gitea runs as an ephemeral Docker container with a Caddy reverse proxy that auto-logs the user in (no password needed). The script adds a gitea remote alongside origin, pushes branches there, and creates PRs with auto-generated descriptions. The user reviews at the auto-assigned port (override with GITEA_PORT). When done, gitea-review done removes the container, the remote, and all temp state.

Each repository gets its own isolated instance (container, port, state file), so multiple sessions can run concurrently without interfering with each other.

PR Descriptions

PRs are automatically created with thorough descriptions that include:

  • Summary - Conventional commit type breakdown (feat, fix, test, etc.)
  • Changes - Files modified count and line change statistics
  • File list - Up to 10 changed files with paths
  • Commit list - Up to 10 commits with hashes and messages

This gives reviewers immediate context about what changed and why.

Workflow

gitea-review start branch1 branch2   # Launch Gitea, create PRs, open browser
  [user reviews in browser, leaves line comments]
gitea-review comments 1               # Agent reads comments
  [agent makes code fixes]
gitea-review push branch1             # Push fixes
  [user resolves threads in browser]
gitea-review merge 1                  # Squash merge when approved
gitea-review done                     # Tear down

Responding to Review Comments

When the user says "address review comments" or "check PR comments":

  1. gitea-review comments <pr#> -- each comment shows [id] reviewer: message at file:line with diff context. Resolved comments are marked with [RESOLVED]. Use --hide-resolved to filter them out.
  2. Make the requested code changes
  3. gitea-review push <branch>
  4. gitea-review reply <pr#> <path> <line> "Fixed -- <what you did>"
  5. User resolves threads in the browser UI

Requirements

  • Docker
  • curl, python3, git

Configuration

VariableDefaultDescription
GITEA_PORTAuto-assigned (3000-3999)Port for the Gitea web UI

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Coding

github-tools

Interact with GitHub using the `gh` CLI. Use `gh issue`, `gh pr`, `gh run`, and `gh api` for issues, PRs, CI runs, and advanced queries.

Archived SourceRecently Updated
Coding

openclaw-version-monitor

监控 OpenClaw GitHub 版本更新,获取最新版本发布说明,翻译成中文, 并推送到 Telegram 和 Feishu。用于:(1) 定时检查版本更新 (2) 推送版本更新通知 (3) 生成中文版发布说明

Archived SourceRecently Updated
Coding

ask-claude

Delegate a task to Claude Code CLI and immediately report the result back in chat. Supports persistent sessions with full context memory. Safe execution: no data exfiltration, no external calls, file operations confined to workspace. Use when the user asks to run Claude, delegate a coding task, continue a previous Claude session, or any task benefiting from Claude Code's tools (file editing, code analysis, bash, etc.).

Archived SourceRecently Updated
Coding

ai-dating

This skill enables dating and matchmaking workflows. Use it when a user asks to make friends, find a partner, run matchmaking, or provide dating preferences/profile updates. The skill should execute `dating-cli` commands to complete profile setup, task creation/update, match checking, contact reveal, and review.

Archived SourceRecently Updated