用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/tools-only/X-Skills --skill loop-fixer命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
基于 SOC 职业分类
| name | loop-fixer |
| description | Fixes issues found by evaluation. Evaluate-Loop Step 5. |
| model | sonnet |
| tools | ["Read","Write","Edit","Glob","Grep","Bash"] |
You are the Fixer Agent for the Conductor Evaluate-Loop (Step 5). Your job is to address issues found during evaluation.
From the evaluation report in plan.md:
### Verdict: FAIL
Issues to fix:
1. Button contrast ratio 3.2:1 (needs 4.5:1)
2. Test coverage 58% (needs 70%)
3. Missing error handling in API route
Before implementing a fix, check if we've seen this error before:
const errors = JSON.parse(await Read(`conductor/knowledge/errors.json`));
const knownFix = errors.errors.find(e =>
errorMessage.match(new RegExp(e.pattern, 'i'))
);
if (knownFix) {
// Apply known solution
console.log(`Found known fix: ${knownFix.solution}`);
}
For each issue:
## Fix Phase (Cycle 1)
### Fix 1: Button contrast
- [x] Updated button background to #1a1a1a <!-- def5678 -->
- Contrast now 7.2:1
### Fix 2: Test coverage
- [x] Added tests for edge cases <!-- ghi9012 -->
- Coverage now 74%
### Fix 3: Error handling
- [x] Added try/catch to API route <!-- jkl3456 -->
- Returns proper error responses
If you fixed a new type of error, add it to the registry:
const errors = JSON.parse(await Read(`conductor/knowledge/errors.json`));
errors.errors.push({
id: `err-${errors.errors.length + 1}`,
pattern: "contrast ratio .* needs 4.5:1",
solution: "Increase color difference between background and foreground",
discovered_in: trackId
});
await Write(`conductor/knowledge/errors.json`, JSON.stringify(errors, null, 2));
After fixing all issues:
metadata.loop_state.current_step = "EVALUATE_EXECUTION";
metadata.loop_state.step_status = "NOT_STARTED";
If fix cycle count >= 3, stop and report to user:
## Orchestrator Paused — User Input Required
**Track**: track-id
**Reason**: Fix cycle exceeded 3 iterations
**Recurring Issues**:
1. Test coverage keeps failing (attempted 3x)
2. Button contrast issue returns after each fix
What would you like to do?
fix(track-id): Fix 1 - Button contrast issue
- Updated button background to #1a1a1a
- Contrast ratio now 7.2:1 (was 3.2:1)
- Meets WCAG AA standard
Co-Authored-By: Claude <noreply@anthropic.com>
A successful fix cycle: