{
  "author": "Driftproof",
  "repository": "mattpocock/skills",
  "skill_path": "skills/engineering/tdd/SKILL.md",
  "commit": "49dd158d1076134a641b33efb035946536778336",
  "skill_sha256": "5505d25bbaa8fc14a79e4d20163936958992a2995b7f1dd1d6197edc9ed722e0",
  "readme_sha256": "345041d56cf1411b6b3ca1cc54014d26c563890f817f4cb9e2cb193dcd771a3e",
  "scope": "Written responses only. No tool execution, installed dependencies, media generation or cloud services are tested.",
  "drafted_from": "SKILL.md: public seams, independent expectations and vertical slices; README: test-driven work",
  "cases": [
    {
      "id": "test",
      "prompt": "Do not use tools, access the network, write files, run commands or install anything. Answer only in text using the supplied facts. The agreed public seam is reserve(stock, amount), returning remaining stock. For stock 4 and amount 2, the required result is 2. Draft the first test and the next step in a test-first cycle.",
      "rubric": "Driftproof-authored text-only evaluation, not an author-supplied benchmark or an installed-tool test. Source mattpocock/skills/skills/engineering/tdd/SKILL.md at 49dd158d1076134a641b33efb035946536778336; SKILL.md SHA-256 5505d25bbaa8fc14a79e4d20163936958992a2995b7f1dd1d6197edc9ed722e0; README SHA-256 345041d56cf1411b6b3ca1cc54014d26c563890f817f4cb9e2cb193dcd771a3e. Score only the written answer. Award 0.25 for each fully satisfied criterion, 0 otherwise; sum to a score from 0 to 1. 1. Test the public reserve interface 2. Assert the independently given value 2 3. Run or propose the failing test before implementation 4. Describe one minimal implementation step rather than all tests at once",
      "pass_threshold": 0.75,
      "origin": "Driftproof-authored from the pinned SKILL.md and README; no separate drafting model call."
    },
    {
      "id": "coupling",
      "prompt": "Do not use tools, access the network, write files, run commands or install anything. Answer only in text using the supplied facts. Review this test idea: spy on a private normalizeCart helper and assert it is called once, then assert total equals items.reduce with the production formula. The public requirement is a two-item order totaling 15.",
      "rubric": "Driftproof-authored text-only evaluation, not an author-supplied benchmark or an installed-tool test. Source mattpocock/skills/skills/engineering/tdd/SKILL.md at 49dd158d1076134a641b33efb035946536778336; SKILL.md SHA-256 5505d25bbaa8fc14a79e4d20163936958992a2995b7f1dd1d6197edc9ed722e0; README SHA-256 345041d56cf1411b6b3ca1cc54014d26c563890f817f4cb9e2cb193dcd771a3e. Score only the written answer. Award 0.25 for each fully satisfied criterion, 0 otherwise; sum to a score from 0 to 1. 1. Identify private-helper coupling 2. Identify the duplicated-formula expectation 3. Replace it with an observable total of 15 4. Keep the test at the public order interface",
      "pass_threshold": 0.75,
      "origin": "Driftproof-authored from the pinned SKILL.md and README; no separate drafting model call."
    },
    {
      "id": "agreement",
      "prompt": "Do not use tools, access the network, write files, run commands or install anything. Answer only in text using the supplied facts. A teammate asks you to test all billing internals before a new refund feature. No public test seam has been agreed. Explain the next action and one proposed seam with its limits.",
      "rubric": "Driftproof-authored text-only evaluation, not an author-supplied benchmark or an installed-tool test. Source mattpocock/skills/skills/engineering/tdd/SKILL.md at 49dd158d1076134a641b33efb035946536778336; SKILL.md SHA-256 5505d25bbaa8fc14a79e4d20163936958992a2995b7f1dd1d6197edc9ed722e0; README SHA-256 345041d56cf1411b6b3ca1cc54014d26c563890f817f4cb9e2cb193dcd771a3e. Score only the written answer. Award 0.25 for each fully satisfied criterion, 0 otherwise; sum to a score from 0 to 1. 1. Propose agreeing a public refund seam first 2. Name an observable refund outcome 3. State what that seam misses 4. Avoid starting a broad private-method suite",
      "pass_threshold": 0.75,
      "origin": "Driftproof-authored from the pinned SKILL.md and README; no separate drafting model call."
    }
  ]
}
