概要
The Writing Tests skill equips Claude with a robust framework for creating test suites that prioritize real-world behavior over implementation details. By following the Testing Trophy model, this skill emphasizes integration tests that use real dependencies, ensuring that your tests provide maximum confidence and remain resilient during code refactors. It guides the AI in choosing the correct test type—E2E, integration, or unit—while providing strict mocking guidelines and assertion strategies that focus on user-observable outcomes rather than fragile internal states.