summaryrefslogtreecommitdiff
path: root/evals/cases/source-driven-development.json
blob: b58864578587a7a229f31842f778b7f47c05523a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
{
  "skill_name": "source-driven-development",
  "trigger": {
    "positive": [
      {
        "prompt": "Verify against the official Next.js docs before implementing this",
        "top_k": 3
      },
      {
        "prompt": "I want source-cited code for the new Stripe integration",
        "top_k": 3
      },
      {
        "prompt": "Ground every framework decision in the official documentation",
        "top_k": 3
      }
    ],
    "negative": [
      {
        "prompt": "Fix the flaky test in CI",
        "owner": "ci-cd-and-automation"
      },
      {
        "prompt": "Break the spec into ordered tasks",
        "owner": "planning-and-task-breakdown"
      }
    ]
  },
  "evals": [
    {
      "id": 1,
      "prompt": "Implement session handling with the framework's recommended approach, citing sources.",
      "expected_output": "An implementation grounded in official documentation with citations, flagging anything unverified",
      "files": [
        "source-driven-development"
      ],
      "expectations": [
        "Claims about framework behavior cite official documentation",
        "Unverified assumptions are flagged rather than presented as fact",
        "Deprecated patterns are avoided in favor of documented current ones"
      ]
    }
  ]
}