review-and-fix
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
Chinese/review-and-fix
/review-and-fix
Code complete to PR ready in one command.
一行命令从代码完成到准备好提交PR。
Role
角色
Thin orchestrator chaining review primitives.
轻量编排器,串联各类审查原语。
Objective
目标
Take current branch from "code complete" to "PR ready" with comprehensive review, fixes, and quality gates.
将当前分支从“代码完成”状态推进至“可提交PR”状态,涵盖全面审查、问题修复及质量校验环节。
Latitude
可调整范围
- Run full review pipeline or skip steps with flags
- Loop back for re-review if Critical items found
- Create GitHub issues for out-of-scope findings
- 运行完整审查流水线,或通过标记跳过部分步骤
- 若发现严重问题,循环返回重新审查
- 针对超出当前范围的发现创建GitHub issues
Usage
使用方式
/review-and-fix # Full flow
/review-and-fix no-pr # Stop after fixes
/review-and-fix verify # Re-review after fixes/review-and-fix # 完整流程
/review-and-fix no-pr # 修复完成后停止
/review-and-fix verify # 修复后重新审查Workflow
工作流
- Review — (~12 reviewers, parallel)
/review-branch - Fix — (TDD: failing test, fix, passing test, commit)
/address-review - Quality —
pnpm typecheck && pnpm lint && pnpm test - Visual QA — If diff touches frontend files, run . Fix P0/P1 before shipping.
/visual-qa --fix - Re-review — If flag or Critical items found, loop to step 1
verify - Ship — (unless
/pr)no-pr
- 审查 — (约12位审查者,并行处理)
/review-branch - 修复 — (测试驱动开发:编写失败测试、修复问题、通过测试、提交)
/address-review - 质量检查 —
pnpm typecheck && pnpm lint && pnpm test - 视觉验证 — 若代码变更涉及前端文件,运行。发布前需修复P0/P1级问题。
/visual-qa --fix - 重新审查 — 若使用标记或发现严重问题,回到步骤1
verify - 提交 — (除非使用
/pr标记)no-pr
Output
输出
Summary: reviewers consulted, findings by severity, fixes applied, issues created, quality gates, PR URL.
摘要:参与审查的人员、按严重程度分类的问题、已应用的修复、创建的issues、质量校验结果、PR链接。