Pular para o conteúdo
Kitbay
Skill

tdd

MITAtualizado em 11 de nov. de 202619.406Estrelas no GitHub

A skill in the ccusage repository that guides red-green-refactor work on ccusage's own Rust and TypeScript code.

O que a skill ensina

A skill in the ccusage repository that guides red-green-refactor work on ccusage's own Rust and TypeScript code. The agent sketches the behaviours as placeholder tests, takes them one at a time, writes a failing test and confirms why it fails, writes the minimum code, then refactors while everything stays green, running only the affected tests after each step. It warns against writing all tests first, expected values computed by the code under test, and mocking inside the system, and names the real boundaries that may be substituted. It lists the cargo, node and just commands used to run focused tests in this repository.

O que faz

  • Sketch behaviours as placeholder tests
  • Run red-green-refactor on one behaviour at a time
  • Run focused Rust and Node tests