@fitlab-ai/agent-infra 0.4.0 → 0.4.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +23 -15
- package/README.zh-CN.md +23 -15
- package/lib/defaults.json +5 -9
- package/lib/init.js +1 -6
- package/lib/update.js +0 -55
- package/package.json +1 -1
- package/templates/.agents/QUICKSTART.md +17 -7
- package/templates/.agents/QUICKSTART.zh-CN.md +23 -13
- package/templates/.agents/README.md +33 -27
- package/templates/.agents/README.zh-CN.md +35 -29
- package/templates/.agents/skills/analyze-task/SKILL.md +1 -4
- package/templates/.agents/skills/analyze-task/SKILL.zh-CN.md +1 -3
- package/templates/.agents/skills/block-task/SKILL.md +1 -5
- package/templates/.agents/skills/block-task/SKILL.zh-CN.md +1 -4
- package/templates/.agents/skills/check-task/SKILL.md +1 -5
- package/templates/.agents/skills/check-task/SKILL.zh-CN.md +1 -3
- package/templates/.agents/skills/close-codescan/SKILL.md +1 -4
- package/templates/.agents/skills/close-codescan/SKILL.zh-CN.md +1 -3
- package/templates/.agents/skills/close-dependabot/SKILL.md +1 -4
- package/templates/.agents/skills/close-dependabot/SKILL.zh-CN.md +1 -3
- package/templates/.agents/skills/commit/SKILL.md +26 -198
- package/templates/.agents/skills/commit/SKILL.zh-CN.md +26 -197
- package/templates/.agents/skills/commit/reference/commit-message.md +60 -0
- package/templates/.agents/skills/commit/reference/commit-message.zh-CN.md +60 -0
- package/templates/.agents/skills/commit/reference/copyright-check.md +39 -0
- package/templates/.agents/skills/commit/reference/copyright-check.zh-CN.md +39 -0
- package/templates/.agents/skills/commit/reference/task-status-update.md +88 -0
- package/templates/.agents/skills/commit/reference/task-status-update.zh-CN.md +88 -0
- package/templates/.agents/skills/complete-task/SKILL.md +1 -6
- package/templates/.agents/skills/complete-task/SKILL.zh-CN.md +1 -4
- package/templates/.agents/skills/create-issue/SKILL.md +32 -251
- package/templates/.agents/skills/create-issue/SKILL.zh-CN.md +33 -252
- package/templates/.agents/skills/create-issue/reference/label-and-type.md +77 -0
- package/templates/.agents/skills/create-issue/reference/label-and-type.zh-CN.md +77 -0
- package/templates/.agents/skills/create-issue/reference/template-matching.md +45 -0
- package/templates/.agents/skills/create-issue/reference/template-matching.zh-CN.md +45 -0
- package/templates/.agents/skills/create-pr/SKILL.md +39 -221
- package/templates/.agents/skills/create-pr/SKILL.zh-CN.md +39 -220
- package/templates/.agents/skills/create-pr/reference/branch-strategy.md +29 -0
- package/templates/.agents/skills/create-pr/reference/branch-strategy.zh-CN.md +29 -0
- package/templates/.agents/skills/create-pr/reference/pr-body-template.md +86 -0
- package/templates/.agents/skills/create-pr/reference/pr-body-template.zh-CN.md +86 -0
- package/templates/.agents/skills/create-release-note/SKILL.md +10 -13
- package/templates/.agents/skills/create-release-note/SKILL.zh-CN.md +10 -12
- package/templates/.agents/skills/create-task/SKILL.md +2 -5
- package/templates/.agents/skills/create-task/SKILL.zh-CN.md +2 -4
- package/templates/.agents/skills/implement-task/SKILL.md +47 -176
- package/templates/.agents/skills/implement-task/SKILL.zh-CN.md +43 -170
- package/templates/.agents/skills/implement-task/reference/implementation-rules.md +58 -0
- package/templates/.agents/skills/implement-task/reference/implementation-rules.zh-CN.md +58 -0
- package/templates/.agents/skills/implement-task/reference/report-template.md +63 -0
- package/templates/.agents/skills/implement-task/reference/report-template.zh-CN.md +63 -0
- package/templates/.agents/skills/import-codescan/SKILL.md +1 -4
- package/templates/.agents/skills/import-codescan/SKILL.zh-CN.md +1 -3
- package/templates/.agents/skills/import-dependabot/SKILL.md +1 -4
- package/templates/.agents/skills/import-dependabot/SKILL.zh-CN.md +1 -3
- package/templates/.agents/skills/import-issue/SKILL.md +2 -3
- package/templates/.agents/skills/import-issue/SKILL.zh-CN.md +2 -3
- package/templates/.agents/skills/init-labels/SKILL.md +1 -4
- package/templates/.agents/skills/init-labels/SKILL.zh-CN.md +1 -4
- package/templates/.agents/skills/init-milestones/SKILL.md +1 -3
- package/templates/.agents/skills/init-milestones/SKILL.zh-CN.md +1 -3
- package/templates/.agents/skills/plan-task/SKILL.md +1 -5
- package/templates/.agents/skills/plan-task/SKILL.zh-CN.md +1 -3
- package/templates/.agents/skills/refine-task/SKILL.md +40 -162
- package/templates/.agents/skills/refine-task/SKILL.zh-CN.md +38 -158
- package/templates/.agents/skills/refine-task/reference/fix-workflow.md +76 -0
- package/templates/.agents/skills/refine-task/reference/fix-workflow.zh-CN.md +76 -0
- package/templates/.agents/skills/refine-task/reference/report-template.md +38 -0
- package/templates/.agents/skills/refine-task/reference/report-template.zh-CN.md +38 -0
- package/templates/.agents/skills/refine-title/SKILL.md +1 -4
- package/templates/.agents/skills/refine-title/SKILL.zh-CN.md +1 -3
- package/templates/.agents/skills/release/SKILL.md +10 -12
- package/templates/.agents/skills/release/SKILL.zh-CN.md +10 -11
- package/templates/.agents/skills/review-task/SKILL.md +37 -239
- package/templates/.agents/skills/review-task/SKILL.zh-CN.md +37 -238
- package/templates/.agents/skills/review-task/reference/output-templates.md +72 -0
- package/templates/.agents/skills/review-task/reference/output-templates.zh-CN.md +72 -0
- package/templates/.agents/skills/review-task/reference/report-template.md +63 -0
- package/templates/.agents/skills/review-task/reference/report-template.zh-CN.md +63 -0
- package/templates/.agents/skills/review-task/reference/review-criteria.md +24 -0
- package/templates/.agents/skills/review-task/reference/review-criteria.zh-CN.md +24 -0
- package/templates/.agents/skills/sync-issue/SKILL.md +34 -490
- package/templates/.agents/skills/sync-issue/SKILL.zh-CN.md +34 -489
- package/templates/.agents/skills/sync-issue/reference/comment-publish.md +84 -0
- package/templates/.agents/skills/sync-issue/reference/comment-publish.zh-CN.md +84 -0
- package/templates/.agents/skills/sync-issue/reference/label-sync.md +62 -0
- package/templates/.agents/skills/sync-issue/reference/label-sync.zh-CN.md +62 -0
- package/templates/.agents/skills/sync-issue/reference/milestone-sync.md +37 -0
- package/templates/.agents/skills/sync-issue/reference/milestone-sync.zh-CN.md +37 -0
- package/templates/.agents/skills/sync-pr/SKILL.md +37 -284
- package/templates/.agents/skills/sync-pr/SKILL.zh-CN.md +41 -288
- package/templates/.agents/skills/sync-pr/reference/comment-publish.md +82 -0
- package/templates/.agents/skills/sync-pr/reference/comment-publish.zh-CN.md +82 -0
- package/templates/.agents/skills/sync-pr/reference/delivery-detection.md +54 -0
- package/templates/.agents/skills/sync-pr/reference/delivery-detection.zh-CN.md +54 -0
- package/templates/.agents/skills/test/SKILL.md +1 -3
- package/templates/.agents/skills/test/SKILL.zh-CN.md +1 -3
- package/templates/.agents/skills/test-integration/SKILL.md +1 -4
- package/templates/.agents/skills/test-integration/SKILL.zh-CN.md +1 -3
- package/templates/.agents/skills/update-agent-infra/SKILL.md +2 -6
- package/templates/.agents/skills/update-agent-infra/SKILL.zh-CN.md +2 -4
- package/templates/.agents/skills/update-agent-infra/scripts/sync-templates.js +45 -55
- package/templates/.agents/skills/upgrade-dependency/SKILL.md +1 -4
- package/templates/.agents/skills/upgrade-dependency/SKILL.zh-CN.md +1 -3
- package/templates/.claude/commands/analyze-task.md +1 -1
- package/templates/.claude/commands/analyze-task.zh-CN.md +1 -1
- package/templates/.claude/commands/block-task.md +2 -1
- package/templates/.claude/commands/block-task.zh-CN.md +2 -1
- package/templates/.claude/commands/check-task.md +2 -1
- package/templates/.claude/commands/check-task.zh-CN.md +2 -1
- package/templates/.claude/commands/close-codescan.md +2 -1
- package/templates/.claude/commands/close-codescan.zh-CN.md +2 -1
- package/templates/.claude/commands/close-dependabot.md +2 -1
- package/templates/.claude/commands/close-dependabot.zh-CN.md +2 -1
- package/templates/.claude/commands/commit.md +1 -1
- package/templates/.claude/commands/commit.zh-CN.md +1 -1
- package/templates/.claude/commands/complete-task.md +1 -1
- package/templates/.claude/commands/complete-task.zh-CN.md +1 -1
- package/templates/.claude/commands/create-issue.md +1 -1
- package/templates/.claude/commands/create-issue.zh-CN.md +1 -1
- package/templates/.claude/commands/create-pr.md +2 -2
- package/templates/.claude/commands/create-pr.zh-CN.md +2 -2
- package/templates/.claude/commands/create-release-note.md +2 -1
- package/templates/.claude/commands/create-release-note.zh-CN.md +2 -1
- package/templates/.claude/commands/create-task.md +1 -1
- package/templates/.claude/commands/create-task.zh-CN.md +1 -1
- package/templates/.claude/commands/implement-task.md +1 -1
- package/templates/.claude/commands/implement-task.zh-CN.md +1 -1
- package/templates/.claude/commands/import-codescan.md +1 -0
- package/templates/.claude/commands/import-codescan.zh-CN.md +2 -1
- package/templates/.claude/commands/import-dependabot.md +1 -0
- package/templates/.claude/commands/import-dependabot.zh-CN.md +2 -1
- package/templates/.claude/commands/import-issue.md +1 -1
- package/templates/.claude/commands/import-issue.zh-CN.md +1 -1
- package/templates/.claude/commands/init-labels.md +1 -0
- package/templates/.claude/commands/init-labels.zh-CN.md +2 -1
- package/templates/.claude/commands/init-milestones.md +2 -1
- package/templates/.claude/commands/init-milestones.zh-CN.md +2 -1
- package/templates/.claude/commands/plan-task.md +1 -1
- package/templates/.claude/commands/plan-task.zh-CN.md +1 -1
- package/templates/.claude/commands/refine-task.zh-CN.md +1 -1
- package/templates/.claude/commands/refine-title.md +2 -1
- package/templates/.claude/commands/refine-title.zh-CN.md +2 -1
- package/templates/.claude/commands/release.md +2 -1
- package/templates/.claude/commands/release.zh-CN.md +2 -1
- package/templates/.claude/commands/review-task.md +1 -1
- package/templates/.claude/commands/review-task.zh-CN.md +1 -1
- package/templates/.claude/commands/sync-issue.md +1 -1
- package/templates/.claude/commands/sync-issue.zh-CN.md +1 -1
- package/templates/.claude/commands/sync-pr.md +2 -2
- package/templates/.claude/commands/sync-pr.zh-CN.md +2 -2
- package/templates/.claude/commands/test-integration.md +2 -1
- package/templates/.claude/commands/test-integration.zh-CN.md +2 -1
- package/templates/.claude/commands/test.md +1 -1
- package/templates/.claude/commands/test.zh-CN.md +1 -1
- package/templates/.claude/commands/update-agent-infra.md +2 -1
- package/templates/.claude/commands/update-agent-infra.zh-CN.md +2 -1
- package/templates/.claude/commands/upgrade-dependency.md +2 -1
- package/templates/.claude/commands/upgrade-dependency.zh-CN.md +2 -1
- package/templates/.gemini/commands/_project_/analyze-task.toml +1 -1
- package/templates/.gemini/commands/_project_/analyze-task.zh-CN.toml +1 -1
- package/templates/.gemini/commands/_project_/block-task.toml +1 -1
- package/templates/.gemini/commands/_project_/block-task.zh-CN.toml +1 -1
- package/templates/.gemini/commands/_project_/check-task.toml +1 -1
- package/templates/.gemini/commands/_project_/check-task.zh-CN.toml +1 -1
- package/templates/.gemini/commands/_project_/close-codescan.toml +1 -1
- package/templates/.gemini/commands/_project_/close-codescan.zh-CN.toml +1 -1
- package/templates/.gemini/commands/_project_/close-dependabot.toml +1 -1
- package/templates/.gemini/commands/_project_/close-dependabot.zh-CN.toml +1 -1
- package/templates/.gemini/commands/_project_/commit.toml +1 -1
- package/templates/.gemini/commands/_project_/commit.zh-CN.toml +1 -1
- package/templates/.gemini/commands/_project_/complete-task.toml +1 -1
- package/templates/.gemini/commands/_project_/complete-task.zh-CN.toml +1 -1
- package/templates/.gemini/commands/_project_/create-issue.zh-CN.toml +1 -1
- package/templates/.gemini/commands/_project_/create-pr.toml +1 -1
- package/templates/.gemini/commands/_project_/create-pr.zh-CN.toml +1 -1
- package/templates/.gemini/commands/_project_/create-release-note.toml +1 -1
- package/templates/.gemini/commands/_project_/create-release-note.zh-CN.toml +1 -1
- package/templates/.gemini/commands/_project_/create-task.toml +1 -1
- package/templates/.gemini/commands/_project_/create-task.zh-CN.toml +1 -1
- package/templates/.gemini/commands/_project_/implement-task.toml +1 -1
- package/templates/.gemini/commands/_project_/implement-task.zh-CN.toml +1 -1
- package/templates/.gemini/commands/_project_/import-codescan.zh-CN.toml +1 -1
- package/templates/.gemini/commands/_project_/import-dependabot.zh-CN.toml +1 -1
- package/templates/.gemini/commands/_project_/import-issue.toml +1 -1
- package/templates/.gemini/commands/_project_/import-issue.zh-CN.toml +1 -1
- package/templates/.gemini/commands/_project_/init-labels.zh-CN.toml +1 -1
- package/templates/.gemini/commands/_project_/init-milestones.toml +1 -1
- package/templates/.gemini/commands/_project_/init-milestones.zh-CN.toml +1 -1
- package/templates/.gemini/commands/_project_/plan-task.toml +1 -1
- package/templates/.gemini/commands/_project_/plan-task.zh-CN.toml +1 -1
- package/templates/.gemini/commands/_project_/refine-task.zh-CN.toml +1 -1
- package/templates/.gemini/commands/_project_/refine-title.toml +1 -1
- package/templates/.gemini/commands/_project_/refine-title.zh-CN.toml +1 -1
- package/templates/.gemini/commands/_project_/release.toml +1 -1
- package/templates/.gemini/commands/_project_/release.zh-CN.toml +1 -1
- package/templates/.gemini/commands/_project_/review-task.toml +1 -1
- package/templates/.gemini/commands/_project_/review-task.zh-CN.toml +1 -1
- package/templates/.gemini/commands/_project_/sync-issue.toml +1 -1
- package/templates/.gemini/commands/_project_/sync-issue.zh-CN.toml +1 -1
- package/templates/.gemini/commands/_project_/sync-pr.toml +2 -2
- package/templates/.gemini/commands/_project_/sync-pr.zh-CN.toml +2 -2
- package/templates/.gemini/commands/_project_/test-integration.toml +1 -1
- package/templates/.gemini/commands/_project_/test-integration.zh-CN.toml +1 -1
- package/templates/.gemini/commands/_project_/test.toml +1 -1
- package/templates/.gemini/commands/_project_/test.zh-CN.toml +1 -1
- package/templates/.gemini/commands/_project_/update-agent-infra.toml +1 -1
- package/templates/.gemini/commands/_project_/update-agent-infra.zh-CN.toml +1 -1
- package/templates/.gemini/commands/_project_/upgrade-dependency.toml +1 -1
- package/templates/.gemini/commands/_project_/upgrade-dependency.zh-CN.toml +1 -1
- package/templates/.github/hooks/check-version-format.sh +29 -0
- package/templates/.github/hooks/pre-commit +8 -0
- package/templates/.opencode/commands/analyze-task.md +1 -1
- package/templates/.opencode/commands/analyze-task.zh-CN.md +1 -1
- package/templates/.opencode/commands/block-task.md +1 -1
- package/templates/.opencode/commands/block-task.zh-CN.md +1 -1
- package/templates/.opencode/commands/check-task.md +1 -1
- package/templates/.opencode/commands/check-task.zh-CN.md +1 -1
- package/templates/.opencode/commands/close-codescan.md +1 -1
- package/templates/.opencode/commands/close-codescan.zh-CN.md +1 -1
- package/templates/.opencode/commands/close-dependabot.md +1 -1
- package/templates/.opencode/commands/close-dependabot.zh-CN.md +1 -1
- package/templates/.opencode/commands/commit.md +1 -1
- package/templates/.opencode/commands/commit.zh-CN.md +1 -1
- package/templates/.opencode/commands/complete-task.md +1 -1
- package/templates/.opencode/commands/complete-task.zh-CN.md +1 -1
- package/templates/.opencode/commands/create-issue.zh-CN.md +1 -1
- package/templates/.opencode/commands/create-pr.md +1 -1
- package/templates/.opencode/commands/create-pr.zh-CN.md +1 -1
- package/templates/.opencode/commands/create-release-note.md +1 -1
- package/templates/.opencode/commands/create-release-note.zh-CN.md +1 -1
- package/templates/.opencode/commands/create-task.md +1 -1
- package/templates/.opencode/commands/create-task.zh-CN.md +1 -1
- package/templates/.opencode/commands/implement-task.md +1 -1
- package/templates/.opencode/commands/implement-task.zh-CN.md +1 -1
- package/templates/.opencode/commands/import-codescan.zh-CN.md +1 -1
- package/templates/.opencode/commands/import-dependabot.zh-CN.md +1 -1
- package/templates/.opencode/commands/import-issue.md +1 -1
- package/templates/.opencode/commands/import-issue.zh-CN.md +1 -1
- package/templates/.opencode/commands/init-labels.zh-CN.md +1 -1
- package/templates/.opencode/commands/init-milestones.md +1 -1
- package/templates/.opencode/commands/init-milestones.zh-CN.md +1 -1
- package/templates/.opencode/commands/plan-task.md +1 -1
- package/templates/.opencode/commands/plan-task.zh-CN.md +1 -1
- package/templates/.opencode/commands/refine-task.zh-CN.md +1 -1
- package/templates/.opencode/commands/refine-title.md +1 -1
- package/templates/.opencode/commands/refine-title.zh-CN.md +1 -1
- package/templates/.opencode/commands/release.md +1 -1
- package/templates/.opencode/commands/release.zh-CN.md +1 -1
- package/templates/.opencode/commands/review-task.md +1 -1
- package/templates/.opencode/commands/review-task.zh-CN.md +1 -1
- package/templates/.opencode/commands/sync-issue.md +1 -1
- package/templates/.opencode/commands/sync-issue.zh-CN.md +1 -1
- package/templates/.opencode/commands/sync-pr.md +2 -2
- package/templates/.opencode/commands/sync-pr.zh-CN.md +2 -2
- package/templates/.opencode/commands/test-integration.md +1 -1
- package/templates/.opencode/commands/test-integration.zh-CN.md +1 -1
- package/templates/.opencode/commands/test.md +1 -1
- package/templates/.opencode/commands/test.zh-CN.md +1 -1
- package/templates/.opencode/commands/update-agent-infra.md +1 -1
- package/templates/.opencode/commands/update-agent-infra.zh-CN.md +1 -1
- package/templates/.opencode/commands/upgrade-dependency.md +1 -1
- package/templates/.opencode/commands/upgrade-dependency.zh-CN.md +1 -1
- package/templates/.claude/CLAUDE.md +0 -176
- package/templates/.claude/CLAUDE.zh-CN.md +0 -176
- package/templates/.claude/project-rules.md +0 -65
- package/templates/.claude/project-rules.zh-CN.md +0 -65
- package/templates/.codex/README.md +0 -38
- package/templates/.codex/README.zh-CN.md +0 -37
- package/templates/.opencode/COMMAND_STYLE_GUIDE.md +0 -232
- package/templates/.opencode/COMMAND_STYLE_GUIDE.zh-CN.md +0 -232
- package/templates/.opencode/README.md +0 -76
- package/templates/.opencode/README.zh-CN.md +0 -77
- package/templates/AGENTS.md +0 -104
- package/templates/AGENTS.zh-CN.md +0 -104
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
# Refinement Report Template
|
|
2
|
+
|
|
3
|
+
Use this structure when writing `refinement.md` or `refinement-r{N}.md`.
|
|
4
|
+
|
|
5
|
+
## Output Template
|
|
6
|
+
|
|
7
|
+
```markdown
|
|
8
|
+
# Refinement Report
|
|
9
|
+
|
|
10
|
+
- **Refinement Round**: Round {refinement-round}
|
|
11
|
+
- **Artifact File**: `{refinement-artifact}`
|
|
12
|
+
- **Review Input**: `{review-artifact}`
|
|
13
|
+
- **Implementation Context**: `{implementation-artifact}`
|
|
14
|
+
|
|
15
|
+
### Review Feedback Handling
|
|
16
|
+
|
|
17
|
+
#### Blocker Fixes
|
|
18
|
+
1. **{issue-title}**
|
|
19
|
+
- **Fix**: {what changed}
|
|
20
|
+
- **File**: `{file-path}:{line-number}`
|
|
21
|
+
- **Validation**: {validation}
|
|
22
|
+
|
|
23
|
+
#### Major Issue Fixes
|
|
24
|
+
1. **{issue-title}**
|
|
25
|
+
- **Fix**: {what changed}
|
|
26
|
+
- **File**: `{file-path}:{line-number}`
|
|
27
|
+
|
|
28
|
+
#### Minor Issue Handling
|
|
29
|
+
1. **{issue-title}**
|
|
30
|
+
- **Fix**: {what changed}
|
|
31
|
+
|
|
32
|
+
#### Unresolved Issues
|
|
33
|
+
- {issue}: {reason}
|
|
34
|
+
|
|
35
|
+
### Test Results After Refinement
|
|
36
|
+
- All tests passing: {yes/no}
|
|
37
|
+
- Test output: {summary}
|
|
38
|
+
```
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
# 修复报告模板
|
|
2
|
+
|
|
3
|
+
编写 `refinement.md` 或 `refinement-r{N}.md` 时,使用以下结构。
|
|
4
|
+
|
|
5
|
+
## 输出模板
|
|
6
|
+
|
|
7
|
+
```markdown
|
|
8
|
+
# 修复报告
|
|
9
|
+
|
|
10
|
+
- **修复轮次**: Round {refinement-round}
|
|
11
|
+
- **产物文件**: `{refinement-artifact}`
|
|
12
|
+
- **审查输入**: `{review-artifact}`
|
|
13
|
+
- **实现上下文**: `{implementation-artifact}`
|
|
14
|
+
|
|
15
|
+
### 审查反馈处理
|
|
16
|
+
|
|
17
|
+
#### 阻塞项修复
|
|
18
|
+
1. **{issue-title}**
|
|
19
|
+
- **修复**: {what changed}
|
|
20
|
+
- **文件**: `{file-path}:{line-number}`
|
|
21
|
+
- **验证**: {validation}
|
|
22
|
+
|
|
23
|
+
#### 主要问题修复
|
|
24
|
+
1. **{issue-title}**
|
|
25
|
+
- **修复**: {what changed}
|
|
26
|
+
- **文件**: `{file-path}:{line-number}`
|
|
27
|
+
|
|
28
|
+
#### 次要问题处理
|
|
29
|
+
1. **{issue-title}**
|
|
30
|
+
- **修复**: {what changed}
|
|
31
|
+
|
|
32
|
+
#### 未解决问题
|
|
33
|
+
- {issue}: {reason}
|
|
34
|
+
|
|
35
|
+
### 修复后的测试结果
|
|
36
|
+
- 所有测试通过: {yes/no}
|
|
37
|
+
- 测试输出: {summary}
|
|
38
|
+
```
|
|
@@ -1,9 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: refine-title
|
|
3
|
-
description:
|
|
4
|
-
Deeply analyze Issue or PR content and reformat the title to
|
|
5
|
-
Conventional Commits format. Triggered when the user requests
|
|
6
|
-
title optimization. Argument: issue or PR number.
|
|
3
|
+
description: "Rewrite an Issue or PR title in Conventional Commits format"
|
|
7
4
|
---
|
|
8
5
|
|
|
9
6
|
# Refine Title
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: release
|
|
3
|
-
description:
|
|
4
|
-
Execute the version release workflow. Triggered when the user
|
|
5
|
-
requests a version release. Argument: version number (X.Y.Z).
|
|
3
|
+
description: "Run the version release workflow"
|
|
6
4
|
---
|
|
7
5
|
|
|
8
6
|
# Version Release
|
|
@@ -13,7 +11,7 @@ Execute the version release workflow for the specified version.
|
|
|
13
11
|
|
|
14
12
|
## Execution Flow
|
|
15
13
|
|
|
16
|
-
###
|
|
14
|
+
### 1. Parse and Validate Version
|
|
17
15
|
|
|
18
16
|
Extract version from arguments. Must match `X.Y.Z` format.
|
|
19
17
|
|
|
@@ -23,7 +21,7 @@ Parse components:
|
|
|
23
21
|
|
|
24
22
|
If format is invalid, error: "Version format incorrect, expected X.Y.Z (e.g. 1.2.3)"
|
|
25
23
|
|
|
26
|
-
###
|
|
24
|
+
### 2. Verify Clean Workspace
|
|
27
25
|
|
|
28
26
|
```bash
|
|
29
27
|
git status --short
|
|
@@ -31,7 +29,7 @@ git status --short
|
|
|
31
29
|
|
|
32
30
|
If there are uncommitted changes, error: "Workspace has uncommitted changes. Please commit or stash first."
|
|
33
31
|
|
|
34
|
-
###
|
|
32
|
+
### 3. Pre-release Verification
|
|
35
33
|
|
|
36
34
|
<!-- TODO: Replace with your project's pre-release verification steps -->
|
|
37
35
|
|
|
@@ -50,7 +48,7 @@ Handling rules:
|
|
|
50
48
|
- If the current branch is unexpected, print a warning or exit based on your policy
|
|
51
49
|
- If any verification command fails, stop the release process and fix the issue first
|
|
52
50
|
|
|
53
|
-
###
|
|
51
|
+
### 4. Update Version References
|
|
54
52
|
|
|
55
53
|
<!-- TODO: Replace with your project's version update steps -->
|
|
56
54
|
|
|
@@ -76,7 +74,7 @@ Search for version references in project files and update them:
|
|
|
76
74
|
|
|
77
75
|
If the project uses `package-lock.json`, run `npm install --package-lock-only` after updating `package.json` so the lockfile version stays in sync.
|
|
78
76
|
|
|
79
|
-
###
|
|
77
|
+
### 5. Rebuild Artifacts
|
|
80
78
|
|
|
81
79
|
<!-- TODO: Replace with your project's artifact rebuild steps -->
|
|
82
80
|
|
|
@@ -91,20 +89,20 @@ Execution guidance:
|
|
|
91
89
|
- If your project has no generated artifacts, document that explicitly in the project-specific skill
|
|
92
90
|
- If the rebuild fails, stop the release process and fix the build first
|
|
93
91
|
|
|
94
|
-
###
|
|
92
|
+
### 6. Create Release Commit
|
|
95
93
|
|
|
96
94
|
```bash
|
|
97
95
|
git add -A
|
|
98
96
|
git commit -m "chore: release v{version}"
|
|
99
97
|
```
|
|
100
98
|
|
|
101
|
-
###
|
|
99
|
+
### 7. Create Git Tag
|
|
102
100
|
|
|
103
101
|
```bash
|
|
104
102
|
git tag v{version}
|
|
105
103
|
```
|
|
106
104
|
|
|
107
|
-
###
|
|
105
|
+
### 8. Manage Milestones
|
|
108
106
|
|
|
109
107
|
Close the milestone for the released version when it exists, and create the missing planning milestones for the next cycle.
|
|
110
108
|
|
|
@@ -121,7 +119,7 @@ The script is responsible for:
|
|
|
121
119
|
- When `PATCH=0`, also ensuring `{MAJOR}.{MINOR+1}.0` and `{MAJOR}.{MINOR+1}.x`
|
|
122
120
|
- Printing a milestone summary with the released milestone action and new milestone count
|
|
123
121
|
|
|
124
|
-
###
|
|
122
|
+
### 9. Output Summary
|
|
125
123
|
|
|
126
124
|
> **IMPORTANT**: All TUI command formats listed below must be output in full. Do not show only the format for the current AI agent.
|
|
127
125
|
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: release
|
|
3
|
-
description:
|
|
4
|
-
执行版本发布流程。当用户要求发布版本时触发。参数:版本号(X.Y.Z)。
|
|
3
|
+
description: "执行版本发布流程"
|
|
5
4
|
---
|
|
6
5
|
|
|
7
6
|
# 版本发布
|
|
@@ -12,7 +11,7 @@ description: >
|
|
|
12
11
|
|
|
13
12
|
## 执行流程
|
|
14
13
|
|
|
15
|
-
###
|
|
14
|
+
### 1. 解析并验证版本号
|
|
16
15
|
|
|
17
16
|
从参数中提取版本。必须匹配 `X.Y.Z` 格式。
|
|
18
17
|
|
|
@@ -22,7 +21,7 @@ description: >
|
|
|
22
21
|
|
|
23
22
|
如果格式无效,报错:"Version format incorrect, expected X.Y.Z (e.g. 1.2.3)"
|
|
24
23
|
|
|
25
|
-
###
|
|
24
|
+
### 2. 验证工作区干净
|
|
26
25
|
|
|
27
26
|
```bash
|
|
28
27
|
git status --short
|
|
@@ -30,7 +29,7 @@ git status --short
|
|
|
30
29
|
|
|
31
30
|
如果有未提交的变更,报错:"Workspace has uncommitted changes. Please commit or stash first."
|
|
32
31
|
|
|
33
|
-
###
|
|
32
|
+
### 3. 发布前验证
|
|
34
33
|
|
|
35
34
|
<!-- TODO: 替换为你的项目发布前验证步骤 -->
|
|
36
35
|
|
|
@@ -49,7 +48,7 @@ git branch --show-current
|
|
|
49
48
|
- 如果当前分支不符合预期,按项目策略输出警告或直接退出
|
|
50
49
|
- 如果任何验证命令失败,停止发布流程并先修复问题
|
|
51
50
|
|
|
52
|
-
###
|
|
51
|
+
### 4. 更新版本引用
|
|
53
52
|
|
|
54
53
|
<!-- TODO: 替换为你的项目版本更新步骤 -->
|
|
55
54
|
|
|
@@ -75,7 +74,7 @@ git branch --show-current
|
|
|
75
74
|
|
|
76
75
|
如果项目使用 `package-lock.json`,在更新 `package.json` 后运行 `npm install --package-lock-only`,确保锁文件中的版本号保持同步。
|
|
77
76
|
|
|
78
|
-
###
|
|
77
|
+
### 5. 重新生成构建产物
|
|
79
78
|
|
|
80
79
|
<!-- TODO: 替换为你的项目产物重建步骤 -->
|
|
81
80
|
|
|
@@ -90,20 +89,20 @@ git branch --show-current
|
|
|
90
89
|
- 如果项目没有生成产物,请在项目特化版本中明确说明
|
|
91
90
|
- 如果重建失败,停止发布流程并先修复构建问题
|
|
92
91
|
|
|
93
|
-
###
|
|
92
|
+
### 6. 创建发布提交
|
|
94
93
|
|
|
95
94
|
```bash
|
|
96
95
|
git add -A
|
|
97
96
|
git commit -m "chore: release v{version}"
|
|
98
97
|
```
|
|
99
98
|
|
|
100
|
-
###
|
|
99
|
+
### 7. 创建 Git 标签
|
|
101
100
|
|
|
102
101
|
```bash
|
|
103
102
|
git tag v{version}
|
|
104
103
|
```
|
|
105
104
|
|
|
106
|
-
###
|
|
105
|
+
### 8. 管理里程碑
|
|
107
106
|
|
|
108
107
|
为已发布版本关闭对应版本里程碑,并为下一轮创建缺失的规划里程碑。
|
|
109
108
|
|
|
@@ -120,7 +119,7 @@ bash .agents/skills/release/scripts/manage-milestones.sh "$MAJOR" "$MINOR" "$PAT
|
|
|
120
119
|
- 当 `PATCH=0` 时,同时确保 `{MAJOR}.{MINOR+1}.0` 与 `{MAJOR}.{MINOR+1}.x`
|
|
121
120
|
- 输出包含已发布里程碑动作和新建数量的汇总
|
|
122
121
|
|
|
123
|
-
###
|
|
122
|
+
### 9. 输出摘要
|
|
124
123
|
|
|
125
124
|
> **重要**:以下「下一步」中列出的所有 TUI 命令格式必须完整输出,不要只展示当前 AI 代理对应的格式。
|
|
126
125
|
|
|
@@ -1,79 +1,47 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: review-task
|
|
3
|
-
description:
|
|
4
|
-
Review implemented task changes and output a code review report, categorized by
|
|
5
|
-
severity (Blocker / Major / Minor). Triggered when the user requests code
|
|
6
|
-
review after implementation is complete. Argument: task-id.
|
|
3
|
+
description: "Review a task implementation and output a code review report"
|
|
7
4
|
---
|
|
8
5
|
|
|
9
6
|
# Code Review
|
|
10
7
|
|
|
8
|
+
Review the latest implementation round and produce `review.md` or `review-r{N}.md`.
|
|
9
|
+
|
|
11
10
|
## Boundary / Critical Rules
|
|
12
11
|
|
|
13
|
-
- This skill
|
|
14
|
-
- After executing this skill, you **must** immediately update task
|
|
12
|
+
- This skill reviews code and writes a report; it does not modify product code
|
|
13
|
+
- After executing this skill, you **must** immediately update task.md
|
|
15
14
|
|
|
16
15
|
## Steps
|
|
17
16
|
|
|
18
17
|
### 1. Verify Prerequisites
|
|
19
18
|
|
|
20
|
-
|
|
21
|
-
- `.agents/workspace/active/{task-id}/task.md`
|
|
22
|
-
-
|
|
23
|
-
|
|
24
|
-
Note: `{task-id}` format is `TASK-{yyyyMMdd-HHmmss}`, for example `TASK-20260306-143022`
|
|
25
|
-
|
|
26
|
-
If either file is missing, prompt the user to complete the prerequisite step first.
|
|
19
|
+
Require:
|
|
20
|
+
- `.agents/workspace/active/{task-id}/task.md`
|
|
21
|
+
- at least one implementation artifact: `implementation.md` or `implementation-r{N}.md`
|
|
27
22
|
|
|
28
23
|
### 2. Determine Review Round
|
|
29
24
|
|
|
30
|
-
Scan
|
|
31
|
-
-
|
|
32
|
-
-
|
|
33
|
-
- If `review-r{N}.md` exists -> this is Round N+1 and must create `review-r{N+1}.md`
|
|
34
|
-
|
|
35
|
-
Record:
|
|
36
|
-
- `{review-round}`: the current review round
|
|
37
|
-
- `{review-artifact}`: the review report filename for this round
|
|
38
|
-
|
|
39
|
-
### 3. Read Implementation and Refinement Reports
|
|
40
|
-
|
|
41
|
-
Scan implementation reports in the task directory (`implementation.md`, `implementation-r{N}.md`) and read the highest-round file to understand:
|
|
42
|
-
- The list of modified files
|
|
43
|
-
- The key functionality that was implemented
|
|
44
|
-
- Test results
|
|
45
|
-
- Any items the implementer marked for reviewer attention
|
|
46
|
-
|
|
47
|
-
If refinement artifacts exist (`refinement.md`, `refinement-r{N}.md`), read the highest-round file to understand:
|
|
48
|
-
- Which review findings were already fixed
|
|
49
|
-
- The effect of those fixes on code and tests
|
|
50
|
-
- How the current code state changed relative to the previous review
|
|
25
|
+
Scan the task directory and record:
|
|
26
|
+
- `{review-round}`
|
|
27
|
+
- `{review-artifact}` as `review.md` or `review-r{N}.md`
|
|
51
28
|
|
|
52
|
-
###
|
|
29
|
+
### 3. Read Implementation and Refinement Context
|
|
53
30
|
|
|
54
|
-
|
|
31
|
+
Read the highest-round implementation artifact and, if present, the highest-round refinement artifact.
|
|
55
32
|
|
|
56
|
-
|
|
57
|
-
- [ ] Code quality and coding standards (per project instructions)
|
|
58
|
-
- [ ] Bug and risk detection
|
|
59
|
-
- [ ] Test coverage and test quality (when a feature is removed, verify that test fixtures and assertions for that feature are also removed — not mechanically flipped; assertions that only confirm data passes through unchanged are not valid tests)
|
|
60
|
-
- [ ] Error handling and edge cases
|
|
61
|
-
- [ ] Performance and security concerns
|
|
62
|
-
- [ ] Code comments and documentation
|
|
63
|
-
- [ ] Alignment with the technical plan
|
|
33
|
+
### 4. Perform the Review
|
|
64
34
|
|
|
65
|
-
|
|
66
|
-
1. **Strict but fair**: Point out issues while also calling out what was done well
|
|
67
|
-
2. **Specific**: Provide exact file paths and line numbers
|
|
68
|
-
3. **Actionable**: Do not only point out problems; give fix suggestions
|
|
69
|
-
4. **Severity-based**: Distinguish must-fix issues from optional improvements
|
|
35
|
+
Follow `.agents/workflows/feature-development.yaml` and inspect `git diff` for the full change context.
|
|
70
36
|
|
|
71
|
-
|
|
37
|
+
> Detailed review criteria, severity rules, and reviewer expectations live in `reference/review-criteria.md`. Read `reference/review-criteria.md` before reviewing.
|
|
72
38
|
|
|
73
|
-
### 5.
|
|
39
|
+
### 5. Write the Review Report
|
|
74
40
|
|
|
75
41
|
Create `.agents/workspace/active/{task-id}/{review-artifact}`.
|
|
76
42
|
|
|
43
|
+
> The report format and severity layout live in `reference/report-template.md`. Read `reference/report-template.md` before writing the review.
|
|
44
|
+
|
|
77
45
|
### 6. Update Task Status
|
|
78
46
|
|
|
79
47
|
Get the current time:
|
|
@@ -82,205 +50,35 @@ Get the current time:
|
|
|
82
50
|
date "+%Y-%m-%d %H:%M:%S"
|
|
83
51
|
```
|
|
84
52
|
|
|
85
|
-
Update
|
|
86
|
-
-
|
|
87
|
-
- `assigned_to`: {reviewer}
|
|
88
|
-
- `updated_at`: {current time}
|
|
89
|
-
- Record the review artifact for this round: `{review-artifact}` (Round `{review-round}`)
|
|
90
|
-
- Mark code-review as complete in workflow progress and include the actual round when the task template supports it
|
|
91
|
-
- **Append** to `## Activity Log` (do NOT overwrite previous entries):
|
|
92
|
-
```
|
|
93
|
-
- {yyyy-MM-dd HH:mm:ss} — **Code Review (Round {N})** by {agent} — Verdict: {Approved/Changes Requested/Rejected}, blockers: {n}, major: {n}, minor: {n} → {artifact-filename}
|
|
94
|
-
```
|
|
53
|
+
Update task.md and append:
|
|
54
|
+
`- {yyyy-MM-dd HH:mm:ss} — **Code Review (Round {N})** by {agent} — Verdict: {Approved/Changes Requested/Rejected}, blockers: {n}, major: {n}, minor: {n} → {artifact-filename}`
|
|
95
55
|
|
|
96
56
|
### 7. Inform User
|
|
97
57
|
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
>
|
|
104
|
-
> 1. If `Blocker = 0` and `Major = 0` and `Minor = 0` -> use "Output Branch A - Passed with No Issues"
|
|
105
|
-
> 2. If `Blocker = 0` and (`Major > 0` or `Minor > 0`) -> use "Output Branch B - Passed with Issues"
|
|
106
|
-
> 3. If `Blocker > 0` and the issues can be resolved in a focused follow-up fix, **without requiring broad rework** -> use "Output Branch C - Changes Requested"
|
|
107
|
-
> 4. If the issues require major rework, redesign, or re-implementation -> use "Output Branch D - Rejected"
|
|
108
|
-
>
|
|
109
|
-
> **Do not skip the decision. Do not mix templates from different branches. You must output exactly one branch. As soon as `Blocker > 0`, you must not output any "Approved" template.**
|
|
110
|
-
|
|
111
|
-
**📋 Output Branch A - Passed with No Issues** (Condition: Blocker = 0 and Major = 0 and Minor = 0):
|
|
112
|
-
```
|
|
113
|
-
Code review complete for task {task-id}. Verdict: Approved.
|
|
114
|
-
- Blockers: 0 | Major issues: 0 | Minor issues: 0
|
|
115
|
-
|
|
116
|
-
Next step - commit changes:
|
|
117
|
-
- Claude Code / OpenCode: /commit
|
|
118
|
-
- Gemini CLI: /{{project}}:commit
|
|
119
|
-
- Codex CLI: $commit
|
|
120
|
-
```
|
|
121
|
-
|
|
122
|
-
**📋 Output Branch B - Passed with Issues** (Condition: Blocker = 0 and (`Major > 0` or `Minor > 0`)):
|
|
123
|
-
```
|
|
124
|
-
Code review complete for task {task-id}. Verdict: Approved.
|
|
125
|
-
- Blockers: 0 | Major issues: {n} | Minor issues: {n}
|
|
126
|
-
- Review report: .agents/workspace/active/{task-id}/{review-artifact}
|
|
127
|
-
|
|
128
|
-
Next step - fix issues before commit (recommended):
|
|
129
|
-
- Claude Code / OpenCode: /refine-task {task-id}
|
|
130
|
-
- Gemini CLI: /{{project}}:refine-task {task-id}
|
|
131
|
-
- Codex CLI: $refine-task {task-id}
|
|
132
|
-
|
|
133
|
-
Or commit directly (skip fixes):
|
|
134
|
-
- Claude Code / OpenCode: /commit
|
|
135
|
-
- Gemini CLI: /{{project}}:commit
|
|
136
|
-
- Codex CLI: $commit
|
|
137
|
-
```
|
|
138
|
-
|
|
139
|
-
**📋 Output Branch C - Changes Requested** (Condition: Blocker > 0, and the issues are fixable without major rework):
|
|
140
|
-
```
|
|
141
|
-
Code review complete for task {task-id}. Verdict: Changes Requested.
|
|
142
|
-
- Blockers: {n} | Major issues: {n} | Minor issues: {n}
|
|
143
|
-
- Review report: .agents/workspace/active/{task-id}/{review-artifact}
|
|
144
|
-
|
|
145
|
-
Next step - refine the issues:
|
|
146
|
-
- Claude Code / OpenCode: /refine-task {task-id}
|
|
147
|
-
- Gemini CLI: /{{project}}:refine-task {task-id}
|
|
148
|
-
- Codex CLI: $refine-task {task-id}
|
|
149
|
-
```
|
|
150
|
-
|
|
151
|
-
**📋 Output Branch D - Rejected** (Condition: major rework, redesign, or re-implementation is required):
|
|
152
|
-
```
|
|
153
|
-
Code review complete for task {task-id}. Verdict: Rejected, major rework required.
|
|
154
|
-
- Review report: .agents/workspace/active/{task-id}/{review-artifact}
|
|
155
|
-
|
|
156
|
-
Next step - re-implement:
|
|
157
|
-
- Claude Code / OpenCode: /implement-task {task-id}
|
|
158
|
-
- Gemini CLI: /{{project}}:implement-task {task-id}
|
|
159
|
-
- Codex CLI: $implement-task {task-id}
|
|
160
|
-
```
|
|
161
|
-
|
|
162
|
-
## Output Template
|
|
58
|
+
Choose exactly one branch based on the findings:
|
|
59
|
+
- no blockers, no major, no minor -> approved with no issues
|
|
60
|
+
- no blockers, but major or minor findings -> approved with issues
|
|
61
|
+
- blockers that can be fixed in a focused pass -> changes requested
|
|
62
|
+
- major redesign or re-implementation needed -> rejected
|
|
163
63
|
|
|
164
|
-
|
|
165
|
-
# Code Review Report
|
|
64
|
+
> The full four-branch output templates, selection rules, and prohibition clauses live in `reference/output-templates.md`. Read `reference/output-templates.md` before reporting the review result.
|
|
166
65
|
|
|
167
|
-
|
|
168
|
-
- **Artifact file**: `{review-artifact}`
|
|
169
|
-
- **Implementation input**:
|
|
170
|
-
- `{implementation-artifact}`
|
|
171
|
-
- `{refinement-artifact}` (if present)
|
|
172
|
-
|
|
173
|
-
## Review Summary
|
|
174
|
-
|
|
175
|
-
- **Reviewer**: {reviewer name}
|
|
176
|
-
- **Review time**: {timestamp}
|
|
177
|
-
- **Review scope**: {file count and major modules}
|
|
178
|
-
- **Overall verdict**: {Approved / Changes Requested / Rejected}
|
|
179
|
-
|
|
180
|
-
## Findings
|
|
181
|
-
|
|
182
|
-
### Blockers (must fix)
|
|
183
|
-
|
|
184
|
-
#### 1. {Issue title}
|
|
185
|
-
**File**: `{file-path}:{line-number}`
|
|
186
|
-
**Description**: {Detailed description}
|
|
187
|
-
**Suggested fix**: {Concrete suggestion}
|
|
188
|
-
**Severity**: High
|
|
189
|
-
|
|
190
|
-
### Major Issues (should fix)
|
|
191
|
-
|
|
192
|
-
#### 1. {Issue title}
|
|
193
|
-
**File**: `{file-path}:{line-number}`
|
|
194
|
-
**Description**: {Detailed description}
|
|
195
|
-
**Suggested fix**: {Concrete suggestion}
|
|
196
|
-
**Severity**: Medium
|
|
197
|
-
|
|
198
|
-
### Minor Issues (optional improvements)
|
|
199
|
-
|
|
200
|
-
#### 1. {Improvement point}
|
|
201
|
-
**File**: `{file-path}:{line-number}`
|
|
202
|
-
**Suggestion**: {Improvement suggestion}
|
|
203
|
-
|
|
204
|
-
## Highlights
|
|
205
|
-
|
|
206
|
-
- {Positive aspect 1}
|
|
207
|
-
- {Positive aspect 2}
|
|
208
|
-
|
|
209
|
-
## Standards Compliance
|
|
210
|
-
|
|
211
|
-
### Coding Standards
|
|
212
|
-
- [ ] Naming conventions
|
|
213
|
-
- [ ] Code style
|
|
214
|
-
- [ ] Comment standards
|
|
215
|
-
- [ ] Testing standards
|
|
216
|
-
|
|
217
|
-
### Code Quality Metrics
|
|
218
|
-
- Cyclomatic complexity: {Assessment}
|
|
219
|
-
- Code duplication: {Assessment}
|
|
220
|
-
- Test coverage: {Percentage or assessment}
|
|
221
|
-
|
|
222
|
-
## Test Review
|
|
223
|
-
|
|
224
|
-
### Test Coverage
|
|
225
|
-
- Unit tests: {Assessment}
|
|
226
|
-
- Edge cases: {Covered?}
|
|
227
|
-
- Error scenarios: {Covered?}
|
|
228
|
-
|
|
229
|
-
### Test Quality
|
|
230
|
-
- Test naming: {Assessment}
|
|
231
|
-
- Assertion sufficiency: {Assessment}
|
|
232
|
-
- Test independence: {Assessment}
|
|
233
|
-
|
|
234
|
-
## Security Review
|
|
235
|
-
|
|
236
|
-
- SQL injection risk: {Check result}
|
|
237
|
-
- XSS risk: {Check result}
|
|
238
|
-
- Access control: {Check result}
|
|
239
|
-
- Sensitive data exposure: {Check result}
|
|
240
|
-
|
|
241
|
-
## Performance Review
|
|
242
|
-
|
|
243
|
-
- Algorithmic complexity: {Assessment}
|
|
244
|
-
- Resource management: {Check result}
|
|
245
|
-
- Potential bottlenecks: {Assessment}
|
|
246
|
-
|
|
247
|
-
## Alignment with Plan
|
|
248
|
-
|
|
249
|
-
- [ ] Implementation matches the technical plan
|
|
250
|
-
- [ ] No deviation from design intent
|
|
251
|
-
- [ ] No out-of-scope functionality was added
|
|
252
|
-
|
|
253
|
-
## Conclusion and Recommendation
|
|
254
|
-
|
|
255
|
-
### Approval Decision
|
|
256
|
-
- [ ] Approved - no blocking issues
|
|
257
|
-
- [ ] Changes Requested - issues need to be resolved
|
|
258
|
-
- [ ] Rejected - major rework required
|
|
259
|
-
|
|
260
|
-
### Next Steps
|
|
261
|
-
{Recommendation based on the review result}
|
|
262
|
-
```
|
|
66
|
+
Include all TUI command formats in the next-step output.
|
|
263
67
|
|
|
264
68
|
## Completion Checklist
|
|
265
69
|
|
|
266
|
-
- [ ]
|
|
267
|
-
- [ ] Created
|
|
268
|
-
- [ ] Updated
|
|
269
|
-
- [ ]
|
|
270
|
-
- [ ] Updated `assigned_to` to the reviewer name in task.md
|
|
271
|
-
- [ ] Appended an Activity Log entry to task.md
|
|
272
|
-
- [ ] Marked code-review as complete in workflow progress
|
|
273
|
-
- [ ] Informed the user of the next step based on the review result (must include all TUI command formats without filtering)
|
|
70
|
+
- [ ] Reviewed the latest implementation context
|
|
71
|
+
- [ ] Created `{review-artifact}`
|
|
72
|
+
- [ ] Updated task.md and appended the Activity Log entry
|
|
73
|
+
- [ ] Chose exactly one verdict branch in the user output
|
|
274
74
|
|
|
275
75
|
## Notes
|
|
276
76
|
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
4. **Severity categories**: Blockers must be fixed; major issues should be fixed; minor issues are optional
|
|
281
|
-
5. **Versioning rule**: First review uses `review.md`; later rounds use `review-r{N}.md`
|
|
77
|
+
- Round 1 uses `review.md`; later rounds use `review-r{N}.md`
|
|
78
|
+
- Always cite concrete file paths and line numbers in findings
|
|
79
|
+
- Review severity must distinguish blockers, major issues, and minor issues
|
|
282
80
|
|
|
283
81
|
## Error Handling
|
|
284
82
|
|
|
285
|
-
- Task not found:
|
|
286
|
-
- Missing implementation report:
|
|
83
|
+
- Task not found: `Task {task-id} not found`
|
|
84
|
+
- Missing implementation report: `Implementation report not found, please run the implement-task skill first`
|