一键导入
review-quality
Use when reviewing omeinsum-rs code changes for correctness, DRY, KISS, cohesion/coupling, CLI/HCI quality, and test quality
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Use when reviewing omeinsum-rs code changes for correctness, DRY, KISS, cohesion/coupling, CLI/HCI quality, and test quality
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Use when preparing, versioning, tagging, or publishing an omeinsum-rs crate release
Use when an omeinsum-rs pull request has review comments, local CI failures, or coverage gaps to address
Use when turning a GitHub issue for omeinsum-rs into a scoped implementation plan, branch, and pull request
| name | review-quality |
| description | Use when reviewing omeinsum-rs code changes for correctness, DRY, KISS, cohesion/coupling, CLI/HCI quality, and test quality |
Read-only review workflow for omeinsum-rs.
This skill reports issues. It does not edit files, commit, or push.
/review-quality - auto-detect the review range from git/review-quality <base>..<head> - review a specific diff rangeFor Codex, open this SKILL.md directly and treat slash-command forms as aliases.
Determine the review range:
BASE=$(git merge-base HEAD main 2>/dev/null || git rev-parse HEAD~1)
echo "$BASE"
git diff --stat "$BASE"..HEAD
git diff "$BASE"..HEAD
If the worktree is dirty, also inspect the uncommitted delta:
git diff --stat
git diff
Read every changed file in full before making judgments.
Prioritize behavioral risks over style.
Check for:
[], not [1], unless the API explicitly says otherwise.Look for duplicated orchestration logic, especially duplicated forward/backward drivers, repeated normalization code, or copy-pasted backend allocation paths.
Flag:
Flag:
Only check these if the diff touches omeinsum-cli/ or CLI docs:
optimize, contract, and autodiff behavior should be consistent between expression and topology inputs.Flag tests that:
Prefer small exact tensors with hand-checkable expected values.
## Quality Review
### Correctness
- OK / ISSUE — description with file:line
### Design Principles
- DRY: OK / ISSUE — description with file:line
- KISS: OK / ISSUE — description with file:line
- HC/LC: OK / ISSUE — description with file:line
### CLI / HCI
- OK / ISSUE — description with file:line, or N/A
### Test Quality
- OK / ISSUE — description with test file references
### Issues
#### Critical
[correctness bugs and regressions]
#### Important
[design problems and missing regressions]
#### Minor
[cleanup opportunities]