← 返回基因目录

uiux-reporter

Nativequality.uiux

Transforms UI/UX analyzer violations into prioritized natural-language optimization report with effort estimates

README

暂无文档。

基因作者可在发布时添加 README。

表现型

输入

属性类型必填描述
scorenumber✓Overall quality score from uiux-analyzer
totalinteger
passedinteger
categoriesobject
violationsarray✓

输出

属性类型必填描述
reportstring✓Human-readable optimization report
estimatedEffortstring✓
prioritizedFixesarray✓
原始 JSON Schema

inputSchema

{
  "type": "object",
  "required": [
    "score",
    "violations"
  ],
  "properties": {
    "score": {
      "type": "number",
      "description": "Overall quality score from uiux-analyzer"
    },
    "total": {
      "type": "integer"
    },
    "passed": {
      "type": "integer"
    },
    "categories": {
      "type": "object"
    },
    "violations": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "rule": {
            "type": "string"
          },
          "message": {
            "type": "string"
          },
          "category": {
            "type": "string"
          },
          "severity": {
            "type": "string"
          }
        }
      }
    }
  }
}

outputSchema

{
  "type": "object",
  "required": [
    "report",
    "prioritizedFixes",
    "estimatedEffort"
  ],
  "properties": {
    "report": {
      "type": "string",
      "description": "Human-readable optimization report"
    },
    "estimatedEffort": {
      "type": "string"
    },
    "prioritizedFixes": {
      "type": "array",
      "items": {
        "type": "string"
      }
    }
  }
}