tdd
A skill in the ccusage repository that guides red-green-refactor work on ccusage's own Rust and TypeScript code.
What the skill teaches
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.
Capabilities
- Sketch behaviours as placeholder tests
- Run red-green-refactor on one behaviour at a time
- Run focused Rust and Node tests
About
- Publisher
- ccusage
- Tool
- Testing
Install
The project doesn't document install steps that we could confirm. See the project's own instructions
MCP servers and skills can run code on your computer and act on your data. Review the source before installing.
Details
| Fact | Value | Source |
|---|---|---|
| Type | Skill | |
| Tool | Testing | |
| Publisher | ccusage | source |
| Official status | Not stated in its documentation | |
| Needs an API key or sign-in | Not stated in its documentation | |
| Includes scripts | No | source |
| Platforms | Not stated in its documentation | |
| AI clients | Not stated in its documentation | |
| Licence | MIT | source |
| Pricing | Not stated in its documentation | |
| Activity | Last commit Nov 11, 202619,406 GitHub starsDownload data not available (not on npm or PyPI) | source |
| Links | Repository Website |
Also listed under: Testing
Sources
- Skill file (SKILL.md)github.com/ccusage/ccusage · Backs: LicenceNov 10, 2026
- Licence file (LICENSE)github.com/ccusage/ccusage · Backs: LicenceNov 12, 2026
- GitHub repositorygithub.com/ccusage/ccusage · Backs: Publisher, ActivityNov 11, 2026
- Folder in the repository (tdd)github.com/ccusage/ccusage · Backs: Includes scriptsNov 10, 2026