Codex Agentskel TDD for One Observable Behavior
Verify one change per red-green-refactor cycle and retain evidence for the failing and passing states.
中文Install in Codex
Open a project using Agentskel in Codex with the existing tests and the project's RESUME.md task record.
- Review `.agents/skills/test-driven-development/SKILL.md` and its requirements at the pinned GitHub commit.
- Create `.agents/skills/test-driven-development/` in your project and save the reviewed file as `.agents/skills/test-driven-development/SKILL.md`.
- Start Codex from that project's root, then type `$test-driven-development` and select the matching skill.
Example task
Plan a TDD evidence entry for this sample behavior.
{"test":"blank label gets placeholder","input":"","oldResult":"","expected":"Untitled","phase":"red"}What to check
Start with `RED: blank label gets placeholder` and the old empty result. Use expected `label=Untitled` for the green check.
Original SKILL.md on GitHub · Updated
Frequently asked question
What if the new test passes immediately?
Check whether it exercises the behavior being changed. Make it distinguish the old and expected results before implementation.