# Tdd Playtest

> Test-Driven Development combined with emergent playtesting for Quest Keeper AI. Use when running playtest sessions, writing tests, debugging game feel issues, or following the RED-GREEN-REFACTOR cycle.

- Skill: `majiayu000/tdd-playtest` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add majiayu000/tdd-playtest`
- Raw SKILL.md: https://api.skillmd.com/api/skills/majiayu000/tdd-playtest/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: majiayu000 (https://skillmd.com/u/majiayu000)
- Updated: 2026-09-09
- Page: https://skillmd.com/skills/majiayu000/tdd-playtest

---


# TDD + Playtesting Loop

## The Philosophy
> **We are the player.** Not a tester, not a developer. A player who wants to have fun.

## The Loop
```
1. PLAY        Experience the game as a player
2. DISCOVER    Find friction, confusion, missing features
3. DEFINE      What SHOULD happen? (Player perspective)
4. RED         Write test that fails
5. GREEN       Write minimal code to pass
6. REFACTOR    Clean up
7. PLAY AGAIN  Does it feel right now?
```

## Discovery Entry Format
Add to `Agents/EMERGENT_DISCOVERY_LOG.md`:
```markdown
### [CATEGORY-###] Title
**Severity:** CRITICAL | HIGH | MEDIUM | LOW
**Player Experience:** What happened vs what should happen
```
