技能圖譜SKILLSGROVE
技能圖譜/辦公文件/Amet13/overfull/review-changes

review-changes

安裝

$npx skills add https://github.com/Amet13/overfull --skill review-changes
$git clone --depth 1 https://github.com/Amet13/overfull.git /tmp/overfull && mkdir -p ~/.claude/skills && cp -r /tmp/overfull/skills/review-changes ~/.claude/skills/review-changes
請幫我安裝這個 Agent Skill:https://github.com/Amet13/overfull/tree/c5540f4b1f4d9d2d539a068ea7bc04821f993a83/skills/review-changes ,先閱讀它的 SKILL.md 和指令碼,確認安全後再安裝到我的技能目錄。

簡介

原文描述 · MIT-0Prepare a branch for the author's review as a pull request, with a highlighted-changes PDF from `overfull diff`, a summary of what changed and why, what could not be verified, and the remaining check warnings. Use when finishing a task, before asking the author to merge, or when the author asks what changed.
以下 SKILL.md 內容轉載自 Amet13/overfull(提交 c5540f4),依據 MIT-0 許可證轉載正文(文字未改動;僅省略檔案頭後設資料、將圖片顯示為連結,超長內容會截斷);版權歸 2016-2026 Amet Umierov 所有。許可證:skills/LICENSE。僅展示說明檔案,附帶指令碼請在原倉庫檢視。

Prepare changes for review

The author reviews the PDF, not only the LaTeX diff. Make that easy.

Steps

  1. Make sure the work is committed in small, logical commits on a branch (not main). Each message says what content changed.

  2. Build and check:

    overfull build
    overfull check --json
    

    There must be no errors. If there are, fix them first (fix-build, add-citation, and so on).

  3. Produce the highlighted-changes PDF against the base branch:

    overfull diff --base main
    

    Use the base branch the PR targets. The command prints where it wrote the PDF. --out must stay inside the project. With --json it prints {pdf, base, sha, complete}; if complete is false, the diff document had LaTeX errors and the PDF may be incomplete, so say so in the PR.

  4. List every open question for the author. TODO(author) comments do not show in the diff PDF, so collect them from the source:

    grep -rn "TODO(author)" --include=*.tex --include=*.bib .
    
  5. Write the PR description (template below). List every TODO(author) item from step 4 with its file and line.

  6. Open the PR (for example gh pr create). The template's workflow (.github/workflows/preflight.yml) builds the PDF and the diff in CI, puts the check report in the job summary and annotates the changed lines. It does not comment on the PR.

PR description template

## What changed
- Added Section 4.2 on X from notes/experiments.md
- New figure \cref{fig:loss} from figures/data/loss.csv
- 3 references added with `overfull cite` (keys: a2024, b2023, c2025)

## Needs the author's attention
- Claims I could not find in notes/: <list with file:line>
- TODO(author) markers (from `grep -rn "TODO(author)"`): <every one, file:line and question>
- Reference mismatches to confirm: <key: what differs>

## Check report
- Status: pass / warn
- Remaining warnings: <rule, location, why it stays>

## Review
Highlighted-changes PDF: <path or CI artifact>

Done

  • overfull check has no errors on the branch.
  • The PR description lists every content change, every unverified claim, every TODO(author) marker, and every remaining warning.
  • The author has a highlighted-changes PDF to read.

Pitfalls

  • Do not merge your own PR. The author merges.
  • Do not squash unrelated changes into one commit; it makes the diff hard to review.
  • Do not describe changes you did not make, or hide warnings by not listing them.
檢視許可證全文(MIT-0)
MIT No Attribution

Copyright 2016-2026 Amet Umierov

Permission is hereby granted, free of charge, to any person obtaining a copy of this
software and associated documentation files (the "Software"), to deal in the Software
without restriction, including without limitation the rights to use, copy, modify,
merge, publish, distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.