Skip to main content
تشغيل أي مهارة في Manus
بنقرة واحدة

tdd

النجوم٣
التفرعات٠
آخر تحديث١٧ أبريل ٢٠٢٦ في ١٣:٥٢

Test-Driven Development workflow: RED → GREEN → REFACTOR. Write a failing test first, then write minimal code to pass it, then refactor while keeping tests green. Best for business logic (UseCases, mappers, utils, repositories), not for UI code. This skill should be used when the user says "tdd", "test first", "test driven", "red green refactor", "write tests before code", or when implementing business logic that benefits from test-first approach. <example> Context: User wants to implement a use case with TDD user: "implement the login use case with TDD" assistant: "I'll use the TDD skill — starting with a failing test for the login use case." <commentary> Explicit TDD request for business logic — perfect use case. </commentary> </example> <example> Context: User wants to add a data mapper user: "create the user mapper, let's do it test-first" assistant: "I'll use the TDD workflow — RED phase first with a test for the mapper." <commentary> Test-first request for a mapper — ideal for TDD. </commentary> </ex

التثبيت

التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.

مستكشف الملفات
4 ملفات
SKILL.md
readonly