agent-qa-authoring
ما الذي تفعله
هذه المهارة تساعدك على إنشاء الاختبارات الخاصة بوكلاء الذكاء الاصطناعي وإدارتها. تتأكد من أن الاختبارات تتبع القواعد الصحيحة ويمكن تشغيلها بموثوقية.
متى تستخدمها
- ✓عند إنشاء اختبار جديد لوكيل ذكاء اصطناعي.
- ✓عند تعديل اختبار موجود.
- ✓للتحقق من كتابة الاختبار بشكل صحيح قبل تشغيله.
رابط المهارة
https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/agent-qa-authoring/SKILL.mdانسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.
طريقة الاستخدام
أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.
رسالة جاهزة للصق
لـ Claude Code أو Codex أو Cursor: شغّله داخل مجلد مشروعك وستُثبَّت المهارة.
نزّل ملف SKILL.md وضعه في مجلد مهارات وكيلك.
مثال على ما تطلبه من الذكاء الاصطناعي
“أنشئ اختبارًا للتحقق من أن وكيل الذكاء الاصطناعي يرد بشكل صحيح على التحية «مرحبًا».”
5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.
كيف تعمل
تستخدم المهارة مجموعة من القواعد والمراجع لضمان إنشاء الاختبارات بشكل صحيح. وتتحقق من وجود كل الحقول اللازمة، ومن أن المعرّفات فريدة، قبل الحفظ أو التشغيل.
المحتوى التقني (ملف SKILL.md الأصلي)
النص الأصلي من المؤلف، مباشرة من GitHub.
Agent QA Authoring
Overview
Author Agent QA tests, suites, and hooks without inventing schema fields or identifiers. Prefer Agent QA's MCP tools, use the bundled contract reference for exact fields, and validate every definition before saving or running it.
When to Use
- Creating or editing an Agent QA test, suite, or hook.
- Validating Agent QA YAML or canonical IDs.
- Running a newly authored Agent QA definition through MCP or CLI.
- Investigating which Agent QA configuration fields or workspace patterns apply.
Preconditions and Approval Boundary
- Work only in a configured Agent QA workspace that the user has authorized.
- Inspect the requested scope before any create, update, delete, or test-run operation.
- Obtain explicit confirmation before deleting a definition or running a test that can change external application state.
- Keep credentials out of definitions and output; use the workspace's configured secret handling.
Workflow
- Discover the local surface with
agent_qa_discover. - Inspect active config with
agent_qa_get_config, especially targets, devices, providers, andservices.mcp. - Load
references/agent-qa-contracts.jsonwhen exact schema fields or ID contracts are needed. - Generate every new ID with Agent QA tooling:
- MCP:
agent_qa_generate_id - CLI fallback:
agent-qa ids generate <test|suite|hook|run|observation> - If neither surface is already installed, stop and ask the user to approve
an exact Agent QA installation. Do not fetch and execute the package at
runtime through
npxor another moving package reference.
- MCP:
- Never hand-write IDs. Validate existing IDs with
agent_qa_validate_idoragent-qa ids validate <type> <id> --json. - Validate definitions before saving:
- Tests:
agent_qa_validate_testoragent_qa_validate_definitionwithkind: "test" - Suites:
agent_qa_validate_suiteoragent_qa_validate_definitionwithkind: "suite" - Hooks:
agent_qa_validate_definitionwithkind: "hooks"
- Tests:
- Prefer MCP authoring mutations:
- Tests:
agent_qa_create_test,agent_qa_update_test,agent_qa_delete_test - Suites:
agent_qa_create_suite,agent_qa_update_suite,agent_qa_delete_suite - Hooks:
agent_qa_create_hook,agent_qa_update_hook,agent_qa_delete_hook
- Tests:
- Use CLI or YAML fallback only when MCP is unavailable. Keep file paths matched by
workspace.testMatchorworkspace.suiteMatch.
Required ID Contracts
- Test IDs:
t_plus 10 id-agent words. - Suite IDs:
s_plus 10 id-agent words. - Hook IDs:
h_plus 10 id-agent words. - Run IDs:
r_plus 10 id-agent words. - Observation IDs:
obs_plus 10 id-agent words.
Before Running
- Validate YAML first.
- Prefer
agent_qa_enqueue_test_runandagent_qa_enqueue_suite_runover shelling out. - If using the CLI fallback, run only after validation succeeds.
- Reconfirm the target and environment when a test may mutate real data or trigger external actions.
Example
User: Add an Agent QA checkout test for the staging target and validate it, but do not run it yet.
Expected handling: discover the workspace, inspect the staging target, generate the test ID,
create the smallest valid definition, validate it, and stop before enqueueing a run.
Limitations
- Requires an installed and configured Agent QA workspace plus any browser, mobile, model-provider, or application dependencies used by the selected target.
- Does not infer undocumented config keys, selectors, UI states, credentials, or test data.
- MCP availability and permissions vary by workspace; state which CLI or YAML fallback was used.
- Validation proves schema compatibility, not that the application behavior or external environment is safe to exercise.
Do Not
- Do not invent config keys or use legacy root config buckets.
- Do not hand-write IDs.
- Do not mutate files outside configured workspace patterns.
- Do not run destructive or production-facing scenarios without the user's explicit scope and confirmation.
الأسئلة الشائعة
ما هي «اختبارات وأجنحة واختبارات الخطافات» في QA الوكلاء؟
هي أنواع مختلفة من الفحوصات التي يمكنك إنشاؤها للتأكد من أن الوكيل يعمل كما هو متوقع. الاختبارات تفحص وظائف محددة، والأجنحة تجمع عدة اختبارات معًا، والخطافات هي إجراءات تحدث قبل الاختبار أو بعده.
لماذا لا يجب كتابة المعرّفات يدويًا؟
كتابة المعرّفات يدويًا قد تؤدي إلى أخطاء وتعارضات. لذلك تُنشئ المهارة معرّفات فريدة وصحيحة تلقائيًا لتجنب هذه المشكلات.
ماذا يحدث إذا حاولت تشغيل اختبار قد يغيّر بيانات حقيقية؟
ستطلب المهارة تأكيدك الصريح قبل تشغيل أي اختبار قد يعدّل البيانات الحقيقية أو يؤثر في أنظمة خارجية، لتكون على علم بالأمر وتوافق عليه.
التفاصيل
الوصف الأصلي من المؤلف
Create, edit, validate, and run Agent QA tests, suites, and hooks through MCP or CLI while preserving canonical IDs and schema contracts.
الشعبية
- نجوم GitHub
- 48k
- الترتيب
- #3669
- الترخيص
- MIT
- آخر تحديث
- 15/10/2026
التعليقات
- …
المزيد من المهارات من هذا المستودع
00-andruia-consultant
48kيساعد وكيلك على بدء مشاريع الذكاء الاصطناعي أو تحسينها. يحلل الكود ويقترح الأدوات ويُعد خطط عمل بالإسبانية.
007
48kيتيح لوكيلك إجراء تدقيقات أمنية ونمذجة التهديدات. مفيد لحماية المشاريع من الهجمات والثغرات الأمنية.
10-andruia-skill-smith
48kيساعد وكيلك على إنشاء أدوات الذكاء الاصطناعي أو تحسينها. يحدد طريقة عملها، ويكتب توثيقها، ويتحقق من بنيتها.
20-andruia-niche-intelligence
48kيتيح لوكيلك إعداد ملخص عن صناعة محددة. مفيد لفهم السياق والقواعد وأنماط الاستخدام والمخاطر لمشروع ما، باستخدام مصادر موثوقة.
مهارات مشابهة
add-model-provider
394kتتيح لوكيلك ربط مزوّد نموذج ذكاء اصطناعي جديد بـ OpenClaw باستخدام أوامر إعداد آمنة، وإبقاء مفاتيح API خارج النص العادي، وإجراء اختبار حي.
acp-router
394kيساعد وكيلك على إرسال مهمة إلى مساعد برمجة مثل Claude Code أو Cursor عبر OpenClaw، فيعمل العمل داخل تلك الأداة.
browser-automation
394kتعلّم وكيلك التحكم في صفحات الويب خطوة بخطوة، بما في ذلك تسجيل الدخول والتبويبات والتعافي عندما تتوقف الصفحة عن الاستجابة.