一键导入
generate-fix-suggestions
Generate fix suggestions based on error patterns and best practices. Use when analyzing failures to get actionable remediation steps.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Generate fix suggestions based on error patterns and best practices. Use when analyzing failures to get actionable remediation steps.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Run section orchestrators to coordinate multi-component workflows. Use when starting work on a section.
Validate agent YAML frontmatter and configuration. Use before committing agent changes or in CI.
Reply to PR review comments using the correct GitHub API endpoint. Use when responding to inline code review feedback (not gh pr comment).
Run Mojo tests using mojo test command. Use when executing tests or verifying test coverage.
Track implementation progress against plan. Use to monitor component delivery and identify blockers.
Check agent configuration coverage across hierarchy levels and phases. Use to ensure complete agent system coverage.
| name | generate-fix-suggestions |
| description | Generate fix suggestions based on error patterns and best practices. Use when analyzing failures to get actionable remediation steps. |
| category | testing |
| mcp_fallback | none |
Analyze error patterns to suggest specific fixes and improvements.
# Categorize errors
grep "Error\|FAILED" output.log | sed 's/.*Error: //' | sort | uniq -c | sort -rn
# Get context around error
grep -B 3 -A 3 "AssertionError" output.log
# Extract error type
grep -o "Error[A-Za-z]*" output.log | sort | uniq -c
# Find patterns in multiple failures
for file in test_*.log; do
echo "=== $file ==="
grep "Error:" "$file" | head -3
done
Assertion Errors:
assert_equal(actual, expected) failsType Mismatches:
TypeError, AttributeError in function callOut of Bounds:
IndexError or array access failureImport/Module Errors:
ModuleNotFoundError, ImportError__init__.mojo or fix pathMemory/Initialization:
varReport suggestions with:
Critical (fix immediately):
High (fix soon):
Medium (nice to have):
Low (backlog):
| Problem | Solution |
|---|---|
| Unknown error type | Classify as "other", suggest general investigation |
| Insufficient context | Request more detailed error info |
| Multiple causes | Suggest fixes in priority order |
| No matching pattern | Flag for manual review |
| False positives | Verify suggestion with test run |