.config/claude/skills/tdd/SKILL.md
Guide TDD workflow with Red-Green-Refactor cycle. Use when the user asks to "write tests first", "TDD", "test-driven", "テスト駆動", "TDDで実装", "テストファースト".
npx skillsauth add kokatsu/dotfiles tddInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Guide test-driven development using the Red-Green-Refactor cycle.
/tdd <feature description>
Repeat the following cycle for each behavior to implement:
fs calls.Before moving from each phase, verify:
| Phase | Check | | -------- | ------------------------------------------------------------------ | | Red | Does the test fail? Is the failure message clear and expected? | | Green | Do all tests pass? Did I write only the minimum code needed? | | Refactor | Do all tests still pass? Is the code cleaner than before? |
Ask yourself after each cycle:
development
Apply UX psychology principles when building UI components, forms, pricing pages, onboarding flows, checkout experiences, modals, or any user-facing interface. Use when designing CTAs, implementing progress indicators, creating loading states, improving user engagement, or reviewing UI for psychological effectiveness.
development
Deep-read a codebase area and write findings to research.md. Use for thorough investigation before planning.
development
Create a detailed implementation plan in plan.md. Never implements code. Use after /research or when planning a feature.
tools
This skill should be used when the user asks to "optimize CLAUDE.md", "review CLAUDE.md", "clean up instructions", "CLAUDE.md最適化", "指示ファイルの見直し", "CLAUDE.mdの無駄を削除".