Test-Driven Development workflow following Kent Beck's methodology. Auto-loads when user asks about "tdd", "test driven", "red green refactor", "write tests first".
From mindcontext-corenpx claudepluginhub tmsjngx0/mindcontext-core --plugin mindcontext-coreThis skill uses the workspace's default tool permissions.
Guides Next.js Cache Components and Partial Prerendering (PPR) with cacheComponents enabled. Implements 'use cache', cacheLife(), cacheTag(), revalidateTag(), static/dynamic optimization, and cache debugging.
Migrates code, prompts, and API calls from Claude Sonnet 4.0/4.5 or Opus 4.1 to Opus 4.5, updating model strings on Anthropic, AWS, GCP, Azure platforms.
Generates FastAPI project templates with async routes, dependency injection, Pydantic schemas, repository patterns, middleware, and config for PostgreSQL/MongoDB backends.
NotImplementedError, NO pass, NO stubs, NO TODO.Show the scenario list and explain your pick before writing.
| Phase | Action | Verify |
|---|---|---|
| RED | One failing test, concrete assertion | Exit code ≠ 0, fails for the right reason |
| GREEN | Simplest possible code (fake it if needed) | Exit code = 0, all tests pass |
| REFACTOR | Clean up, no behavior change | Exit code = 0, tests stay green |
Stop after RED. Do not implement. Wait for user to confirm RED.
After GREEN, pick the next scenario. Repeat.
Separate structural from behavioral changes:
Each cycle gets separate commits:
test(<scope>): add failing test for <feature> # RED
feat(<scope>): implement <feature> to pass tests # GREEN
refactor(<scope>): clean up <feature> # REFACTOR (optional)