Test-driven development (TDD) for NON-TRIVIAL behavior — write a failing test FIRST, watch it fail with evidence, then minimal code to pass; the suite is a L...
Coding
Tdd
Try itApply test-driven development using Red-Green-Refactor cycles and vertical slice tracer bullet method to ensure behavior-focused, incremental testing and ref...
What it does
Test-Driven Development: define expected behavior first, then make it pass with implementation.
The skill document
TDD (Test-Driven Development)
Test-Driven Development: define expected behavior first, then make it pass with implementation.
Topics
| Topic | Description | Guide |
|---|---|---|
| cycle | Red→Green→Refactor cycle, bug-fix TDD, anti-patterns | cycle.md |
| run | Test execution workflow (environment detection→impact scope→execution→result reporting) | run.md |
| test-strategies | Boundary value·equivalence partitioning·decision table·error guessing·path coverage | test-strategies.md |
Quick Reference
Trigger entry (HARD STOP — first action)
When this skill is invoked, the FIRST tool call must be TaskCreate (Red/Green/Refactor/Verify) + Red test authoring. Diagnosis, planning, option asks, and medium decisions are forbidden before Red is authored + executed + failure confirmed. See cycle.md "Trigger entry".
TDD Cycle
Define expected behavior → natural failure → implement → pass → refactor. See cycle.md.
Test Execution
Environment detection → impact scope → execution (unit→integration→e2e) → result reporting. See run.md.
Test Design Techniques
Decide which test cases to write (boundary value, equivalence partitioning, etc.). See test-strategies.md.
Related skills
Drive development from authoritative source documentation and specifications
Stress-test high-risk changes with fresh-context skepticism before implementation or release. Use when work involves production, permissions, security contro...
Creates specs before coding. Use when starting a new project, feature, or significant change and no specification exists yet. Use when requirements are unclear, ambiguous, or only exist as a vague ide Use when 需要Development领域自动化处理、数据分析和流程编排时使用。不适用于无明确需求的模糊场景。
Orchestrate the complete coding workflow with multiple development modes (TDD/incremental/spec-dr...
一次性注入器,为目标仓库生成定制版 CLAUDE.md 记忆文件,植入 kinema 的 TDD 方法论(三阶测试体系、分层 conftest、网络/IO 边界、命名规则、覆盖率门槛、fixture 治理)。适用场景:用户想在新仓库初始化 TDD 规范、把测试标准注入/导入到另一个仓库、或在正式开发前确立测试约定...
More from es6kr
Browse all skillsClaude Code & Antigravity session management. Topics — id (lookup UUID), list (enumerate), search (keyword validate), import, summarize, analyze (stats), archive (flat bak), classify, clean-profanity (sanitize JSONL), split (boundaries), compress (MCP), context (usage measurement pull/push), destroy, dual-sync (Win/WSL memory), install (hook), memory-trim (budget trim), migrate (to worktree), move (update cwd), purge (dead sessions), rename (custom title), repair (chain/tool_result/UUID), rewind (context truncate), url (web URL). Use when: "session id", "current session", "session list", "list sessions", "session search", "find session", "session classify", "session compress", "session migrate", "session move", "session repair", "session rename", "session split", "session purge", "session rewind", "session analyze", "session import", "session summarize", "session archive", "archive session", "clean profanity", "session cleanup", "memory trim", "dual sync", "measure context", "context u