Follow test-driven development: Red, Green, Refactor. 1. Write a failing test first 2. Write minimum code to make it pass 3. Refactor while keeping tests green
安装
npx skills add eyelock/ynh --skill tddnpx skills add eyelock/ynh --skill tdd -a claude-code -gnpx skills add eyelock/ynh --skill tdd -a codex -ggemini skills install https://github.com/eyelock/ynh.git --path testdata/skills-repo/skills/tddgh skill install eyelock/ynh tddgit clone --depth 1 https://github.com/eyelock/ynh /tmp/eyelock__ynh
mkdir -p ~/.claude/skills ~/.agents/skills
cp -R /tmp/eyelock__ynh/testdata/skills-repo/skills/tdd ~/.claude/skills/tdd # Claude Code
cp -R /tmp/eyelock__ynh/testdata/skills-repo/skills/tdd ~/.agents/skills/tdd # Codex, Cursor, Gemini CLI, Copilot, OpenCode