{
  "skill_name": "javascript-tooling",
  "evals": [
    {
      "id": 1,
      "prompt": "How should I implement javascript tooling best practices?",
      "expected_output": "**Linting**: ESLint (Rec + Prettier). Fix on save. **Pkg Manager**: Sync versions (`npm`/`yarn`/`pnpm`).",
      "assertions": [
        {
          "type": "contains",
          "value": "npm"
        },
        {
          "type": "contains",
          "value": "yarn"
        },
        {
          "type": "contains",
          "value": "pnpm"
        }
      ]
    },
    {
      "id": 2,
      "prompt": "What are the common anti-patterns to avoid in javascript tooling?",
      "expected_output": "**Priority: P1 (OPERATIONAL)**. **Formatting**: Prettier. Run on save/commit.",
      "assertions": [
        {
          "type": "contains",
          "value": "Priority: P1 (OPERATIONAL)"
        },
        {
          "type": "contains",
          "value": "Linting"
        },
        {
          "type": "contains",
          "value": "Formatting"
        }
      ]
    },
    {
      "id": 3,
      "prompt": "Give me a quick-start example for javascript tooling.",
      "expected_output": "**Testing**: Jest/Vitest. Co-locate tests. >80% cov. **Build**: Vite (Apps). **Pkg Manager**: npm/yarn/pnpm.",
      "assertions": [
        {
          "type": "contains",
          "value": "Testing"
        },
        {
          "type": "contains",
          "value": "Build"
        },
        {
          "type": "contains",
          "value": "Pkg Manager"
        }
      ]
    }
  ],
  "should_not_trigger": [
    "Set up a basic javascript project from scratch",
    "How do I install javascript dependencies?",
    "What is javascript?",
    "Configure CI/CD for an unrelated platform"
  ]
}
