{
  "skill_name": "common-observability",
  "evals": [
    {
      "id": 1,
      "prompt": "How should I implement common observability best practices?",
      "expected_output": "**JSON Logs**: Always emit JSON structured logs. Never plain-text in prod.",
      "assertions": [
        {
          "type": "contains",
          "value": "X-Request-Id"
        },
        {
          "type": "contains",
          "value": "traceparent"
        },
        {
          "type": "contains",
          "value": "<HTTP_METHOD> <route>"
        }
      ]
    },
    {
      "id": 2,
      "prompt": "What are the common anti-patterns to avoid in common observability?",
      "expected_output": "**Correlation**: Extract `X-Request-Id` or `traceparent`. Attach to async context.",
      "assertions": [
        {
          "type": "contains",
          "value": "GET /users/:id"
        },
        {
          "type": "contains",
          "value": "pino"
        },
        {
          "type": "contains",
          "value": "zap"
        }
      ]
    },
    {
      "id": 3,
      "prompt": "Give me a quick-start example for common observability.",
      "expected_output": "**Tracing**: Use OpenTelemetry. Propagate W3C `traceparent`.",
      "assertions": [
        {
          "type": "contains",
          "value": "GET /users/123"
        },
        {
          "type": "contains",
          "value": "Priority: P1 (OPERATIONAL)"
        },
        {
          "type": "contains",
          "value": "JSON Logs"
        }
      ]
    }
  ],
  "should_not_trigger": [
    "Set up a basic common project from scratch",
    "How do I install common dependencies?",
    "What is common?",
    "Configure CI/CD for an unrelated platform"
  ]
}
