pr_review
Review Apache DataFusion pull requests following the project's PR review guide. Use whenever asked to review a DataFusion PR or PR URL, and whenever creating a PR, to check the changes against the same criteria before submitting.
- License 许可
- Apache-2.0
- 最近更新
- 2026-11-15
- Stars
- ★ 9.6k
- Forks
- 2.6k
01 前言 Front Matter
- name
- pr_review
- description
- Review Apache DataFusion pull requests following the project's PR review guide. Use whenever asked to review a DataFusion PR or PR URL, and whenever creating a PR, to check the changes against the same criteria before submitting.
02 资源文件 16
- 参考文档references/ad-testing-matrix.md8.0 KB
- 参考文档references/anti-patterns.md3.6 KB
- 参考文档references/benchmark-data.md6.9 KB
- 参考文档references/brand-kit-template.md6.1 KB
- 参考文档references/content-policy.md2.0 KB
- 参考文档references/copywriting-frameworks.md7.9 KB
- 参考文档references/core-frameworks.md4.3 KB
- 参考文档references/diagnostic-system.md5.7 KB
- 参考文档references/platform-specs.md7.1 KB
- 参考文档references/product-visual-system.md2.0 KB
- 参考文档references/prompt-engineering.md3.3 KB
- 参考文档references/reali-tea-scripting.md8.7 KB
- 参考文档references/seasonal-creative-calendar.md4.0 KB
- 参考文档references/typography-guide.md6.5 KB
- 参考文档references/visual-intelligence.md8.1 KB
- 参考文档references/work-modes-and-templates.md14.9 KB
03 SKILL.md 正文
DataFusion PR Review
This skill describes the mechanics for doing PR reviews from the command line.
When creating a PR, skip the "Collect PR context" step and instead check the changes against each area of the PR review guide before submitting.
Collect PR context
- Check out the PR locally:
gh pr checkout <PR number>(ask first if the working tree has other work in progress). - Fetch the PR description, comments, and reviews:
gh pr view <PR number> --json title,body,comments,reviews - Fetch CI status:
gh pr checks <PR number>.
Compute the diff
# find the remote that points at apache/datafusion (e.g. `apache`, `upstream`, or `origin`)
UPSTREAM=$(git remote -v | grep -m1 'apache/datafusion' | cut -f1)
git fetch $UPSTREAM main
git diff $(git merge-base HEAD $UPSTREAM/main)
Review checklist
Work through each area from the PR review guide.
04 同仓库更多 Skills
datafusion-ffi
Patterns and review checklist for the `datafusion-ffi` crate. Use whenever the user adds, edits, or reviews code under `datafusion/ffi/` — new `FFI_X` wrappers, `ForeignX` implementations, codec changes, or expanding an existing wrapper to cover more of a trait's surface. Also use when reviewing PRs that touch this crate.
add-benchmarks
Guidelines for designing or extending DataFusion benchmarks.