Agent skill
analyzing-logs
Analyzes Robot Framework test logs to identify failures, group them by type, and suggest fixes. Use when a QA engineer wants to analyze logs, check test logs, understand why tests failed, or investigate Robot Framework output files.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/analyzing-logs
SKILL.md
analyzing-logs
Analyzes Robot Framework test logs to identify failures, group them by failure type, and suggest fixes.
Progress Checklist
Copy and track your progress:
- [ ] Step 1: Identify log format (XML output, HTML log, or directory)
- [ ] Step 2: Extract test results (names, PASS/FAIL, failure messages)
- [ ] Step 3: Group failures by type, suggest root cause and fix per group
- [ ] Step 4: Rewrite cryptic messages in plain English (if needed)
- [ ] Step 5: Output structured report
Steps
Step 1: Identify Log Format
Determine the input format:
.xmlfile (e.g.,output.xml) → XML output format.htmlfile (e.g.,log.html) → HTML log format- Directory → scan for
output.xmlorlog.htmlfiles
Step 2: Extract Test Results
Run /robot-log-analyzer to extract test results from log files.
From the log file(s), extract for each test case:
- Test name
- Pass/Fail status
- Failure message (if failed)
- Test suite grouping
For large files, use Grep to search for patterns and Read with offset/limit to examine specific sections.
Step 3: Group Failures
Group failing tests by failure pattern:
- Connection failures (timeouts, refused connections)
- Assertion failures (expected vs actual mismatches)
- Setup failures (missing dependencies, configuration issues)
- Element not found (UI locator issues)
For each group, identify:
- Root cause
- Suggested fix
- Number of affected tests
Step 4: Rewrite Cryptic Messages (if needed)
If failure messages contain stack traces, exception class names, or framework jargon, run /rewrite-text to rewrite them in plain English.
Step 5: Output Structured Report
# Robot Framework Log Analysis Report
## Overview
- Total Tests: N
- Passed: N (XX%)
- Failed: N (XX%)
## Test Results
[Table of all tests with status]
## Failure Analysis
[Groups with root cause and suggested fix]
## Suggested Actions
[Prioritized list of fixes]
Expected Input
Path to Robot Framework log file or directory:
output.xmllog.html/path/to/results/directory
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?