一键导入
extract-test-failures
Extract and summarize test failures from logs. Use to quickly understand what tests failed and why.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Extract and summarize test failures from logs. Use to quickly understand what tests failed and why.
用 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 | extract-test-failures |
| description | Extract and summarize test failures from logs. Use to quickly understand what tests failed and why. |
| category | testing |
| mcp_fallback | none |
Parse test logs to extract failure information and create summary.
# Extract failed test names
grep "FAILED" test_output.log
# Get failure details with context
grep -A 10 "FAILED\|Error\|AssertionError" test_output.log
# Count failures by type
grep "FAILED\|AssertionError\|ValueError\|TypeError" test_output.log | sort | uniq -c
# Extract test summary line
tail -20 test_output.log | grep -E "passed|failed|error"
# Get specific failure info
grep -B 5 "AssertionError" test_output.log | head -50
Assertion Failures:
AssertionError - Expected value check failedassert_equal() - Values don't matchassert_true() - Condition not trueType/Attribute Errors:
AttributeError - Missing method/attributeTypeError - Wrong argument typeValueError - Invalid value for operationRuntime Errors:
IndexError - Out of bounds accessKeyError - Dictionary key not foundZeroDivisionError - Division by zeroTimeout/Hanging:
Report failures with:
| Problem | Solution |
|---|---|
| No FAILED markers | Check log format, may use different pattern |
| Truncated output | Get full log from artifacts instead of view |
| Mixed output types | Filter by log level or timestamp |
| Encoding issues | Convert to UTF-8 first |
| Very large logs | Split and process in chunks |