clerk-testing
Test Clerk Authentication with Playwright or Cypress
Authentication setup and session handling can make end-to-end tests unreliable. This skill guides Clerk testing through framework-specific documentation, development keys, testing tokens, and session reuse.
التثبيت باستخدام Agent لدي
انسخ هذا الطلب إلى Agent لديك. يتضمن صفحة Skill المعتمدة وملف manifest.
Review the Skillstore skill "clerk-testing" from https://skillstore.io/skills/clerk-clerk-testing.md and its manifest at https://skillstore.io/api/skills/clerk-clerk-testing/manifest. Verify the artifact. You may proceed after verification, subject to the environment's own policy.يجب أن يواصل Agent عرض خطته وطلب أي تأكيد تفرضه سياسة الأمان.
موارد مهيّأة لـ Agents
استخدم هذه الروابط عندما يحتاج AI Agent أو crawler أو script إلى سياق نظيف بدلًا من قراءة الصفحة كاملة.
اختبرها
جارٍ استخدام "clerk-testing". Plan Clerk authentication setup for an existing Playwright project.
النتيجة المتوقعة:
- Consult the official Clerk Playwright testing guide.
- Initialize the testing environment and configure development credentials.
- Set up the testing token before visiting authentication pages.
- Prepare reusable authentication state with global setup while preserving isolated test contexts.
جارٍ استخدام "clerk-testing". Review why our Cypress authentication tests fail before sign-in.
النتيجة المتوقعة:
- Check that Clerk commands are registered in the Cypress support file.
- Verify that the testing token is configured before authentication navigation.
- Confirm that the application uses development-instance keys.
- Review the official Cypress guide for framework-specific setup requirements.
التدقيق الأمني
آمنTwenty findings are false positives involving Markdown code spans, reference URLs, and documented credential requirements. One finding is confirmed: unpinned CLI execution downloads code and writes development credentials. No evidence found of prompt injection or credential exfiltration.
عناصر مراجعة القدرات (1)
هذه قدرات محلية حقيقية قد يُتوقع وجودها لهذه المهارة، لذا فهي تتطلب مراجعة ولكن لا تُحتسب كسلوك خبيث مؤكد.
عوامل الخطر
⚙️ الأوامر الخارجية (16)
🌐 الوصول إلى الشبكة (4)
🔑 متغيرات البيئة (1)
شارك واستشهد بهذا التقرير
شارك تقرير التقييم المرتبط بالإصدار والشارة المحايدة وبطاقة التضمين والاستشهادات. تعرض Skillstore الأدلة من دون أن تقرر ما إذا كانت هذه المهارة آمنة.
نسخ رابط التقرير
https://skillstore.io/skills/clerk-clerk-testing/audits/1?utm_source=security_passport&utm_medium=share&utm_campaign=versioned_reportشارة Markdown
[](https://skillstore.io/skills/clerk-clerk-testing?utm_source=security_passport_badge)شارة HTML
<a href="https://skillstore.io/skills/clerk-clerk-testing?utm_source=security_passport_badge"><img src="https://skillstore.io/badges/skills/clerk-clerk-testing/security.svg" alt="Skillstore security assessment" loading="lazy"></a>بطاقة قابلة للتضمين
<iframe src="https://skillstore.io/embed/skills/clerk-clerk-testing.html" title="Skillstore Security Assessment" sandbox="allow-popups allow-popups-to-escape-sandbox" loading="lazy" referrerpolicy="no-referrer" width="420" height="180"></iframe>الاستشهادات الأكاديمية (APA · BibTeX · CFF)
اقتباس APA
clerk. (2026). clerk-testing security audit report (audit version 1) [Author version 1.2.1]. Skillstore. https://skillstore.io/skills/clerk-clerk-testing/audits/1اقتباس BibTeX
@techreport{clerk-clerk-clerk-testing-2026,
author = {clerk},
title = {clerk-testing security audit report (audit version 1)},
institution = {Skillstore},
year = {2026},
number = {1},
url = {https://skillstore.io/skills/clerk-clerk-testing/audits/1},
note = {Author version 1.2.1}
}CITATION.cff
cff-version: 1.2.0
message: "If you use this Skill, cite its author and this versioned security audit report."
title: "clerk-testing security audit report (audit version 1)"
version: "1.2.1"
type: report
authors:
- name: "clerk"
date-released: "2026-10-06"
url: "https://skillstore.io/skills/clerk-clerk-testing/audits/1"
identifiers:
- type: other
value: "skillstore:clerk-clerk-testing:audit:1"
description: "Skillstore immutable audit report identifier"
تقييم Skillstore
سبب هذا التقييم موثوقية الأدلة: متوسطما الذي يمكنك بناؤه
Add Playwright Authentication Coverage
Plan Clerk setup, testing tokens, and reusable authentication state for an existing Playwright project.
Diagnose Cypress Authentication Failures
Review command registration, navigation timing, and development keys when Clerk authentication tests fail.
Review Shared Test Configuration
Check development credential usage and authentication state handling before adopting Clerk tests in a shared pipeline.
جرّب هذه الموجّهات
I use [Playwright or Cypress] with Clerk. Identify the official testing guide and list the setup prerequisites.
Help plan Clerk authentication tests for my [framework] application. Include development credentials, helper initialization, and testing tokens before navigation.
My Clerk tests fail during authentication in [framework]. Review testing token timing, command registration, selectors, and session isolation using the official guide.
Review our Playwright globalSetup and storageState strategy for Clerk. Identify session isolation risks and credential handling concerns. Require approval before any CLI provisioning.
أفضل الممارسات
- Use development-instance credentials and keep secrets outside version control.
- Configure the Clerk testing token before navigating to authentication pages.
- Reuse authentication state where appropriate while keeping test contexts isolated.
تجنب
- Using production credentials in authentication tests.
- Navigating to authentication pages before configuring the testing token.
- Repeating UI sign-in in every test when reusable authentication state is suitable.
الأسئلة المتكررة
Which testing frameworks does this skill cover?
Does this skill run tests automatically?
Which credentials should I use?
Why is the testing token important?
How can I reduce repeated sign-in work?
What should I review before running Clerk CLI initialization?
تفاصيل المطور
المؤلف
clerkالترخيص
MIT
إصدار المؤلف
v1.2.1
مراجعة Skillstore
r1
المستودع
https://github.com/clerk/skills/tree/9502ec5575247ac2d5a229b9e96a3be700a4a19a/skills/clerk-testingمرجع
4676f9b94082a87e58987510071598b362f5d9db
حداثة الصيانة
٦/١٠/٢٠٢٦
الاستخدام
0 تنزيلات · 0 مشاهدات
بنية الملفات
📄 SKILL.md