Loading...
Loading...
Compare original and translation side by side
| Argument | Default | Description |
|---|---|---|
| | Only review staged changes ( |
| none | Write report to |
| 参数 | 默认值 | 说明 |
|---|---|---|
| | 仅审查已暂存的变更( |
| none | 将报告写入 |
1. Collect Changes ──► 2. Read Context ──► 3. Team Review ──► 4. Synthesize ──► 5. Report1. 收集变更 ──► 2. 读取上下文 ──► 3. 团队审查 ──► 4. 整合结果 ──► 5. 生成报告undefinedundefined
If all produce empty results, inform the user: "No local changes detected. Nothing to review." and exit.
For untracked files, read the full file content as a pseudo-diff.
If more than 30 files changed, warn the user and ask whether to proceed or narrow scope.
如果所有命令都返回空结果,则告知用户:「未检测到本地变更,无可审查内容。」并退出。
对于未跟踪文件,读取完整文件内容作为伪差异内容。
如果变更文件数量超过30个,则向用户发出警告,并询问是否继续或缩小审查范围。references/perspectives/<perspective>.mdreferences/perspectives/references/perspectives/<perspective>.mdreferences/perspectives/references/synthesis-protocol.mdreferences/synthesis-protocol.md--filereview-local-YYYY-MM-DD-HHmm.mdreferences/report-template.md--filereview-local-YYYY-MM-DD-HHmm.mdreferences/report-template.mdScenario: Full team review of local changes
Given the user has local changes (staged, unstaged, or untracked)
When /review-local is invoked
Then a team is created with all 8 perspectives, each reviews the diff,
findings are synthesized into a consolidated severity report inline
Scenario: Staged-only review
Given the user has staged changes ready to commit
When /review-local --staged-only is invoked
Then only the staged diff is reviewed by the team
Scenario: Write report to file
Given the user wants a persistent record
When /review-local --file is invoked
Then the report is written to review-local-YYYY-MM-DD-HHmm.md
and the file path is confirmed to the user
Scenario: No local changes
Given the working tree is clean
When /review-local is invoked
Then the user is told "No local changes detected" and the skill exits
Scenario: Large changeset warning
Given more than 30 files are changed
When /review-local is invoked
Then the user is warned and asked whether to proceed or narrow scopeScenario: Full team review of local changes
Given the user has local changes (staged, unstaged, or untracked)
When /review-local is invoked
Then a team is created with all 8 perspectives, each reviews the diff,
findings are synthesized into a consolidated severity report inline
Scenario: Staged-only review
Given the user has staged changes ready to commit
When /review-local --staged-only is invoked
Then only the staged diff is reviewed by the team
Scenario: Write report to file
Given the user wants a persistent record
When /review-local --file is invoked
Then the report is written to review-local-YYYY-MM-DD-HHmm.md
and the file path is confirmed to the user
Scenario: No local changes
Given the working tree is clean
When /review-local is invoked
Then the user is told "No local changes detected" and the skill exits
Scenario: Large changeset warning
Given more than 30 files are changed
When /review-local is invoked
Then the user is warned and asked whether to proceed or narrow scopereferences/perspectives/references/synthesis-protocol.mdreferences/report-template.mdreferences/perspectives/references/synthesis-protocol.mdreferences/report-template.md