TDD Workflow Skill for CSV Escaping Regressions
Capture an export defect with a failing test, make the smallest behavior change, and refactor under passing tests.
中文Install in Claude Code
Use your Git checkout and existing test framework. The fixture contains a product name with a comma.
- Get the complete `docs/zh-TW/skills/tdd-workflow` directory from the pinned GitHub commit.
- Copy it into the target project's `.claude/skills/`. Check `.claude/skills/tdd-workflow/SKILL.md`, start Claude Code at the project root, and call `/tdd-workflow`.
Example task
Test that Mug, Blue survives CSV export and parsing as one field. Observe the failure, repair the writer, and rerun the same test.What to check
The new case passes and previous simple product names still round-trip. The change is scoped to escaping.
Original SKILL.md on GitHub · Updated
Frequently asked question
When should I clean up the implementation?
First pass the new and existing behavior tests, then refactor with those checks in place.