skills/tdd-integration/SKILL.md
Enforce Test-Driven Development with strict Red-Green-Refactor cycle using integration tests. Auto-triggers when implementing new features or functionality. Trigger phrases include "implement", "add feature", "build", "create functionality", or any request to add new behavior. Does NOT trigger for bug fixes, documentation, or configuration changes.
npx skillsauth add adrianbrowning/agent-skills tdd-integrationInstall 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.
Enforce strict Test-Driven Development using the Red-Green-Refactor cycle.
Every new feature MUST follow this strict 3-phase cycle. Do NOT skip phases.
🔴 Write integration test that fails
Requirements:
Deliverables:
Do NOT proceed to Green phase until test failure is confirmed.
🟢 Write minimal code to pass the test
Requirements:
Deliverables:
Do NOT proceed to Refactor phase until test passes.
🔵 Evaluate and improve code quality
Requirements:
Deliverables (either):
Cycle complete when refactor phase returns.
Complete the full cycle for EACH feature before starting the next:
Feature 1: 🔴 → 🟢 → 🔵 ✓ Feature 2: 🔴 → 🟢 → 🔵 ✓ Feature 3: 🔴 → 🟢 → 🔵 ✓
Never:
/mw-mr-mf - Make it Work/Right/Fast workflow that pairs with TDD/testing-best-practice - Testing philosophy for writing quality tests/plan-to-tasks - Convert plans to JSONL format with TDD-ready task structuredevelopment
Best practices for TypeScript types, interfaces, assertions, and type safety. Use when writing or reviewing TypeScript code.
development
--- name: testing-best-practice description: A Skill for writing, reviewing, and refactoring tests using Artem-style principles: test intent over implementation, mock boundaries not internals, avoid flakiness, prefer integration tests, and use `using` for cleanup. --- # Testing Best Practice ## Instructions When the user asks for help with tests (writing new tests, improving existing ones, or defining testing standards), follow these rules: 1. **Test intent, not implementation** - Make te
development
React Router v7 loader performance optimization techniques. Use when optimizing TTFB, eliminating waterfalls, consolidating database queries, or streaming secondary data in loaders. Triggers on "slow loaders", "optimize TTFB", "speed up React Router", "loader performance", or when loaders exceed 500ms response time.
development
Convert project plans to JSONL format (issues + dependencies). Use when users ask "convert plan to jsonl", "create jsonl from plan", "export plan as json" or "convert plan to taks", "create tasks from plan", "export plan as tasks".