Loading...
Loading...
Compare original and translation side by side
comprehensive-reviewcomprehensive-reviewfull-repo-review-report.mdscore-component.pycomprehensive-review--review-onlyfull-repo-review-report.mdscore-component.pycomprehensive-review--review-onlyscore-component.py --all-agents --all-skillsfull-repo-review-report.mdscore-component.py --all-agents --all-skillsfull-repo-review-report.mdscripts/score-component.pyscripts/score-component.pyscore-component.py--review-onlyscore-component.py--review-onlyundefinedundefined
Log the total file count. If zero files found, STOP and report: "No source files discovered. Verify you are in the correct repository root."
**Step 2: Run deterministic pre-check**
```bash
python3 ~/.claude/scripts/score-component.py --all-agents --all-skills --json
记录文件总数。如果未发现任何文件,停止操作并报告:"未发现源文件。请确认当前处于正确的仓库根目录。"
**步骤2:执行确定性预检查**
```bash
python3 ~/.claude/scripts/score-component.py --all-agents --all-skills --jsoncomprehensive-review--focus [files]--review-only--skip-wave0--wave1-onlycomprehensive-review--focus [files]--review-only--skip-wave0--wave1-onlyfull-repo-review-report.mdundefinedfull-repo-review-report.mdundefined| Component | Score | Grade | Key Issues |
|---|---|---|---|
| {name} | {n} | {A-F} | {summary} |
| 组件 | 分数 | 等级 | 关键问题 |
|---|---|---|---|
| {name} | {n} | {A-F} | {summary} |
**GATE**: Report file exists at `full-repo-review-report.md` and contains at
least the severity sections and deterministic scores.
---
**检查点**:`full-repo-review-report.md`已存在于仓库根目录,且至少包含严重程度章节和确定性评分。
---| Error | Cause | Solution |
|---|---|---|
| No source files found | Wrong working directory or empty repo | Verify cwd is repo root with |
| score-component.py fails | Missing script or dependency | Proceed with warning; the LLM review still runs. Note gap in report. |
| comprehensive-review times out | Too many files for single session | Split into directory-scoped runs: scripts/, hooks/, agents/, skills/ separately |
| Report write fails | Permission or path issue | Try writing to |
| 错误 | 原因 | 解决方案 |
|---|---|---|
| 未发现源文件 | 工作目录错误或仓库为空 | 使用 |
| score-component.py执行失败 | 脚本缺失或依赖问题 | 带警告继续执行;LLM审查仍会运行。在报告中注明该缺失。 |
| comprehensive-review超时 | 单次会话处理文件过多 | 拆分为按目录执行的审查:分别处理scripts/、hooks/、agents/、skills/ |
| 报告写入失败 | 权限或路径问题 | 尝试作为备选方案写入 |
| Rationalization | Why Wrong | Required Action |
|---|---|---|
| "Too many files, let's just review the important ones" | Cherry-picking defeats the purpose of full-repo review | Review ALL discovered files. If it's too large, split by directory -- don't skip. |
| "The score pre-check already found the issues" | Deterministic checks catch structure, not logic | Always run the full 3-wave review after pre-check |
| "We can auto-fix the obvious ones" | This skill produces a report, not patches | Write findings to the report. User decides what to fix and when. |
| "Wave 0 is slow, let's skip it" | Wave 0 per-package context is what makes full-repo review valuable | Run all three waves. No shortcuts on coverage. |
| 合理化借口 | 错误原因 | 要求操作 |
|---|---|---|
| "文件太多,我们只审查重要的文件吧" | 选择性审查违背了全仓库审查的初衷 | 审查所有发现的文件。如果文件过多,按目录拆分——不要跳过。 |
| "评分预检查已经发现了问题" | 确定性检查仅捕获结构问题,无法发现逻辑问题 | 预检查后始终执行完整的三轮审查 |
| "我们可以自动修复明显的问题" | 该skill生成报告而非补丁 | 将问题写入报告。由用户决定修复内容和时机。 |
| "Wave 0太慢了,我们跳过吧" | Wave 0的按包上下文是全仓库审查的核心价值所在 | 运行全部三轮流程。在覆盖范围上不要走捷径。 |
full-repo-review-report.mdfull-repo-review-report.md