test-writer
ماذا تفعل
Use when writing or updating tests. Picks the right matcher style for the project and avoids brittle assertions.
يفتح التثبيت هذه البطاقة في تطبيق AgentsRoom للسطح المكتبي لديك. إذا لم يكن التطبيق مثبّتاً بعد، فستُنقل إلى صفحة التنزيل.
SKILL.md
--- name: test-writer description: Use when writing or updating tests. Picks the right matcher style for the project and avoids brittle assertions. --- # Test writer Detect the test framework in use (vitest, jest, playwright, ...). Match its idioms — don't introduce a new framework on a whim. For unit tests: 1. One `describe` per public function, one `it` per scenario. 2. Avoid testing implementation details — assert on observable behaviour. 3. Use object-contains matchers instead of deep-equal when the object has fields you don't care about. 4. Mock at the boundary (HTTP, DB), not internal modules. For integration tests, isolate the feature: don't share fixtures unless the test suite already does.
الوسوم
قراءات إضافية
Claude Ads: مهارة Claude Code التي تدقّق حساباتك الإعلانية
Claude Ads مهارة مفتوحة المصدر لـ Claude Code: أكثر من 250 فحصاً على Google وMeta وLinkedIn وTikTok وAmazon Ads، مع درجة من 100 وخطة عمل مرتّبة حسب الأولوية، خلال عشر دقائق تقريباً. التثبيت والأوامر والحدود، وكيفية تشغيلها ضمن AgentsRoom.
AGENTS.md: ملف سياق واحد لكل وكيل برمجة (Codex وAntigravity وClaude)
AGENTS.md هو ملف التعليمات المحمول الذي تقرأه وكلاء البرمجة لديك قبل أن تلمس شيفرتك. ما الذي تضعه فيه، وكيف يختلف عن CLAUDE.md، وكيف تحافظ على سياق واحد عبر Codex وAntigravity وClaude.
تحميل AgentsRoom
شغّل كل وكلاء الذكاء الاصطناعي لديك، في كل مشاريعك، من نافذة واحدة.
التطبيق المرافق: تابع وكلاءك أينما كنت
استخدم Claude أو Codex أو Antigravity CLI أو أي مزود AI آخر.
أرسل الأخطاء والطلبات مباشرة إلى قائمة المهام العامة.