{
  "skills": ["simplify"],
  "evaluations": [
    {
      "id": "simplify-01-duplication",
      "query": "Simplify the code in src/auth.ts — there's duplicated validation logic",
      "files": ["src/auth.ts"],
      "expected_behavior": [
        "Identifies duplicated validation logic across multiple functions",
        "Extracts common validation into a shared helper function",
        "Verifies all existing tests still pass after refactoring",
        "Reports confidence score between 0.0 and 1.0"
      ]
    },
    {
      "id": "simplify-02-complexity",
      "query": "Simplify this deeply nested function — it has 5 levels of if/else nesting",
      "files": ["src/utils/parser.ts"],
      "expected_behavior": [
        "Identifies excessive nesting depth",
        "Refactors using guard clauses and early returns",
        "Reduces cyclomatic complexity",
        "Maintains original behavior (all tests pass)"
      ]
    },
    {
      "id": "simplify-03-focus",
      "query": "Simplify src/api/handlers.ts focus on performance",
      "files": ["src/api/handlers.ts"],
      "expected_behavior": [
        "Weights performance findings higher than style findings",
        "Identifies redundant iterations or allocations",
        "Suggests or applies algorithmic improvements",
        "Does not change public API signatures"
      ]
    }
  ]
}
