«playwright-generate-test» مهارة جاهز في مجال الاختبار والجودة لـ Claude Code، Codex، Cursor. نزّل الملف أو استخدم «إنشاء نسخة مخصصة» لإضافة تفاصيل مشروعك ليعمل الذكاء الاصطناعي لمشروعك تمامًا.
لا يقرأ الوكيل هذا الملف إلا عند ظهور مهمة ذات صلة؛ لذا فإبقاؤه في المشروع لا يكلّف شيئًا.
Your goal is to generate a Playwright test based on the provided scenario after completing all prescribed steps.
Specific Instructions
You are given a scenario, and you need to generate a playwright test for it. If the user does not provide a scenario, you will ask them to provide one.
DO NOT generate test code prematurely or based solely on the scenario without completing all prescribed steps.
DO run steps one by one using the tools provided by the Playwright MCP.
Only after all steps are completed, emit a Playwright TypeScript test that uses @playwright/test based on message history
Save generated test file in the tests directory
Execute the test file and iterate until the test passes
إنشاء نسخة مخصصة لمشروعك
اكتب تفاصيل مشروعك؛ إلى نهاية مهارة وتحصل على ملف يُسلَّم إلى الذكاء الاصطناعي دون شرح إضافي. كل شيء يُنشأ في متصفحك ولا تُرسل أي بيانات إلى الخادم.
معاينة الملف النهائي
أين أضع الملف؟
Claude Code.claude/skills/playwright-generate-test/SKILL.md
مشاريع الفرق: أودِع الملف في المستودع ليتبع كل وكلاء الفريق القواعد نفسها. مع إنشاء حزمة احصل على عدة مهارات معًا بالهيكل الصحيح.
الأسئلة الشائعة
مهارة «playwright-generate-test» — أين أضعها؟
لـ Claude Code في .claude/skills/playwright-generate-test/SKILL.md، ولـ Codex في .agents/skills، ولـ Copilot في .github/skills، ولـ Cursor في .cursor/skills أو .cursor/rules. استخدم زر «إنشاء حزمة» للحصول على ملف zip بالهيكل الصحيح.
هل يمكنني تعديلها لمشروعي؟
بله. مجوز MIT يسمح بالتعديل والاستخدام التجاري. مع «إنشاء نسخة مخصصة» تُضاف تفاصيل مشروعك إلى الملف، ويمكنك تعديل النص بعد ذلك.
هذه المهارة مع أي الأدوات تعمل؟
با Claude Code، Codex، Cursor، Gemini CLI. تقرأ جميع وكلاء البرمجة الحديثين مهارات Agent Skills القياسية.
Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing browser screenshots, and viewing browser logs.
Capture screenshots of web apps during development using Playwright and PIL. Supports full-page captures, interactive states, and an iterate-on-crop workflow that avoids slow re-screenshots.
Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing browser screenshots, and viewing browser logs.
Run a read-only audit for missing, weak, stale, or mis-scoped test coverage. If the user does not name a scope, audit the full repository and identify important code paths, routes,…