{
  "skill_name": "ios-networking",
  "evals": [
    {
      "id": 1,
      "prompt": "How should I build API URLs in iOS?",
      "expected_output": "Use URLComponents and URLQueryItem to build URLs safely. Never use string interpolation for URL parameters.",
      "assertions": [
        { "type": "contains", "value": "URLComponents" },
        { "type": "contains", "value": "URLQueryItem" }
      ]
    },
    {
      "id": 2,
      "prompt": "How do I handle authentication tokens in iOS networking?",
      "expected_output": "Use a RequestInterceptor to inject Authorization: Bearer token on all requests. On 401, use onRetry to call refreshToken() and retry the request.",
      "assertions": [
        { "type": "contains", "value": "RequestInterceptor" },
        { "type": "contains", "value": "401" }
      ]
    },
    {
      "id": 3,
      "prompt": "What networking anti-patterns should I avoid in iOS?",
      "expected_output": "No UI updates from background thread — use @MainActor. No manual JSONSerialization — use Codable. Always set a reasonable timeoutInterval.",
      "assertions": [
        { "type": "contains", "value": "MainActor" },
        { "type": "contains", "value": "Codable" }
      ]
    }
  ],
  "should_not_trigger": [
    "Set up a basic iOS project from scratch",
    "How do I install iOS dependencies?",
    "Configure CI/CD for an unrelated platform"
  ]
}
