一键导入
fix-engine
从验收标准创建检查清单,编排executor→validator循环并带重试逻辑。当子协调器开始实现或收到验证失败时使用。
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
从验收标准创建检查清单,编排executor→validator循环并带重试逻辑。当子协调器开始实现或收到验证失败时使用。
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Start, check, or continue any work. Analyzes intent, plans tasks, and orchestrates execution via subagents (L2) or Agent Teams (L3).
Generate Playwright test scripts for browser-based acceptance verification. Load when DAG tasks touch UI, routes, or user-facing API responses.
Classify intent, assess complexity, generate task DAGs. Activates on /go or when user describes work.
Guide for using Reddit MCP to gather community sentiment, pain points, and adoption trends. Load this skill when a DAG contains research tasks about market validation, developer experience, or community opinions.
解析PRD,决定水平拆分策略,生成带验收标准的mini-PRD。当主协调器收到初始PRD或需要重新拆分工作时使用。
使用git worktrees为并行子协调器生成和管理tmux会话。当各部分准备好执行时使用。
| name | fix-engine |
| description | 从验收标准创建检查清单,编排executor→validator循环并带重试逻辑。当子协调器开始实现或收到验证失败时使用。 |
所有者: 仅子协调器
从 mini-prd.md 的验收标准生成 checklist.md(markdown 格式):
## 认证模块检查清单
- [ ] 用户可以使用邮箱/密码注册
- [ ] 登录时签发 JWT 令牌
- [ ] 受保护路由拒绝无效令牌
- [ ] 刷新令牌轮换正常工作
**进度: 0/4**
每次 validator 返回结果后,更新对应的复选框:
- [x]- [ ]同时更新底部的进度摘要。
attempt = 0
max_attempts = 3
while attempt < max_attempts:
if attempt == 0:
# 使用 executor agent 实现 .task/mini-prd.md
call executor agent to implement .task/mini-prd.md
else:
call executor(task: "fix", failures: last_failures, previous_attempts: history)
# 使用 validator agent 检查 .task/checklist.md
result = call validator agent to check against .task/checklist.md
# 更新 checklist.md
update_checklist(result.checkbox_states)
# 更新 meta.yaml 进度
progress = f"{result.passed_count}/{result.total_count}"
update_meta_yaml(section_id, progress: progress)
if result.all_passed:
# 完成协议:提交所有更改
git add -A
git commit -m "${section_name}: ${summary}
- ${change_1}
- ${change_2}
🤖 Generated with InfiStack"
# 更新状态文件(最后一步)
update_meta_yaml(section_id, status: "completed")
return SUCCESS
history.append({
attempt: attempt,
failures: result.failures,
executor_notes: executor.notes,
code_snippets: result.relevant_code
})
attempt++
return ESCALATE(error_report: history)
当所有检查清单项通过时:
git add -Agit commit -m "${section_name}: ${summary}
- ${change_1}
- ${change_2}
🤖 Generated with InfiStack"
error_report:
section_id: "auth-module"
attempts: 3
final_failures:
- check_id: check-2
expected: "400响应"
actual: "500响应"
code_snippet: |
// src/auth/validate.ts:45-62
function validateEmail(email) { ... }
tested_methods:
- validateEmail()
- UserService.create()
- AuthController.register()
history:
- attempt: 1
approach: "初始实现"
failures: [...]
- attempt: 2
approach: "添加try-catch"
failures: [...]
- attempt: 3
approach: "重构验证"
failures: [...]
将error_report交给escalation-router。