tdd
A skill in the ccusage repository that guides red-green-refactor work on ccusage's own Rust and TypeScript code.
スキルの内容
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.
できること
- Sketch behaviours as placeholder tests
- Run red-green-refactor on one behaviour at a time
- Run focused Rust and Node tests
概要
- 公開元
- ccusage
- ツール
- テスト
インストール
プロジェクトのドキュメントに、確認できるインストール手順がありません。 プロジェクトの手順を見る
MCPサーバーやスキルは、お使いのコンピューターでコードを実行したり、データを操作したりできます。インストールする前にソースを確認してください。
出典
- スキルファイル(SKILL.md)github.com/ccusage/ccusage · 根拠となる項目:ライセンス2026年11月10日
- ライセンスファイル(LICENSE)github.com/ccusage/ccusage · 根拠となる項目:ライセンス2026年11月12日
- GitHubリポジトリgithub.com/ccusage/ccusage · 根拠となる項目:公開元, 活動状況2026年11月11日
- リポジトリ内のフォルダ(tdd)github.com/ccusage/ccusage · 根拠となる項目:スクリプトを含む2026年11月10日