AgentSkillsCN

revyl-cli-analyze

通过CLI分析失败的Revyl测试与工作流报告,对真实Bug、不稳定测试、基础设施问题,或测试设计的改进方向进行分类。

SKILL.md
--- frontmatter
name: revyl-cli-analyze
description: Analyze failed Revyl test and workflow reports via CLI to classify real bugs, flaky tests, infra issues, or test-design improvements.

Revyl CLI Failure Analysis Skill

Quick Start

bash
# 1) Pull structured evidence
revyl test report <test-name> --json

# 2) Classify failure
# REAL BUG | FLAKY TEST | INFRA ISSUE | TEST IMPROVEMENT

# 3) Apply fix and rerun
revyl test run <test-name>

For workflow-level triage:

bash
revyl workflow report <workflow-name>
revyl workflow report <workflow-name> --json

Decision Matrix

SignalClassificationAction
Instructions succeed but final state contradicts expected behaviorREAL BUGFile defect with expected vs actual evidence
App behavior acceptable but assertion wording too brittleFLAKY TESTRewrite validation wording
No steps executed or setup failedINFRA ISSUERe-run and inspect environment/device/build setup
Test structure allows false positives or combines verify+actionTEST IMPROVEMENTRestructure YAML

Output Format

text
Test: <name>
Result: <PASS/FAIL>
Failure Step: <order> - <description>
Classification: <REAL BUG | FLAKY TEST | INFRA ISSUE | TEST IMPROVEMENT>
Confidence: <HIGH | MEDIUM | LOW>
Evidence:
- Expected: <description>
- Observed: <reasoning summary>
- Why this classification: <short rationale>
Exact next action:
- <bug report details OR yaml rewrite OR infra rerun command>
Rerun command:
- revyl test run <test-name>