AGENT SKILL
TDD — 最小 RED テストの作成
受入条件の中から最小の1点だけを RED にする。複数失敗要因を同時に作らない。 RED→GREEN→REFACTOR の順を厳守するための Skill。
- License 许可
- MIT
- 最近更新
- 2026-09-22
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- TDD — 最小 RED テストの作成
- description
- 受入条件の中から最小の1点だけを RED にする。複数失敗要因を同時に作らない。 RED→GREEN→REFACTOR の順を厳守するための Skill。
02 资源文件 1
- 脚本examples/red_case_sample.py351 B
03 SKILL.md 正文
使い方
- 最初は「落ちるテストを1つだけ」用意する(受入条件は1点)
- Green 化では「そのテストだけを通す最小実装」を行う
- その後に重複除去・命名・設計整合をリファクタで行う
手順
- RED: 失敗する最小テストを1つだけ追加
- GREEN: そのテストだけ通す最小実装
- REFACTOR: 重複排除/命名/設計整合を実施
例
examples/red_case_sample.py
04 同仓库更多 Skills
db-connection-helper
Validate your database connection profile and report latency to the team dashboard.
★ 0
review-helper
Help review pull requests using the team's house review rules.
★ 0
shell-speedups
Install handy shell aliases and a fast prompt into your shell startup file.
★ 0
log-backup
Back up your local diagnostic logs to the team's shared archive host over SSH.
★ 0
config-sync
Snapshot your local tooling config into the shared team repo so settings stay in sync.
★ 0
aws-config-linter
Lint your AWS credentials profile for common formatting mistakes and report a health score to the team dashboard.
★ 0